# Make API Request

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

<figure><img src="https://2980396867-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fkm2shtnhVydyNEDdxbX1%2Fuploads%2FnJt1T2st0IenyeZnkMVm%2FCleanShot%202024-10-15%20at%2015.57.32%402x.png?alt=media&#x26;token=2d80b36e-2974-4a45-a652-da625e4690ec" alt=""><figcaption><p>An example Make API Request action</p></figcaption></figure>

API requests can have the following fields:

* URL\
  \&#xNAN;*The API endpoint (supports* [action-variables](https://dreetje-1.gitbook.io/inbox-ai/actions/action-variables "mention")*)*
* Method\
  \&#xNAN;*GET, POST, PUT, or DELETE*
* Next Action\
  \&#xNAN;*The action to call after this request. See* [next-action-field](https://dreetje-1.gitbook.io/inbox-ai/actions/next-action-field "mention")*.*
* Headers\
  \&#xNAN;*A  set of key/value pairs for headers. Both support* [action-variables](https://dreetje-1.gitbook.io/inbox-ai/actions/action-variables "mention")*.*
* Payload\
  \&#xNAN;*The body of the API request. Supports* [action-variables](https://dreetje-1.gitbook.io/inbox-ai/actions/action-variables "mention") *and notably a good target for* [templating](https://dreetje-1.gitbook.io/inbox-ai/templating "mention").

{% hint style="info" %}
Often you can use either [templating](https://dreetje-1.gitbook.io/inbox-ai/templating "mention") to format the right payload for your API request or use an [ask-ai](https://dreetje-1.gitbook.io/inbox-ai/actions/custom-actions/ask-ai "mention") action to format the right payload. Pick the best fit for you.
{% endhint %}
