メニュー

Expand
ページを評価:

Service Configuration Resource

The Configuration Resource represents all of the configuration settings for a Conversation Service, such as the default roles assigned to Users.

ServiceConfiguration properties

Resource Properties in REST API format
chat_service_sid
sid<IS> Not PII

The unique string that we created to identify the Service configuration resource.

default_conversation_creator_role_sid
sid<RL> Not PII

The conversation-level role assigned to a conversation creator user when they join a new conversation. See the Conversation Role for more info about roles.

default_conversation_role_sid
sid<RL> Not PII

The conversation-level role assigned to users when they are added to a conversation. See the Conversation Role for more info about roles.

default_chat_service_role_sid
sid<RL> Not PII

The service-level role assigned to users when they are added to the service. See the Conversation Role for more info about roles.

url
url Not PII

An absolute API resource URL for this service configuration.

links
uri_map Not PII

Contains an absolute API resource URL to access the push notifications configuration of this service.

Fetch a ServiceConfiguration resource

GET
https://conversations.twilio.com/v1/Services/{ChatServiceSid}/Configuration
パラメーター
Parameters in REST API format
chat_service_sid
Path
GET sid<IS> Not PII

The SID of the Service configuration resource to fetch.

例 1
        
        
        
        

        Update a ServiceConfiguration resource

        post
        https://conversations.twilio.com/v1/Services/{ChatServiceSid}/Configuration
        パラメーター
        Parameters in REST API format
        chat_service_sid
        Path
        post sid<IS> Not PII

        The SID of the Service configuration resource to update.

        default_conversation_creator_role_sid
        オプション
        post sid<RL> Not PII

        The conversation-level role assigned to a conversation creator when they join a new conversation. See the Conversation Role for more info about roles.

        default_conversation_role_sid
        オプション
        post sid<RL> Not PII

        The conversation-level role assigned to users when they are added to a conversation. See the Conversation Role for more info about roles.

        default_chat_service_role_sid
        オプション
        post sid<RL> Not PII

        The service-level role assigned to users when they are added to the service. See the Conversation Role for more info about roles.

        例 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