Retrieve
Use this endpoint for the Media method to retrieve a single message.
Path parameters
AccountSid
The unique identifier of the project that sent or received this message.
Sid
A unique ID that identifies this specific message.
Response
account_sid
The unique identifier of the project that sent or received this message.
api_version
The version number of the SignalWire cXML REST API used to handle this message.
body
The text of the message. Up to 1600 characters long. May be null if filtered for spam.
num_segments
The number of segments that make up the entire message.
num_media
The number of media files that were included with the message.
date_created
The date and time the message was created in RFC 2822 format.
date_sent
The date and time the message was sent in RFC 2822 format, or null if not yet sent.
date_updated
The date and time the message was last updated in RFC 2822 format.
direction
The direction of the message.
Allowed values:
error_code
If an error has occurred on the message, the error code will give you a specific code, or null if no error.
error_message
A human readable description of the error that occurred, or null if no error.
from
The phone number in E.164 format that sent the message.
price
The cost of the individual message billed to your project, or null if not yet calculated.
price_unit
The currency in which `price` is charged as.
sid
A unique ID that identifies this specific message.
status
Current status of the message.
to
The phone number in E.164 format that received the message.
messaging_service_sid
If a number group was used when sending an outbound message, the number group's ID will be present, or null otherwise.
uri
The URI of this particular message.
subresource_uris
The URIs for any subresources associated with this message.
Response