Update a specific Export Configuration

POST /v1/Exports/{ResourceType}/Configuration

TODO: Resource-level docs

Update a specific Export Configuration.

Path parameters

  • ResourceType string Required

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

Body

  • Enabled boolean

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

  • 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

  • WebhookUrl string(uri)

    Stores the URL destination for the method specified in webhook_method.

Responses

  • OK

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

      Whether files are automatically generated

    • resource_type string | null

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

    • url string(uri) | null

      The URL of this resource.

    • webhook_method string | null

      Whether to GET or POST to the webhook url

    • webhook_url string(uri) | null

      URL targeted at export

POST /v1/Exports/{ResourceType}/Configuration
curl \
 -X POST https://bulkexports.twilio.com/v1/Exports/{ResourceType}/Configuration \
 --user "username:password" \
 -H "Content-Type: application/x-www-form-urlencoded" \
 -d 'Enabled=true&WebhookMethod=string&WebhookUrl=https%3A%2F%2Fexample.com'
Request example
{
  "Enabled": true,
  "WebhookMethod": "string",
  "WebhookUrl": "https://example.com"
}
Request examples
{
  "Enabled": true,
  "WebhookMethod": "string",
  "WebhookUrl": "https://example.com"
}
Response examples (200)
{
  "enabled": true,
  "resource_type": "string",
  "url": "https://example.com",
  "webhook_method": "string",
  "webhook_url": "https://example.com"
}
Response examples (200)
{
  "enabled": true,
  "resource_type": "string",
  "url": "https://example.com",
  "webhook_method": "string",
  "webhook_url": "https://example.com"
}