Menu

Expand
Rate this page:

Configuration Resource

The Twilio Conversations' Configuration resource represents settings applied at the account level, across all Conversation Services.

Configuration properties

Resource Properties in REST API format
account_sid
sid<AC> Not PII

The SID of the Account responsible for this configuration.

default_chat_service_sid
sid<IS> Not PII

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

default_messaging_service_sid
sid<MG> Not PII

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

default_inactive_timer
string Not PII

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

default_closed_timer
string Not PII

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

url
url Not PII

An absolute API resource URL for this global configuration.

links
uri_map Not PII

Contains absolute API resource URLs to access the webhook and default service configurations.

Fetch a Configuration resource

get
https://conversations.twilio.com/v1/Configuration
Example 1
Loading Code Sample...
        
        

        Fetch Configuration

        Update a Configuration resource

        post
        https://conversations.twilio.com/v1/Configuration
        Parameters
        Parameters in REST API format
        default_chat_service_sid
        Optional
        post sid<IS> Not PII

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

        default_messaging_service_sid
        Optional
        post sid<MG> Not PII

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

        default_inactive_timer
        Optional
        post string Not PII

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

        default_closed_timer
        Optional
        post string Not PII

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

        Example 1
        Loading Code Sample...
              
              

              Update Configuration

              Rate this page:

              Need some help?

              We all do sometimes; code is hard. Get help now from our support team, or lean on the wisdom of the crowd by visiting Twilio's Stack Overflow Collective or browsing the Twilio tag on Stack Overflow.

              Loading Code Sample...
                    
                    
                    

                    Thank you for your feedback!

                    Please select the reason(s) for your feedback. The additional information you provide helps us improve our documentation:

                    Sending your feedback...
                    🎉 Thank you for your feedback!
                    Something went wrong. Please try again.

                    Thanks for your feedback!

                    thanks-feedback-gif