Export information about deliveries
Changed onProvide filters for the one-time send, automation, or action you want to return delivery information from. This endpoint starts an export, but you cannot download your export from this endpoint. Use the /exports/{export_id} endpoint to download your export.
Use the start and end to find messages within a time range. If your request doesn't include start and end parameters, we'll return the most recent 6 months of messages. If your start and end range is more than 12 months, we'll return 12 months of data from the most recent timestamp in your request. Timestamps reflect when deliveries were created in our system, not when they were actually sent to recipients. There may be a delay between creation and sending.
Request
- Base URLhttps://api.customer.io
- URLhttps://api.customer.io/v1/exports/deliveries
- AuthHTTP bearer
Request body
Example request
{
"newsletter_id": 999,
"start": 1517529600,
"end": 1517702400
}Response
Returns an export.
Example response
{
"export": {
"id": "111,",
"deduplicate_id": "110:1530296738",
"type": "deliveries",
"failed": false,
"description": "Full deliveries export (created via the api)",
"downloads": 0,
"created_at": 1530296742,
"updated_at": 1530296742
}
}Changes
- info
added the media type
application/jsonfor the response with the status
- info