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
        
        
        
        

        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
              
              
              
              
              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 browsing the Twilio tag on Stack Overflow.

                    
                    
                    

                    Thank you for your feedback!

                    We are always striving to improve our documentation quality, and your feedback is valuable to us. How could this documentation serve you better?

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

                    Thanks for your feedback!

                    Refer us and get $10 in 3 simple steps!

                    Step 1

                    Get link

                    Get a free personal referral link here

                    Step 2

                    Give $10

                    Your user signs up and upgrade using link

                    Step 3

                    Get $10

                    1,250 free SMSes
                    OR 1,000 free voice mins
                    OR 12,000 chats
                    OR more