Get SMS message
Path parameters
-
messageID
integer(int64) Required ID of message to return
GET
/sms/inbound/{messageID}
curl \
-X GET https://sms.apicontrol.co.uk/v1/sms/inbound/{messageID} \
-H "Authorization: $API_KEY"
Response examples (200)
{
"messageID": 7,
"from": "+447700900000",
"to": "+447700900999",
"body": "Test inbound message",
"ref": "Oxford main office",
"received_at": "1718893029.000"
}
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"
]
}