Sends one or more SMS messages.

Request

POST https://api.bytehand.com/v2/sms/messages

Body

In the request body, you must specify either a single object or an array of objects of type SmsSeed.

Authorization

Requires authorization and access right sms_send.

Response

Upon successful completion of the request, an object of type Response is returned.

Example

Request

POST https://api.bytehand.com/v2/sms/messages

Content-Type: application/json;charset=UTF-8
X-Service-Key: ZO0XJngUXZKjlcFNpzXBbw4UriheYwlc

{
  "sender": "MyShop",
  "receiver": "+79167654321",
  "text": "Today only! 20% off for all goods!!"
}

Response

Status Code: 200
Content-Type: application/json;charset=UTF-8
Cache-Control: no-cache, no-store, max-age=0, must-revalidate
Pragma: no-cache

{
  "result": "created",
  "id": "164030947974825423",
  "count": 1
}