- STAGE:
- LAUNCHED
Programmatic Content & Routing
STAGE:
LAUNCHED
The next generation of our send API is here - With ZERO breaking changes!
We've pulled together all of the feedback you've given us since we first launched Courier to produce the easiest API for sending messages ever. Key improvements:
Send programmatic templates (with the same Courier cross-channel magic) using Courier Elemental – no drag & drop template required!
Programmatic routing rules for fine-tuned control over channel & provider routing & failover
Send to multiple recipients with one "/send" call, including a mix of identified Users, anonymous recipients, Lists, and (coming soon) Audiences
Specify triggers to handle sequences, actions, and even Inbound Responses
Sneak peek:
POST api.courier.com/send
{
"message": {
"to": [
{ "email": "troy@courier.com" },
{ "email": "jenny@example.com", "phone_number": "555-867-5309" },
{ "list_id": "administrators" }
],
"routing": [
"channels": ["sms", "email"],
"method": "single",
],
"template": "confirmation",
"data": {
"first_name": "Troy"
}
},
"triggers": [
{
"event": "response",
"match": "confirm",
"sequence": [
{
"action": "add-to-list",
"list": "subscribers"
}
]
}
]
}