> ## Documentation Index
> Fetch the complete documentation index at: https://docs-dev-docs-event-stream-action-templates.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

> Learn how to configure your HTTP Request flow actions to send custom requests to external APIs or services.

# HTTP Request

## Configure your HTTP Vault Connection

Learn how to configure a Vault Connection for your HTTP Request Flow Actions at [HTTP Vault Connection](/docs/customize/forms/vaults/http).

## HTTP Request

The HTTP request action lets you call an external API or service, and process the response.

<Frame>
  <img src="https://mintcdn.com/docs-dev-docs-event-stream-action-templates/wYcZudKzAy7DVE3d/docs/images/cdy7uua7fh8z/6eIOv07XenyaazzKixigei/2e9efd632137829a8ddb03aacd3197df/http-request-action.png?fit=max&auto=format&n=wYcZudKzAy7DVE3d&q=85&s=bb5f118b26f212ef11d6c08e4c05623e" alt="" width="812" height="511" data-path="docs/images/cdy7uua7fh8z/6eIOv07XenyaazzKixigei/2e9efd632137829a8ddb03aacd3197df/http-request-action.png" />
</Frame>

### Input settings

| Parameter         | Description                                                                                                                                                          |
| ----------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Method            | The HTTP method. Available values include: <ul> <li>`GET`</li> <li>`POST`</li> <li>`PUT`</li> <li>`PATCH`</li> <li>`DELETE`</li> </ul>                               |
| Content type      | The `Content-Type` header. Available values include: <ul> <li>`application/json`</li> <li>`application/x-www-form-urlenconded`</li> <li>`application/xml`</li> </ul> |
| Body              | The body of the request.                                                                                                                                             |
| Headers           | The headers of the request.                                                                                                                                          |
| URL params        | The URL parameters. These parameters will be automatically URL-encoded.                                                                                              |
| Enable Basic Auth | Enables authentication with username and password.                                                                                                                   |

### Output object

| Property  | Type    | Description                                                      |
| --------- | ------- | ---------------------------------------------------------------- |
| `headers` | Object  | The headers of the response.                                     |
| `body`    | Object  | The body of the response.                                        |
| `status`  | Number  | The status code of the response.                                 |
| `success` | Boolean | Returns `true` or `false` based on the `status` of the response. |

### Output object example

```json lines theme={null}
{
  "headers": {
    ...
  },
  "status": 200,
  "body": {
    ...
  },
  "success": true
}
```
