Fetch a message from the conversation
A Service Message resource represents a message in a conversation within a specific service.
Fetch a message from the conversation
Path parameters
-
The SID of the Conversation Service the Participant resource is associated with.
-
The unique ID of the Conversation for this message.
-
A 34 character string that uniquely identifies this resource.
GET /v1/Services/{ChatServiceSid}/Conversations/{ConversationSid}/Messages/{Sid}
curl \
-X GET https://conversations.twilio.com/v1/Services/{ChatServiceSid}/Conversations/{ConversationSid}/Messages/{Sid} \
--user "username:password"
Response examples (200)
{
"account_sid": "string",
"attributes": "string",
"author": "string",
"body": "string",
"chat_service_sid": "string",
"conversation_sid": "string",
"date_created": "2023-05-04T09:42:00+00:00",
"date_updated": "2023-05-04T09:42:00+00:00",
"index": 42,
"links": {},
"media": [],
"participant_sid": "string",
"sid": "string",
"url": "https://example.com"
}
Response examples (200)
{
"account_sid": "string",
"attributes": "string",
"author": "string",
"body": "string",
"chat_service_sid": "string",
"conversation_sid": "string",
"date_created": "2024-05-04T09:42:00+00:00",
"date_updated": "2024-05-04T09:42:00+00:00",
"index": 42,
"links": {},
"media": [],
"participant_sid": "string",
"sid": "string",
"url": "https://example.com"
}