ConversationsUser Conversation

List Service User Conversation

GET
/v1/Services/{ChatServiceSid}/Users/{UserSid}/Conversations

Retrieve a list of all User Conversations for the User.

Authorization

accountSid_authToken
AuthorizationBasic <token>

In: header

Path Parameters

ChatServiceSid*string

The SID of the Conversation Service the Conversation resource is associated with.

Match^IS[0-9a-fA-F]{32}$
Length34 <= length <= 34
UserSid*string

The unique SID identifier of the User resource. This value can be either the sid or the identity of the User resource.

Query Parameters

PageSize?integer

How many resources to return in each list page. The default is 50, and the maximum is 50.

Formatint64
Range1 <= value <= 50
Page?integer

The page index. This value is simply for client state.

Range0 <= value
PageToken?string

The page token. This is provided by the API.

Response Body

application/json

curl -X GET "https://example.com/v1/Services/stringstringstringstringstringstri/Users/string/Conversations"

{  "conversations": [],  "meta": {    "page": 0,    "page_size": 50,    "first_page_url": "https://conversations.twilio.com/v1/Services/ISaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Users/USaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Conversations?PageSize=50&Page=0",    "previous_page_url": null,    "url": "https://conversations.twilio.com/v1/Services/ISaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Users/USaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Conversations?PageSize=50&Page=0",    "next_page_url": null,    "key": "conversations"  }}