The Automate Simple API lets you manage flows and trigger them programmatically from your own applications. All endpoints follow REST conventions and return JSON.
There are two types of interaction:
All API requests are made to:
https://automate-it-simple.com
Management endpoints require your API key passed as a Bearer token in the Authorization header.
Authorization: Bearer YOUR_API_KEY
Your API key is available from your Dashboard under Account Settings.
All errors return a JSON object with an error field describing what went wrong.
{
"error": "Flow not found."
}
| Status | Meaning |
|---|---|
| 200 | Success |
| 400 | Bad request — missing or invalid parameter |
| 401 | Unauthorized — missing or invalid API key |
| 402 | Payment required — insufficient request balance |
| 404 | Not found — flow or resource does not exist |
| 405 | Method not allowed — wrong HTTP method used |
There are currently no hard rate limits on the API. Each flow execution deducts 1 request from your balance — running out of balance is the natural throttle. Please avoid polling endpoints at high frequency.
Every flow has a unique webhook URL generated at creation. You can find it in the flow editor or on the My Flows page.
Webhook URLs look like this:
https://automate-it-simple.com/webhook.php?token=a3f8c2e1d4b7...
Point any external service at this URL and Automate Simple will execute the flow when a request arrives. Supports both application/json and application/x-www-form-urlencoded bodies.
/webhook.php?token=YOUR_TOKEN
Triggers a flow execution. The request body is passed through as the flow payload.
| Parameter | Type | Description |
|---|---|---|
| tokenrequired | string | The flow's unique webhook token (from the flow editor) |
Any JSON or form-encoded payload. The full body is returned in the response and available for flow processing.
# JSON body
curl -X POST "https://automate-it-simple.com/webhook.php?token=YOUR_TOKEN" \
-H "Content-Type: application/json" \
-d '{"order_id": 1042, "customer": "Jane Doe", "total": 89.50}'
# Form encoded
curl -X POST "https://automate-it-simple.com/webhook.php?token=YOUR_TOKEN" \
-d "order_id=1042&customer=Jane+Doe&total=89.50"
{
"status": "ok",
"flow": "New Shopify order → Slack message",
"trigger": "Shopify › New order",
"action": "Slack › Send channel message",
"payload": {
"order_id": 1042,
"customer": "Jane Doe",
"total": 89.50
},
"timestamp": "2026-03-18T15:00:00+00:00"
}
Returned when the flow is paused. No request is deducted.
{
"status": "skipped",
"reason": "Flow is paused."
}
| HTTP | Error | Cause |
|---|---|---|
| 400 | Missing token. | No token param in the URL |
| 404 | Webhook not found. | Token does not match any flow |
| 402 | Insufficient requests. | Account balance is zero |
| 405 | Method not allowed. Use POST. | Request was not a POST |
/api/flows.php
Returns all flows belonging to the authenticated user.
curl -X GET "https://automate-it-simple.com/api/flows.php" \
-H "Authorization: Bearer YOUR_API_KEY"
{
"flows": [
{
"id": 1,
"name": "New Shopify order → Slack message",
"trigger_svc": "Shopify",
"trigger_evt": "New order",
"action_svc": "Slack",
"action_evt": "Send channel message",
"status": "active",
"runs": 42,
"webhook_url": "https://automate-it-simple.com/webhook.php?token=a3f8c2e1...",
"created_at": "2026-03-01 10:22:00"
}
]
}
/api/flows.php?id=FLOW_ID
Returns a single flow by ID.
| Parameter | Type | Description |
|---|---|---|
| idrequired | integer | Flow ID |
curl -X GET "https://automate-it-simple.com/api/flows.php?id=1" \
-H "Authorization: Bearer YOUR_API_KEY"
/api/flows.php
Creates a new flow. A webhook URL is generated automatically.
| Parameter | Type | Description |
|---|---|---|
| namerequired | string | Display name for the flow |
| trigger_svcrequired | string | Trigger service name (e.g. Shopify) |
| trigger_evtrequired | string | Trigger event (e.g. New order) |
| action_svcrequired | string | Action service name (e.g. Slack) |
| action_evtrequired | string | Action event (e.g. Send channel message) |
curl -X POST "https://automate-it-simple.com/api/flows.php" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"name": "New Shopify order → Slack message",
"trigger_svc": "Shopify",
"trigger_evt": "New order",
"action_svc": "Slack",
"action_evt": "Send channel message"
}'
{
"success": true,
"flow": {
"id": 3,
"name": "New Shopify order → Slack message",
"status": "active",
"webhook_url": "https://automate-it-simple.com/webhook.php?token=b9d2e4f1...",
"created_at": "2026-03-18 14:00:00"
}
}
/api/flows.php?id=FLOW_ID
Updates one or more fields on an existing flow. Only include the fields you want to change.
| Parameter | Type | Description |
|---|---|---|
| nameoptional | string | New display name |
| trigger_svcoptional | string | New trigger service |
| trigger_evtoptional | string | New trigger event |
| action_svcoptional | string | New action service |
| action_evtoptional | string | New action event |
curl -X PUT "https://automate-it-simple.com/api/flows.php?id=3" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"name": "Order alert → Teams"}'
/api/flows.php?id=FLOW_ID&action=toggle
Toggles a flow between active and paused. Paused flows do not execute and do not consume requests.
curl -X POST "https://automate-it-simple.com/api/flows.php?id=3&action=toggle" \
-H "Authorization: Bearer YOUR_API_KEY"
{
"success": true,
"id": 3,
"status": "paused"
}
/api/flows.php?id=FLOW_ID
Permanently deletes a flow. This cannot be undone.
curl -X DELETE "https://automate-it-simple.com/api/flows.php?id=3" \
-H "Authorization: Bearer YOUR_API_KEY"
{
"success": true,
"deleted": 3
}
/api/account.php
Returns the authenticated user's current request balance and account info.
curl -X GET "https://automate-it-simple.com/api/account.php" \
-H "Authorization: Bearer YOUR_API_KEY"
{
"name": "Jane Doe",
"email": "[email protected]",
"requests": 850,
"flows_total": 4,
"flows_active": 3
}
/api/account.php?transactions=1
Returns the last 30 billing transactions for the authenticated account.
curl -X GET "https://automate-it-simple.com/api/account.php?transactions=1" \
-H "Authorization: Bearer YOUR_API_KEY"
{
"transactions": [
{
"id": 18,
"type": "topup",
"amount": 500,
"note": "Stripe top-up",
"created_at": "2026-03-18 14:05:22"
},
{
"id": 17,
"type": "charge",
"amount": -1,
"note": "Webhook trigger — flow: New Shopify order → Slack",
"created_at": "2026-03-18 13:44:10"
}
]
}
/api/flows.php and /api/account.php endpoints shown above require the API backend to be implemented on your server. The webhook endpoint (/webhook.php) is fully functional out of the box.