On success, response header HTTP status code will be 200 OK
and the message will be sent. If you try to send message without authorization, you will receive an error 401
Unauthorized.
Header | Type | Description | Required |
---|
Content-Type | string | Should be "application/json" . | Yes |
Authorization | string | API key for authentication (Bearer <your_api_key> ). | Yes |
Field | Type | Description | Required |
---|
messages | array<object> | List of messages to be sent. | Yes |
Field | Type | Description | Required |
---|
destinations | array<object> | List of recipients. | Yes |
from | string | Sender name or number. | Yes |
text | string | Message text content. | Yes |
Field | Type | Description | Required |
---|
to | string | Recipient phone number in international format. | Yes |