Retrieve a message
Changed onReturns the SMS or MMS message identified by id, including its delivery status and content.
Request
- Base URLhttps://api.wavix.com
- URLhttps://api.wavix.com/v3/messages/{id}
- AuthHTTP bearer
Path parameters
The unique ID of the message.
Response
Returns the message.
Example response
{
"message_id": "871b4eeb-f798-4105-be23-32df9e991456",
"message_type": "sms",
"from": "Wavix",
"to": "447537151866",
"direction": "outbound",
"mcc": "301",
"mnc": "204",
"message_body": {
"text": "Hi there, this is a sample message",
"media": [
"https://you-site.com/media"
]
},
"tag": "Fall sale",
"segments": 1,
"charge": "0.01",
"submitted_at": "2022-04-14T13:51:16.096Z",
"sent_at": "2022-04-14T13:51:16.096Z",
"delivered_at": "2022-04-14T13:51:16.096Z",
"carrier_fees": "0.0"
}Changes
- breaking
added the pattern
^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$to thepathrequest parameterid - breaking
for the
pathrequest parameterid, the format changed from no format touuid - breaking
the response's body type changed from no type to
objectfor status - info
removed
subschema #2from the response bodyallOflist for the response status - info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the optional property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status
- breaking
- info
the endpoint scheme security
bearerAuthwas added to the API
- info