Request export
Export
Request export
Requests a data export from one of the supported endpoints. The export can be delivered as a direct download URL or sent via email.
Supported Endpoints:
/api/v2/call- Export calls/api/v2/campaign- Export campaigns/api/v2/phone-numbers- Export phone numbers/api/v2/solutions/runs- Export solution runs/api/v2/feedbacks- Export feedbacks
Export Formats:
csv- Comma-separated valuesxlsx- Excel spreadsheetmarkdown- Markdown tablejson- JSON array
The params object should include the same query parameters you would use when calling the endpoint directly, including workspaceId.
POST
Request export
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
application/json
API endpoint to export data from
Available options:
/api/v2/call, /api/v2/campaign, /api/v2/phone-numbers, /api/v2/solutions/runs, /api/v2/feedbacks Query parameters to pass to the endpoint (must include workspaceId)
Export file format
Available options:
csv, xlsx, markdown, json How to deliver the export
Available options:
download, email Email address for email delivery