Get Conversation by ID
Retrieve a single SMS conversation and its messages by its ID
Headers
Your API key for authentication
Path Parameters
The unique ID of the conversation to retrieve.
Response
The full conversation object, including its messages.
The unique ID of the conversation.
ISO timestamp for when the conversation was created.
ISO timestamp for when the conversation was last updated.
The user’s phone number in the conversation.
The assistant’s phone number in the conversation.
Variables stored on the conversation, or null
if none.
The current node ID in the pathway, if any.
Whether the conversation is still active.
An array of message objects in the conversation, sorted chronologically.
Unique ID of the message.
ISO timestamp of when the message was created.
The message body.
Sender phone number.
Receiver phone number.
Either "user"
or "agent"
to indicate who sent the message.
Delivery status of the message (e.g. "delivered"
, "failed"
).
Twilio error code if the message failed, otherwise null
.
null
on success, or a list of error objects if a failure occurred.