> For the complete documentation index, see [llms.txt](https://dreetje-1.gitbook.io/inbox-ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://dreetje-1.gitbook.io/inbox-ai/actions/custom-actions/make-api-request.md).

# Make API Request

API request actions allow you to build powerful API integrations with external services that offer APIs.

<figure><img src="/files/mGBH3vpf6yO5snhlqtO6" alt=""><figcaption><p>An example Make API Request action</p></figcaption></figure>

API requests can have the following fields:

* URL\
  *The API endpoint (supports* [Action Variables](/inbox-ai/actions/action-variables.md)*)*
* Method\
  *GET, POST, PUT, or DELETE*
* Next Action\
  *The action to call after this request. See* [Next Action Field](/inbox-ai/actions/next-action-field.md)*.*
* Headers\
  *A  set of key/value pairs for headers. Both support* [Action Variables](/inbox-ai/actions/action-variables.md)*.*
* Payload\
  *The body of the API request. Supports* [Action Variables](/inbox-ai/actions/action-variables.md) *and notably a good target for* [Templating](/inbox-ai/templating.md).

{% hint style="info" %}
Often you can use either [Templating](/inbox-ai/templating.md) to format the right payload for your API request or use an [Ask AI](/inbox-ai/actions/custom-actions/ask-ai.md) action to format the right payload. Pick the best fit for you.
{% endhint %}
