Update the global configuration of conversations on your account
The Configuration resource manages a set of account-level settings applicable to the Conversations API.
Update the global configuration of conversations on your account
Body
-
DefaultChatServiceSid string
The SID of the default Conversation Service to use when creating a conversation.
Minimum length is
34
, maximum length is34
. Format should match the following pattern:^IS[0-9a-fA-F]{32}$
. -
DefaultClosedTimer string
Default ISO8601 duration when conversation will be switched to
closed
state. Minimum value for this timer is 10 minutes. -
DefaultInactiveTimer string
Default ISO8601 duration when conversation will be switched to
inactive
state. Minimum value for this timer is 1 minute. -
DefaultMessagingServiceSid string
The SID of the default Messaging Service to use when creating a conversation.
Minimum length is
34
, maximum length is34
. Format should match the following pattern:^MG[0-9a-fA-F]{32}$
.
curl \
-X POST https://conversations.twilio.com/v1/Configuration \
--user "username:password" \
-H "Content-Type: application/x-www-form-urlencoded" \
-d 'DefaultChatServiceSid=string&DefaultClosedTimer=string&DefaultInactiveTimer=string&DefaultMessagingServiceSid=string'
{
"DefaultChatServiceSid": "string",
"DefaultClosedTimer": "string",
"DefaultInactiveTimer": "string",
"DefaultMessagingServiceSid": "string"
}
{
"DefaultChatServiceSid": "string",
"DefaultClosedTimer": "string",
"DefaultInactiveTimer": "string",
"DefaultMessagingServiceSid": "string"
}
{
"account_sid": "string",
"default_chat_service_sid": "string",
"default_closed_timer": "string",
"default_inactive_timer": "string",
"default_messaging_service_sid": "string",
"links": {},
"url": "https://example.com"
}
{
"account_sid": "string",
"default_chat_service_sid": "string",
"default_closed_timer": "string",
"default_inactive_timer": "string",
"default_messaging_service_sid": "string",
"links": {},
"url": "https://example.com"
}