Exports
Export contacts
Export delivery reports
Export send history as CSV
List exports
Get export download URL
Regenerate expired export
Quick guide
Exports are generated in the background: the request is queued, and the file is ready later.
- Request the export with
POST /exports/contacts,POST /exports/delivery-reportsor, for the API send history,POST /messages/history/export. The answer is202, with no export ID. - Wait for it by calling
GET /exportsevery 5 to 10 seconds: the export shows up there only when its file is ready. Recognise it by its type and its creation time. An export that fails never shows up: if nothing appears within a reasonable time, request it again. - Download it:
GET /exports/{exportId}returns a temporary download link. Call it again whenever you need a new link.
An export can be downloaded for 7 days. After that, POST /exports/{exportId} generates it again, under a new ID.
Use cases: UC-018: Export Delivery Reports · UC-002: Complete Campaign Report