SendMessage creates and sends a message via channel.
POST/api/v1/engagements/:engagementId/messages/send
This is the primary method for agents to send messages to contacts. The message is created, queued, and delivered through the appropriate channel based on engagement configuration.
Delivery Process
- Message created with status PENDING
- Routed to channel provider (WhatsApp, SMS, etc.)
- Status updated via webhook callbacks
Errors
- NOT_FOUND: Engagement does not exist
- FAILED_PRECONDITION: Channel not configured or inactive
- PERMISSION_DENIED: Caller lacks message:send permission
Request
Responses
- 200
- default
A successful response.
An unexpected error response.