Update a specific Export Configuration
TODO: Resource-level docs
Update a specific Export Configuration.
Path parameters
-
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.
-
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
-
WebhookUrl string(uri)
Stores the URL destination for the method specified in webhook_method.
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"
}