メニュー

Expand
ページを評価:

ExportConfiguration Resource

The Export Configuration for a resource has two uses:

  1. setting automatic generation of files by setting "enabled" to true (in the case of Editions customers)
  2. setting the callback method for when the automatic generation of the file has completed

You can send this via:

  • Webhook
  • メール

The webhook_method must be either GET or POST, and webhook_url should be the URL of the service you want to call when the file is available. For email, the email parameter should be an email address.

ExportConfiguration properties

Resource Properties in REST API format
enabled
boolean Not PII

If true, Twilio will automatically generate every day's file when the day is over.

webhook_url
url Not PII

Stores the URL destination for the method specified in webhook_method.

webhook_method
文字列 Not PII

Sets whether Twilio should call a webhook URL when the automatic generation is complete, using GET or POST. The actual destination is set in the webhook_url

resource_type
文字列 Not PII

The type of communication – Messages, Calls

url
url Not PII

The URL of this resource.

Fetch an ExportConfiguration resource

GET
https://bulkexports.twilio.com/v1/Exports/{ResourceType}/Configuration
パラメーター
Parameters in REST API format
resource_type
Path
GET 文字列 Not PII

The type of communication – Messages, Calls

例 1
        
        
        
        
        例 2
              
              
              
              

              Update an ExportConfiguration resource

              post
              https://bulkexports.twilio.com/v1/Exports/{ResourceType}/Configuration
              パラメーター
              Parameters in REST API format
              resource_type
              Path
              post 文字列 Not PII

              The type of communication – Messages, Calls

              enabled
              オプション
              post boolean Not PII

              If true, Twilio will automatically generate every day's file when the day is over.

              webhook_url
              オプション
              post url Not PII

              Stores the URL destination for the method specified in webhook_method.

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

              Sets whether Twilio should call a webhook URL when the automatic generation is complete, using GET or POST. The actual destination is set in the webhook_url

              例 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