POST /automations/:templateId/invoke
Example
Method: POST
URL: https://api.courier.com/automations/S6CME56DCCM6DVQA7CVZR1MTPFPA/invoke
Body:
{
"brand": "W50NC77P524K14M5300PGPEK4JMJ",
"template": "S6CME56DCCM6DVQA7CVZR1MTPFPA",
"recipient": "8ec8c99a-c5f7-455b-9f60-8222b8a27056",
"data": {
"name": "Jane Doe",
"age": 27
},
"profile": {
"phone_number": "2025550125",
"email": "hello@example.com"
}
}