Skip to content
API reference

Automations

Automation runs.

GET/automations

List automations

Needs the permission automation:read.

curl -X GET https://crm.anibrosdesign.com/api/v1/automations \
  -H "Authorization: Bearer crm_live_xxxxxxxx"

Responses: 200 401 403 429

GET/automations/executions

Get executions (automations)

Needs the permission automation:read.

ParameterInTypeNotes
limitqueryintegerat least 1. up to 200. default 50
cursorquerystringup to 512 characters
statusqueryone of pending, running, completed, failed, skipped
leadIdquerystring (uuid)
curl -X GET https://crm.anibrosdesign.com/api/v1/automations/executions \
  -H "Authorization: Bearer crm_live_xxxxxxxx"

Responses: 200 400 401 403 429

GET/automations/executions/{id}

Get executions (automation)

Needs the permission automation:read.

ParameterInTypeNotes
id requiredpathstring (uuid)
curl -X GET https://crm.anibrosdesign.com/api/v1/automations/executions/{id} \
  -H "Authorization: Bearer crm_live_xxxxxxxx"

Responses: 200 400 401 403 404 429

POST/automations/executions/{id}/retry

Retry (automations)

Needs the permission automation:manage.

ParameterInTypeNotes
id requiredpathstring (uuid)
curl -X POST https://crm.anibrosdesign.com/api/v1/automations/executions/{id}/retry \
  -H "Authorization: Bearer crm_live_xxxxxxxx"

Responses: 202 400 401 402 403 404 429

POST/automations/{template}/enable

Enable (automations)

Needs the permission automation:manage.

ParameterInTypeNotes
template requiredpathstringup to 80 characters
curl -X POST https://crm.anibrosdesign.com/api/v1/automations/{template}/enable \
  -H "Authorization: Bearer crm_live_xxxxxxxx"

Responses: 200 400 401 402 403 404 429

POST/automations/{template}/pause

Pause (automations)

Needs the permission automation:manage.

ParameterInTypeNotes
template requiredpathstringup to 80 characters
curl -X POST https://crm.anibrosdesign.com/api/v1/automations/{template}/pause \
  -H "Authorization: Bearer crm_live_xxxxxxxx"

Responses: 200 400 401 402 403 404 429

Something missing or unclear? Tell us.

Chat on WhatsApp