SMS
Get SMS
Get an SMS.
get/sms/{sid}
Path parameters
sidstring required
Short ID
Example:callrsid
Resource SID (8 lowercase alphanumeric characters)
Response
SMS
Example response
{
"direction": "inbound",
"sid": "callrsid",
"from": "+33199001234",
"to": "+33199001234",
"body": {
"text": "Hello world!"
},
"trafficType": "marketing",
"status": "sent",
"created": "2024-04-24T17:42:28Z",
"delivered": "2024-04-24T17:42:28Z",
"updated": "2024-04-24T17:42:28Z",
"sent": "2024-04-24T17:42:28Z",
"parts": 10,
"network": "20801",
"encoding": "gsm",
"cost": "5.50",
"paymentType": "prepaid",
"statusHistory": [
{
"after": "sent",
"before": "sent",
"at": "2024-04-24T17:42:28Z"
}
]
}