POST
/
automations
/
{templateId}
/
invoke
curl --request POST \
  --url https://api.courier.com/automations/{templateId}/invoke \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "brand": "<string>",
  "data": {},
  "profile": "<any>",
  "recipient": "<string>",
  "template": "<string>"
}'
{
  "runId": "1-65f240a0-47a6a120c8374de9bcf9f22c"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

templateId
string
required

A unique identifier representing the automation template to be invoked. This could be the Automation Template ID or the Automation Template Alias.

Body

application/json
brand
string | null
data
object | null
profile
any
recipient
string | null
template
string | null

Response

200 - application/json
runId
string
required