Skip to main content

GET /automations/runs/:run_id

GEThttps://api.courier.com/automations/runs/:run_id
Retrieve information and status of a given automation run.
PATH PARAMS
run_idstringrequired
A unique identifier associated with the automation run you wish to retrieve.
Responses
AUTH TOKEN
curl --request GET \
--url https://api.courier.com/automations/runs/1-5e2b2615-05efbb3acab9172f88dd3f6f \
--header 'Accept: application/json'
Response Example
{
"automation": {
"steps": [
{
"action": "cancel"
},
{
"action": "delay"
},
{
"action": "send"
},
{
"action": "send-list"
},
{
"action": "update-profile"
},
{
"action": "invoke"
}
]
},
"brand": "W50NC77P524K14M5300PGPEK4JMJ",
"template": "EXAMPLE_NOTIFICATION",
"recipient": "8ec8c99a-c5f7-455b-9f60-8222b8a27056",
"data": {
"name": "Jane Doe",
"age": 27
},
"profile": {
"phone_number": "2025550125",
"email": "hello@example.com"
}
}

Example

Method: GET

URL: https://api.courier.com/automations/runs/1-5e2b2615-05efbb3acab9172f88dd3f6f