Our developer API allows you to trigger transactional messages, synchronize contacts and custom properties, stream real-time webhook events, and automate marketing sequences with predictable sub-second latency.
curl -X POST https://api.revsend.com/v1/send/transactional \
-H "Authorization: Bearer rev_live_98ab76cd54..." \
-H "Content-Type: application/json" \
-d '{
"to": "customer@example.com",
"template_id": "tpl_cart_recovery_vip",
"dynamic_data": {
"first_name": "Sarah",
"cart_total": "$149.00",
"discount_code": "SAVE15"
},
"tags": ["abandoned_cart", "high_value"]
}'
Subscribe to granular webhook notifications to keep your backend database and CRM in perfect synchronization:
| Event Name | Payload Details | Delivery SLA |
|---|---|---|
email.delivered |
Recipient, message ID, timestamp, SPF/DKIM status | < 500ms |
email.opened |
Device type, client user agent, geo location | Real-time |
email.clicked |
Target link URL, unique click ID, UTM tags | Real-time |
customer.unsubscribed |
List ID, reason, suppression category | Immediate |