Path parameters
-
ResourceType
string Required The type of communication – Messages or Calls, Conferences, and Participants
Body
-
Email
string The optional email to send the completion notification to. You can set both webhook, and email, or one or the other. If you set neither, the job will run but you will have to query to determine your job's status.
-
EndDay
string Required The end day for the custom export specified as a string in the format of yyyy-mm-dd. End day is inclusive and must be 2 days earlier than the current UTC day.
-
FriendlyName
string Required The friendly name specified when creating the job
-
StartDay
string Required The start day for the custom export specified as a string in the format of yyyy-mm-dd
-
WebhookMethod
string This is the method used to call the webhook on completion of the job. If this is supplied,
WebhookUrl
must also be supplied. -
WebhookUrl
string The optional webhook url called on completion of the job. If this is supplied,
WebhookMethod
must also be supplied. If you set neither webhook nor email, you will have to check your job's status manually.
curl \
-X POST https://bulkexports.twilio.com/v1/Exports/{ResourceType}/Jobs \
--user "username:password" \
-H "Content-Type: application/x-www-form-urlencoded" \
-d 'Email=string&EndDay=string&FriendlyName=string&StartDay=string&WebhookMethod=string&WebhookUrl=string'
{
"Email": "string",
"EndDay": "string",
"FriendlyName": "string",
"StartDay": "string",
"WebhookMethod": "string",
"WebhookUrl": "string"
}
{
"Email": "string",
"EndDay": "string",
"FriendlyName": "string",
"StartDay": "string",
"WebhookMethod": "string",
"WebhookUrl": "string"
}
{
"email": "string",
"end_day": "string",
"estimated_completion_time": "string",
"friendly_name": "string",
"job_queue_position": "string",
"job_sid": "string",
"resource_type": "string",
"start_day": "string",
"webhook_method": "string",
"webhook_url": "string"
}
{
"email": "string",
"end_day": "string",
"estimated_completion_time": "string",
"friendly_name": "string",
"job_queue_position": "string",
"job_sid": "string",
"resource_type": "string",
"start_day": "string",
"webhook_method": "string",
"webhook_url": "string"
}