# REST
URL: https://docs.awellhealth.com/docs/marketplace/rest

> For the complete documentation index, see [llms.txt](https://docs.awellhealth.com/llms.txt).



<img src="/marketplace/rest.webp" width="48" height="48" />

A utility extension with more advanced options to make REST API calls

Category: Data. Adds 1 action to a care flow.

## Actions [#actions]

REST adds this action to a care flow. Add one to a step, then fill in its inputs.

### POST request [#post-request]

Make a POST request

This action can be previewed in Studio before you publish.

| Input              | Type     | Required | Description                                                                  |
| ------------------ | -------- | -------- | ---------------------------------------------------------------------------- |
| Endpoint           | `string` | Yes      | —                                                                            |
| Headers            | `json`   | No       | —                                                                            |
| JSON payload       | `json`   | Yes      | —                                                                            |
| Additional payload | `json`   | No       | The JSON payload and additional payload will be merged into a single payload |

Returns:

| Data point   | Type     |
| ------------ | -------- |
| `response`   | `json`   |
| `statusCode` | `number` |

Makes a POST request using fetch to the provided endpoint.

## Setup and notes [#setup-and-notes]

This is a utility extension with more advanced options to make REST API calls.

## Where this page comes from [#where-this-page-comes-from]

The settings, actions, inputs, outputs and webhooks above are generated from the
extension's own code, at `@awell-health/awell-extensions` v2.1.159. They match what the
platform actually does rather than a description of it.

Field-level detail also appears in Awell Studio when you configure the action.
Something wrong or missing? Email [support@awellhealth.com](mailto:support@awellhealth.com).
