Action References
ApiCallAction
ApiCallAction
Purpose Makes an HTTP request to an external or internal endpoint. Used for webhooks, REST integrations, or third-party APIs.
M2M Token Support
When making HTTP requests, ApiCallAction automatically generates and includes an M2M (Machine-to-Machine) token in the request headers. The token includes a hash of the request payload to prevent token reuse and expires after 15 minutes. This enables secure inter-service communication without requiring user session tokens.
When to use it
afterMainOperation(any CRUD type)afterBuildOutput(for outgoing notifications)
Key fields
| Field | Type | Description |
|---|---|---|
apiCallRequest | HTTPRequest | Defines method, URL, headers, query params, and body. |
isArray | Boolean | True if expecting an array response. |
apiFetchProperty | String | Extract specific property from JSON response. |
contextPropertyName | String | Where to store the response. |
Example
{
"id": "a150-post-slack",
"name": "postSlackMessage",
"apiCallRequest": {
"method": "POST",
"url": "https://hooks.slack.com/services/TOKEN",
"body": "{ text: `New order ${this.orderId}` }",
"headers": { "Content-Type": "application/json" }
},
"contextPropertyName": "slackResponse"
}
Was this page helpful?
Built with Documentation.AI
Last updated Jan 3, 2026