Update a specific Export Configuration.

POST /v1/Exports/{ResourceType}/Configuration

Update a specific Export Configuration.

Path parameters

  • ResourceType string Required

    The type of communication – Messages, Calls, Conferences, and Participants

application/x-www-form-urlencoded

Body

  • Enabled boolean

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

  • WebhookUrl string(uri)

    Stores the URL destination for the method specified in webhook_method.

  • WebhookMethod string

    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

Responses

  • 200 application/json

    OK

    Hide headers attributes Show headers attributes
    • Access-Control-Allow-Origin string

      Specify the origin(s) allowed to access the resource

    • Access-Control-Allow-Methods string

      Specify the HTTP methods allowed when accessing the resource

    • Access-Control-Allow-Headers string

      Specify the headers allowed when accessing the resource

    • Access-Control-Allow-Credentials boolean

      Indicates whether the browser should include credentials

    • Access-Control-Expose-Headers string

      Headers exposed to the client

    Hide response attributes Show response attributes object
    • enabled boolean | null

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

    • webhook_url string(uri) | null

      Stores the URL destination for the method specified in webhook_method.

    • webhook_method string | null

      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 string | null

      The type of communication – Messages, Calls, Conferences, and Participants

    • url string(uri) | null

      The URL of this resource.

POST /v1/Exports/{ResourceType}/Configuration
curl \
 --request POST 'https://bulkexports.twilio.com/v1/Exports/{ResourceType}/Configuration' \
 --user "username:password" \
 --header "Content-Type: application/x-www-form-urlencoded" \
 --data 'Enabled=true'
Request example
{"Enabled"=>true}
Response examples (200)
{
  "url": "https://bulkexports.twilio.com/v1/Exports/Messages/Configuration",
  "enabled": true,
  "webhook_url": "",
  "resource_type": "Messages",
  "webhook_method": ""
}