Fetch the configuration of a conversation service

GET /v1/Services/{ChatServiceSid}/Configuration

A Service Configuration resource manages service-level settings applicable to the Conversation API.

Fetch the configuration of a conversation service

Path parameters

  • ChatServiceSid string Required

    The SID of the Service configuration resource to fetch.

Responses

  • 200

    OK

    Hide response attributes Show response attributes object
    • chat_service_sid string | null

      The unique string that identifies the resource

      Minimum length is 34, maximum length is 34. Format should match the following pattern: ^IS[0-9a-fA-F]{32}$.

    • The service role assigned to users when they are added to the service

      Minimum length is 34, maximum length is 34. Format should match the following pattern: ^RL[0-9a-fA-F]{32}$.

    • The role assigned to a conversation creator user when they join a new conversation

      Minimum length is 34, maximum length is 34. Format should match the following pattern: ^RL[0-9a-fA-F]{32}$.

    • The role assigned to users when they are added to a conversation

      Minimum length is 34, maximum length is 34. Format should match the following pattern: ^RL[0-9a-fA-F]{32}$.

    • reachability_enabled boolean | null

      Whether the Reachability Indicator feature is enabled for this Conversations Service

    • url string(uri) | null

      An absolute URL for this service configuration.

GET /v1/Services/{ChatServiceSid}/Configuration
curl \
 -X GET https://conversations.twilio.com/v1/Services/{ChatServiceSid}/Configuration \
 --user "username:password"
Response examples (200)
{
  "chat_service_sid": "string",
  "default_chat_service_role_sid": "string",
  "default_conversation_creator_role_sid": "string",
  "default_conversation_role_sid": "string",
  "links": {},
  "reachability_enabled": true,
  "url": "https://example.com"
}