Messages API
Send templated messages via SMS and WhatsApp with automatic channel selection and delivery tracking.
Endpoints
POST/v1/messages/contact
Send message to existing contact by ID
POST/v1/messages/phone
Send message directly to phone number
Key Features
- Smart Channel Selection: Automatically routes via optimal channel (SMS/WhatsApp)
- Template Support: Use pre-approved templates with dynamic variables
- Webhook Notifications: Real-time delivery status updates
- Auto Contact Creation: Creates contacts on-the-fly when using phone endpoint
- Balance Management: Automatic balance checking and deduction