This action let you call an http endpoint with optional JSON content. This can be useful when you need to call an API or a web page on incoming emails. In real life you can set a group of actions with this action to call an API if a specific email is coming, it could be an alert for example.

Action to call api settings

Here the possible settings:

- URL: Enter the web address to call. You can use the fields link to add fields in the url like email subject, addresses, and much more.

- Do you need to add header value: You can add a key and a value in the http header call, generally it is used for authentication. You can add only 1 key and 1 value. 

- You can post JSON value: If you want to transfer some data, just add it here in JSON format, like in the UL you have access to the full list of email fields like subject, attachments name, addresses,…

This action supports the generic Fail Action, which let you do another action if this one fails, we suggest you to read more on the ‘Fail Action’ here ».