API referenceSMS
Get a batch
Returns the delivery status of every message in a batch. Use callback delivery updates to reduce repeated status requests.
Authorization
basicAuth AuthorizationBasic <token>
Base64 of API ID:API Key.
In: header
Path Parameters
messageId*string
Response Body
application/json
application/json
application/json
curl -X GET "https://example.com/v1/messages/batch/string"{ "batchId": "eadbfcd0-94d1-438f-ad32-0013f34042c2", "data": [ { "rate": 0.0309, "messageId": "f58e7f2a-203a-4079-a518-7f6647099b5e", "content": "Hi Joe, thank you for all you do for this business", "status": "Delivered", "updateTime": "2023-03-21T12:54:43", "time": "2023-03-21T12:50:27.893495Z", "to": "233546335113", "from": "AbrantieCo" }, { "rate": 0.0309, "messageId": "350fd34d-dce1-4694-a4c9-d9b97d1f4593", "content": "Hi Pheezy, thank you for all you do for this business", "status": "Delivered", "updateTime": "2023-03-21T12:50:34", "time": "2023-03-21T12:50:27.893495Z", "to": "233501431586", "from": "AbrantieCo" } ]}