ConversationsRole

Fetch Service Role

GET
/v1/Services/{ChatServiceSid}/Roles/{Sid}

Fetch a user role from your service

Authorization

accountSid_authToken
AuthorizationBasic <token>

In: header

Path Parameters

ChatServiceSid*string

The SID of the Conversation Service to fetch the Role resource from.

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

The SID of the Role resource to fetch.

Match^RL[0-9a-fA-F]{32}$
Length34 <= length <= 34

Response Body

application/json

curl -X GET "https://example.com/v1/Services/stringstringstringstringstringstri/Roles/stringstringstringstringstringstri"
{  "sid": "RLaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",  "account_sid": "ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",  "chat_service_sid": "ISaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",  "friendly_name": "Conversation Role",  "type": "conversation",  "permissions": [    "sendMessage",    "leaveConversation",    "editOwnMessage",    "deleteOwnMessage"  ],  "date_created": "2016-03-03T19:47:15Z",  "date_updated": "2016-03-03T19:47:15Z",  "url": "https://conversations.twilio.com/v1/Services/ISaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Roles/RLaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"}