Skip to content

Batch API sends

Sending a weekly report or recommendations email? Waypoint now supports batch email sending on our API so you can send multiple emails with highly personalized content with a single API call. Learn more in our docs.

Terminal window
curl "https://live.waypointapi.com/v1/sandbox/email_messages_batch" \
-H "Content-Type: application/json" \
-u "API_KEY_USERNAME:API_KEY_PASSWORD" \
-d '{
"emailMessages": [
{
"templateId": "wptemplate_RXL7zGTGsvkXzAP3",
"to": "Jordan Isip <jordan@usewaypoint.com>",
"variables": {
"username": "fixie"
}
},
{
"templateId": "wptemplate_RXL7zGTGsvkXzAP3",
"to": "Carlos Rodriguez <jordan@usewaypoint.com>",
"variables": {
"username": "cohitre"
}
}
]
}'