automations list

GET {{baseUrl}}/automations

Returns a list of Automation objects.

Request Params

KeyDatatypeRequiredDescription
created_afterstringIf provided, will only return objects created after this datetime.
created_beforestringIf provided, will only return objects created before this datetime.
cursorstringThe pagination cursor value.
include_deleted_databooleanWhether to include data that was marked as deleted by third party webhooks.
include_remote_databooleanWhether to include the original data Merge fetched from the third-party to produce these models.
modified_afterstringIf provided, will only return objects modified after this datetime.
modified_beforestringIf provided, will only return objects modified before this datetime.
page_sizenumberNumber of results to return per page.
remote_idstringThe API provider's ID for the given object.

HEADERS

KeyDatatypeRequiredDescription
X-Account-Tokenstring(Required) Token identifying the end user.
Acceptstring

RESPONSES

status: OK

{"next":"cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw","previous":"cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ","results":[{"actions":["52ce940b-ecfe-43a6-955f-629f799f7f73"],"name":"Welcome Email","trigger_type":"RECURRENCE","start_date":"2022-12-23T00:00:00Z","end_date":"2022-12-23T00:00:00Z","description":"This sends a welcome email to new customers.","status":"Published","automation_trigger":{"recurrence_schedule":{"days":["Sunday"],"hours":{"type":"send_asap"}},"trigger_settings":{"trigger_event":"NEW_CUSTOMER"}},"id":"e7e11dc0-b31a-2fb6-9dc2-6c5e972d10f3","remote_id":"12"},{"actions":["52ce940b-ecfe-43a6-955f-629f799f7f73"],"name":"Welcome Email","trigger_type":"RECURRENCE","start_date":"2022-12-23T00:00:00Z","end_date":"2022-12-23T00:00:00Z","description":"This sends a welcome email to new customers.","status":"Published","automation_trigger":{"recurrence_schedule":{"days":["Sunday"],"hours":{"type":"send_asap"}},"trigger_settings":{"trigger_event":"NEW_CUSTOMER"}},"id":"urn:uuid:d5e55fa4-58cb-944b-1da2-ec767411e8ef","remote_id":"12"}]}