Skip to main content

Making API Calls

Once you have an endpoint and API key, you can trigger automations from anywhere.

Basic Request

Request Format

Headers

Body

JSON object with your parameters:

Response Modes

Asynchronous (Default)

Request returns immediately:
Then poll for status:

Synchronous

Add ?wait=true to wait for completion:
Response:
Synchronous calls have a timeout (default 5 minutes). For long automations, use async.

Status Values

Error Handling

HTTP Errors

Execution Errors

Code Examples

Polling for Status

For async calls, poll until completion:

Webhooks

For event-driven workflows, you can set up a webhook to be called when execution completes. (Coming soon)

Next Steps

API Reference

Full API documentation

TypeScript SDK

Use our official SDK