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
|
The SID of the Account responsible for this configuration. |
default_chat_service_sid
|
The SID of the default Conversation Service used when creating a conversation. |
default_messaging_service_sid
|
The SID of the default Messaging Service used when creating a conversation. |
default_inactive_timer
|
Default ISO8601 duration when conversation will be switched to |
default_closed_timer
|
Default ISO8601 duration when conversation will be switched to |
url
|
An absolute API resource URL for this global configuration. |
links
|
Contains absolute API resource URLs to access the webhook and default service configurations. |
Fetch a Configuration resource
https://conversations.twilio.com/v1/Configuration
例 1
Update a Configuration resource
https://conversations.twilio.com/v1/Configuration
パラメーター
Parameters in REST API format | |
---|---|
default_chat_service_sid
オプション
|
The SID of the default Conversation Service to use when creating a conversation. |
default_messaging_service_sid
オプション
|
The SID of the default Messaging Service to use when creating a conversation. |
default_inactive_timer
オプション
|
Default ISO8601 duration when conversation will be switched to |
default_closed_timer
オプション
|
Default ISO8601 duration when conversation will be switched to |
例 1
ヘルプが必要ですか?
誰しもが一度は考える「コーディングって難しい」。そんな時は、お問い合わせフォームから質問してください。 または、Stack Overflow でTwilioタグのついた情報から欲しいものを探してみましょう。