ConversationsConfiguration
Update Service Configuration
Update configuration settings of a conversation service
Authorization
accountSid_authToken AuthorizationBasic <token>
In: header
Path Parameters
ChatServiceSid*string
The SID of the Service configuration resource to update.
Match
^IS[0-9a-fA-F]{32}$Length
34 <= length <= 34Request Body
application/x-www-form-urlencoded
DefaultConversationCreatorRoleSid?string
The conversation-level role assigned to a conversation creator when they join a new conversation. See Conversation Role for more info about roles.
Match
^RL[0-9a-fA-F]{32}$Length
34 <= length <= 34DefaultConversationRoleSid?string
The conversation-level role assigned to users when they are added to a conversation. See Conversation Role for more info about roles.
Match
^RL[0-9a-fA-F]{32}$Length
34 <= length <= 34DefaultChatServiceRoleSid?string
The service-level role assigned to users when they are added to the service. See Conversation Role for more info about roles.
Match
^RL[0-9a-fA-F]{32}$Length
34 <= length <= 34ReachabilityEnabled?boolean
Whether the Reachability Indicator is enabled for this Conversations Service. The default is false.
Response Body
application/json
curl -X POST "https://example.com/v1/Services/stringstringstringstringstringstri/Configuration" \ -H "Content-Type: application/x-www-form-urlencoded" \ -d 'DefaultConversationCreatorRoleSid=RLaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa&DefaultConversationRoleSid=RLaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa&DefaultChatServiceRoleSid=RLaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa'{ "chat_service_sid": "ISaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", "default_conversation_creator_role_sid": "RLaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", "default_conversation_role_sid": "RLaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", "default_chat_service_role_sid": "RLaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", "reachability_enabled": false, "url": "https://conversations.twilio.com/v1/Services/ISaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Configuration", "links": { "notifications": "https://conversations.twilio.com/v1/Services/ISaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Configuration/Notifications", "webhooks": "https://conversations.twilio.com/v1/Services/ISaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Configuration/Webhooks" }}