curl --request GET \
--url https://api.embedreach.com/api/automations/{id}
{
"success": true,
"message": "<string>",
"data": {
"id": "<string>",
"name": "<string>",
"description": "<string>",
"createdAt": "<string>",
"updatedAt": "<string>",
"triggerMetadata": {
"triggerType": "one_time",
"scheduledAt": "<string>",
"timezone": "<string>"
},
"triggerType": "one_time",
"actionData": [
{
"actionType": "send_communication",
"actionMetadata": {
"currentActionId": "<string>",
"nextActionId": "<string>",
"actionType": "send_communication",
"communicationGroupId": "<string>"
}
}
],
"businessId": "<string>",
"status": "draft",
"automationType": "managed",
"includeSegmentIds": [
"<string>"
],
"excludeSegmentIds": [
"<string>"
],
"derivedRevenue": 123,
"derivedOrders": 123,
"extraMergeFieldsInUse": [
{
"id": "<string>",
"type": "static",
"templateName": "<string>",
"displayName": "<string>",
"staticValue": "<string>"
}
]
}
}
Get a tenant automation by id
curl --request GET \
--url https://api.embedreach.com/api/automations/{id}
{
"success": true,
"message": "<string>",
"data": {
"id": "<string>",
"name": "<string>",
"description": "<string>",
"createdAt": "<string>",
"updatedAt": "<string>",
"triggerMetadata": {
"triggerType": "one_time",
"scheduledAt": "<string>",
"timezone": "<string>"
},
"triggerType": "one_time",
"actionData": [
{
"actionType": "send_communication",
"actionMetadata": {
"currentActionId": "<string>",
"nextActionId": "<string>",
"actionType": "send_communication",
"communicationGroupId": "<string>"
}
}
],
"businessId": "<string>",
"status": "draft",
"automationType": "managed",
"includeSegmentIds": [
"<string>"
],
"excludeSegmentIds": [
"<string>"
],
"derivedRevenue": 123,
"derivedOrders": 123,
"extraMergeFieldsInUse": [
{
"id": "<string>",
"type": "static",
"templateName": "<string>",
"displayName": "<string>",
"staticValue": "<string>"
}
]
}
}
If using a platform scoped JWT, you can pass in a header to impersonate a specific tenant to impersonate the request as.
The id of the automation
Status 200 response
The response is of type object
.