Fetch a specific User Conversation.
A User Conversation resource represents a conversation of the user belonging to a default conversation service.
Fetch a specific User Conversation.
Path parameters
-
The unique SID identifier of the User resource. This value can be either the
sid
or theidentity
of the User resource. -
The unique SID identifier of the Conversation. This value can be either the
sid
or theunique_name
of the Conversation resource.
GET
/v1/Users/{UserSid}/Conversations/{ConversationSid}
curl \
--request GET 'https://conversations.twilio.com/v1/Users/{UserSid}/Conversations/{ConversationSid}' \
--user "username:password"
Response examples (200)
{
"url": "https://conversations.twilio.com/v1/Users/USaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Conversations/CHaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"links": {
"participant": "https://conversations.twilio.com/v1/Conversations/CHaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Participants/MBaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"conversation": "https://conversations.twilio.com/v1/Conversations/CHaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
},
"timers": {
"date_closed": "2015-12-16T22:28:38Z",
"date_inactive": "2015-12-16T22:19:38Z"
},
"user_sid": "USaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"attributes": "{}",
"created_by": "created_by",
"account_sid": "ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"unique_name": "unique_name",
"date_created": "2015-07-30T20:00:00Z",
"date_updated": "2015-07-30T20:00:00Z",
"friendly_name": "friendly_name",
"participant_sid": "MBaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"chat_service_sid": "ISaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"conversation_sid": "CHaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"conversation_state": "inactive",
"notification_level": "default",
"unread_messages_count": 100,
"last_read_message_index": 100
}