Skip to main content

List Automations

Retrieve a paginated list of the automations in your organization. An automation is a trigger and the steps a contact goes through after it.

Automations can be created and edited here or in the Arsel Dashboard. List items carry no steps; use Get Automation for those.

Endpoint​

GET /automations

Returns: 200 OK

Headers​

HeaderValueRequired
AuthorizationBearer <your-api-key>Yes

Query Parameters​

ParameterTypeDefaultDescription
limitnumber20Items per page (min: 1, max: 100)
afterstring—Cursor — return items after this id (exclusive).
beforestring—Cursor — return items before this id (exclusive).
statusstring—Only automations in this status: draft, enabled or disabled

Send after or before, not both. Results are returned newest first. See Pagination for cursor details.

Response​

{
"object": "list",
"has_more": false,
"data": [
{
"id": "01957e3a-4b5c-7d8e-9f0a-1b2c3d4e5f6b",
"name": "Abandoned cart",
"status": "enabled",
"created_at": "2026-03-08T12:30:00.000Z",
"updated_at": "2026-03-08T13:00:00.000Z"
},
{
"id": "01957e3a-4b5c-7d8e-9f0a-1b2c3d4e5f6a",
"name": "Welcome series",
"status": "draft",
"created_at": "2026-03-08T12:00:00.000Z",
"updated_at": "2026-03-08T12:00:00.000Z"
}
]
}

Automation fields​

FieldTypeDescription
idstringThe automation ID
namestringThe automation name
statusstringdraft, enabled or disabled. See Status.
created_atstringWhen the automation was created (ISO 8601)
updated_atstringWhen the automation was last changed (ISO 8601)
stepsarrayThe latest steps, trigger included. Not in list items. See Automation Steps.
connectionsarrayWhich step follows which. Not in list items.
issuesarrayWhat must be fixed before the automation can be enabled. Empty when it is ready. Not in list items.

Each entry in issues:

FieldTypeDescription
step_keystring | nullThe step it concerns. null for the automation as a whole.
pathstringWhere in the step's config, such as template_id or filter.conditions.0.target_id. Empty when it concerns the whole step or automation.
messagestringWhat to fix

Status​

statusMeaning
draftNever enabled. Lets no contacts in.
enabledLets in every contact who matches the trigger.
disabledWas enabled, and has been disabled. Lets no new contacts in; contacts already in it finish.

Once enabled, an automation never returns to draft. Change the status with Update Automation.

steps are always the latest ones. They can differ from what an enabled automation is running: steps saved in the dashboard while it is enabled wait to be published until it is enabled again. Sending status: "enabled" for an automation that already is publishes them.


Examples​

curl "https://api.arsel.sa/v1/automations?status=enabled&limit=20" \
-H "Authorization: Bearer $ARSEL_API_KEY"

Error Responses​

{
"status_code": 403,
"name": "forbidden",
"message": "Automations are not available for this organization"
}