メニュー

Expand
ページを評価:

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
文字列 Not PII

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

default_closed_timer
文字列 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
例 1
        
        
        
        

        Update a Configuration resource

        post
        https://conversations.twilio.com/v1/Configuration
        パラメーター
        Parameters in REST API format
        default_chat_service_sid
        オプション
        post sid<IS> Not PII

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

        default_messaging_service_sid
        オプション
        post sid<MG> Not PII

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

        default_inactive_timer
        オプション
        post 文字列 Not PII

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

        default_closed_timer
        オプション
        post 文字列 Not PII

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

        例 1
              
              
              
              
              ページを評価:

              ヘルプが必要ですか?

              誰しもが一度は考える「コーディングって難しい」。そんな時は、お問い合わせフォームから質問してください。 または、Stack Overflow でTwilioタグのついた情報から欲しいものを探してみましょう。

                    
                    
                    

                    フィードバックくださりありがとうございます!

                    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!

                    ステップ1

                    Get link

                    Get a free personal referral link here

                    ステップ2:

                    Give $10

                    Your user signs up and upgrade using link

                    ステップ3

                    Get $10

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