Export Campaign Report
Start a CSV export for a selected campaign report view.
Personal tokens are not supported for this endpoint. Use an integration API key. Your account must also have access to the requested data. Authentication
Returns 202 with background-job progress. Poll Jobs with an integration key; an accepted request does not contain the completed CSV.
Start a CSV export for the selected campaign report view. Returns background job progress; poll using an integration key. Personal access tokens are not supported.
Personal access tokens are not supported for this endpoint. Use an integration API key with the required permissions.
API_keyAuthorizationBearer <token>Bearer authentication using an integration API key, or a personal access token only where the operation explicitly supports it. Every listed personal-token scope is required; owner permissions and newsroom access still apply.
campaign_id*integerview*string"recipients""sent""delivered""clicked""opened""unopened""undelivered""unsubscribed"sort?stringSee Ordering Results
[-+]?(\w+\.)*\w+Export accepted for background processing
application/json- response
Such responses are returned when the request was validated and understood, but is too large to fulfill within the response timeout. In that case a background job is pushed and a 202 Accepted response is generated containing Job ID. Job ID can be used with Jobs API to check status for.
status*"accepted""accepted"progress*Background Job Reference object
curl -X POST 'https://api.prezly.com/v2/campaigns/0/reports/recipients/export'{ "status": "accepted", "progress": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "links": [ "http://example.com" ] }}