automations retrieve

GET {{baseUrl}}/automations/:id

Returns an Automation object with the given id.

Request Params

KeyDatatypeRequiredDescription
include_remote_databooleanWhether to include the original data Merge fetched from the third-party to produce these models.

HEADERS

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

RESPONSES

status: OK

{"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":"4e9c2171-f411-c5ef-be3b-cf85be65ae5b","remote_id":"12"}