v1
latestOpenAPI 3.0.12026-07-2471135326.0 KBMessages
Send Batch SMS Message
This endpoint allows you to send multiple outbound SMS messages.
post/v3/messages/batch
Request body
Example request
{
"from": "12345",
"text": "Hi {0}, your balance is ${1}",
"type": "MT",
"externalId": "test_1",
"connection": "CONNECTION_TEST",
"callbacks": [
"http://www.mycallback.com?id=123"
],
"email": "root@demo.com",
"clientId": "client1"
}Response
Posted batch messages
Example response
{
"meta": {
"timestamp": 1597166699457,
"transactionId": "70169d77-c165-4795-9932-35b8a3af96fb",
"explain": "a descriptive text"
},
"data": {
"ids": [
{
"id": "507f1f77bcf86cd799439011",
"mobile": "+580000000001"
},
{
"id": "507f191e810c19729de860ea",
"mobile": "+580000000002"
}
],
"invalidNumber": [
"+580000000001"
],
"from": "12345",
"externalId": "test_1",
"text": "text demo",
"connection": "CONNECTION_TEST",
"callbacks": [
"http://www.mycallback.com?id=123"
],
"email": "root@demo.com",
"clientId": "555555",
"owner": "owner",
"operator": "operator",
"status": "SENT",
"date": "2020-06-22T15:06:37.909584Z"
}
}