Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Create and send email campaigns to your contact lists. Unsubscribes are handled for you.
Create the campaign
curl -X POST https://app.telaven.com/api/v1/email/campaigns \ -H "Authorization: Bearer $TELAVEN_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "name": "Newsletter", "subject": "What'\''s new in November", "htmlBody": "<h1>Hello!</h1><p>…</p>", "fromEmail": "news@yourbrand.co.ke", "fromName": "Your Brand", "contactListIds": ["c51e…"] }'
draft
fromEmail
Send it
curl -X POST https://app.telaven.com/api/v1/email/campaigns/e9a0…/send \ -H "Authorization: Bearer $TELAVEN_API_KEY"
{ "success": true, "message": "Campaign sent. 796 delivered, 0 failed.", "data": { "totalSent": 796, "totalFailed": 0, "status": "completed" } }
marketing
transactional
immediate
scheduled
sendType
GET /email/unsubscribes
POST /email/unsubscribes
DELETE /email/unsubscribes?email=…