post
https://{baseUrl}/sms/2/text/advanced
This is your first endpoint! Edit this page to start documenting your API.
Response format
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.
Request Headers
| Header | Type | Description | Required |
|---|---|---|---|
Content-Type | string | Should be "application/json". | Yes |
Authorization | string | API key for authentication (Bearer <your_api_key>). | Yes |
Request Body
Root Object
| Field | Type | Description | Required |
|---|---|---|---|
messages | array<object> | List of messages to be sent. | Yes |
messages (Array of Objects)
| Field | Type | Description | Required |
|---|---|---|---|
destinations | array<object> | List of recipients. | Yes |
from | string | Sender name or number. | Yes |
text | string | Message text content. | Yes |
destinations (Array of Objects)
| Field | Type | Description | Required |
|---|---|---|---|
| to | string | Recipient phone number in international format. | Yes |