Retrieve a message
Returns the SMS or MMS message identified by id, including its delivery status and content.
Authorizations
Wavix API key. Pass as Authorization: Bearer <api_key>. Keys support per-resource scopes (none / read / write). See Restricted keys and scopes.
Path Parameters
The unique ID of the message.
"3a525ca2-6909-4c72-9399-905adf7f3a74"
Response
Returns the message.
Message ID.
"871b4eeb-f798-4105-be23-32df9e991456"
Message type. Possible values are sms, mms.
"sms"
Sender ID.
"Wavix"
Recipient phone number.
"447537151866"
Message direction. Possible values are outbound, inbound.
"outbound"
Mobile country code.
"301"
Mobile network code.
"204"
Tag to group messages, such as for a specific campaign.
"Fall sale"
Current delivery status of the message. One of:
accepted— the message was accepted by the platform for sending.pending— the message is queued and awaiting a carrier response.sent— the message was handed to the carrier.delivered— the carrier confirmed delivery to the handset.undelivered— the carrier reported that delivery failed.expired— the validity period elapsed before the message was sent.rejected— the message was rejected before sending.dlr_expired— no delivery receipt arrived from the carrier within the expected window.
accepted, pending, sent, delivered, undelivered, expired, rejected, dlr_expired Number of SMS segments. Always 1 for MMS.
1
Total charge for the message in USD.
"0.01"
Date and time the message was accepted in ISO 8601 format.
"2022-04-14T13:51:16.096Z"
Date and time the message was sent in ISO 8601 format. For mobile-terminated messages only.
"2022-04-14T13:51:16.096Z"
Date and time the message was delivered in ISO 8601 format. Refers to DLR reception for mobile-terminated messages or webhook relay for mobile-originated messages.
"2022-04-14T13:51:16.096Z"
Human-readable error message.
Mobile carrier fees in USD.
"0.0"