Get SMS message
Path parameters
-
messageID
integer(int64) Required ID of message to return
GET
/sms/message/{messageID}
curl \
-X GET https://sms.apicontrol.co.uk/v1/sms/message/{messageID} \
-H "Authorization: $API_KEY"
Response examples (200)
{
"to": [
"+447700900111",
"+447700900122"
],
"messageID": 923934,
"from": "+447700900001",
"body": "Message to send",
"send_at": "2024-06-03T10:05:22Z",
"expires_at": "2024-06-04T10:05:22Z",
"ref": "d93b9ec9-4e0d-42b8-80c0-ef3036acdafc",
"callbackURL": "https://sms-callbacks.barbuck.com",
"paused": false
}
Response examples (401)
{
"status_code": 401,
"status_msg": "Unauthorized"
}
Response examples (404)
{
"status_code": 404,
"status_msg": "Not Found",
"info": "string"
}
Response examples (405)
{
"status_code": 405,
"status_msg": "Method Not Allowed",
"Allow": [
"POST"
]
}