ConversationsConfiguration

Update Configuration

POST
/v1/Configuration

Update the global configuration of conversations on your account

Authorization

accountSid_authToken
AuthorizationBasic <token>

In: header

Request Body

application/x-www-form-urlencoded

DefaultChatServiceSid?string

The SID of the default Conversation Service to use when creating a conversation.

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

The SID of the default Messaging Service to use when creating a conversation.

Match^MG[0-9a-fA-F]{32}$
Length34 <= length <= 34
DefaultInactiveTimer?string

Default ISO8601 duration when conversation will be switched to inactive state. Minimum value for this timer is 1 minute.

DefaultClosedTimer?string

Default ISO8601 duration when conversation will be switched to closed state. Minimum value for this timer is 10 minutes.

Response Body

application/json

curl -X POST "https://example.com/v1/Configuration" \  -H "Content-Type: application/x-www-form-urlencoded" \  -d 'DefaultChatServiceSid=ISaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa&DefaultMessagingServiceSid=MGaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa&DefaultInactiveTimer=PT1M&DefaultClosedTimer=PT10M'
{  "account_sid": "ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",  "default_chat_service_sid": "ISaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",  "default_messaging_service_sid": "MGaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",  "default_inactive_timer": "PT1M",  "default_closed_timer": "PT10M",  "url": "https://conversations.twilio.com/v1/Configuration",  "links": {    "service": "https://conversations.twilio.com/v1/Services/ISaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Configuration",    "webhooks": "https://conversations.twilio.com/v1/Configuration/Webhooks"  }}