Fetch a user role from your service
A Service Role resource represents a set of permissions granted to a user within a service or a conversation.
Fetch a user role from your service
Path parameters
-
The SID of the Conversation Service to fetch the Role resource from.
-
The SID of the Role resource to fetch.
GET /v1/Services/{ChatServiceSid}/Roles/{Sid}
curl \
-X GET https://conversations.twilio.com/v1/Services/{ChatServiceSid}/Roles/{Sid} \
--user "username:password"
Response examples (200)
{
"account_sid": "string",
"chat_service_sid": "string",
"date_created": "2023-05-04T09:42:00+00:00",
"date_updated": "2023-05-04T09:42:00+00:00",
"friendly_name": "string",
"permissions": [
"string"
],
"sid": "string",
"type": "conversation",
"url": "https://example.com"
}
Response examples (200)
{
"account_sid": "string",
"chat_service_sid": "string",
"date_created": "2024-05-04T09:42:00+00:00",
"date_updated": "2024-05-04T09:42:00+00:00",
"friendly_name": "string",
"permissions": [
"string"
],
"sid": "string",
"type": "conversation",
"url": "https://example.com"
}