Update the global configuration of conversations on your account

Add MCP server to your AI tool

Allow AI tools and LLMs to interact with the API documentation portal through MCP.

MCP server URL

https://twilio.demo.bump-doc.com/doc/conversations/mcp

Standard setup for AI tools providing an mcp.json file

mcp.json
"Conversations MCP server": {
  "url": "https://twilio.demo.bump-doc.com/doc/conversations/mcp"
}
Close
POST /v1/Configuration

The Configuration resource manages a set of account-level settings applicable to the Conversations API.

Update the global configuration of conversations on your account

application/x-www-form-urlencoded

Body

  • DefaultChatServiceSid string

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

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

  • DefaultMessagingServiceSid string

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

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

  • 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.

Responses

  • 200 application/json

    OK

    Hide headers attributes Show headers attributes
    • Access-Control-Allow-Origin string

      Specify the origin(s) allowed to access the resource

    • Access-Control-Allow-Methods string

      Specify the HTTP methods allowed when accessing the resource

    • Access-Control-Allow-Headers string

      Specify the headers allowed when accessing the resource

    • Access-Control-Allow-Credentials boolean

      Indicates whether the browser should include credentials

    • Access-Control-Expose-Headers string

      Headers exposed to the client

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

      The SID of the Account responsible for this configuration.

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

    • default_chat_service_sid string | null

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

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

    • default_messaging_service_sid string | null

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

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

    • default_inactive_timer string | null

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

    • default_closed_timer string | null

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

    • url string(uri) | null

      An absolute API resource URL for this global configuration.

POST /v1/Configuration
curl \
 --request POST 'https://conversations.twilio.com/v1/Configuration' \
 --user "username:password" \
 --header "Content-Type: application/x-www-form-urlencoded" \
 --data 'DefaultChatServiceSid=ISaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa&DefaultMessagingServiceSid=MGaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa&DefaultInactiveTimer=PT1M&DefaultClosedTimer=PT10M'
Request example
{"DefaultChatServiceSid" => "ISaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", "DefaultMessagingServiceSid" => "MGaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", "DefaultInactiveTimer" => "PT1M", "DefaultClosedTimer" => "PT10M"}
Response examples (200)
{
  "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"
  }
}