Fetch a conversation user from your service
A Service User resource represents a conversation user belonging to a specific conversation service.
Fetch a conversation user from your service
Path parameters
-
The SID of the Conversation Service to fetch the User resource from.
Minimum length is
34
, maximum length is34
. Format should match the following pattern:^IS[0-9a-fA-F]{32}$
. -
The SID of the User resource to fetch. This value can be either the
sid
or theidentity
of the User resource to fetch.
GET
/v1/Services/{ChatServiceSid}/Users/{Sid}
curl \
--request GET 'https://conversations.twilio.com/v1/Services/{ChatServiceSid}/Users/{Sid}' \
--user "username:password"
Response examples (200)
{
"sid": "USaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"url": "https://conversations.twilio.com/v1/Services/ISaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Users/USaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"links": {
"user_conversations": "https://conversations.twilio.com/v1/Services/ISaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Users/USaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Conversations"
},
"identity": "admin",
"role_sid": "RLaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"is_online": true,
"attributes": "{ \"duty\": \"tech\" }",
"account_sid": "ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"date_created": "2019-12-16T22:18:37Z",
"date_updated": "2019-12-16T22:18:38Z",
"friendly_name": "name",
"is_notifiable": null,
"chat_service_sid": "ISaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
}