Export campaign audience data
Campaigns
Export Campaign Audience Data
Export campaign audience data as an Excel (.xlsx) file with optional filters. Columns include dynamic fields based on agent metadata.
GET
Export campaign audience data
Use this endpoint to export campaign audience data as an Excel file (.xlsx) with optional filters.
Endpoint
GET/export-campaign-audience-data
Authentication: Required (workspace auth)
Query Parameters
Audience Status Values
Response
Returns an Excel file (.xlsx) with the following columns:
Notes
- The response is a binary Excel file stream, not JSON.
- Set your HTTP client to handle binary/file responses.
- Dynamic columns are derived from the agent’s metadata input configuration.
- The
campaign_idmust belong to the authenticated company and workspace. - Date filter applies to
CREATED_DATEof the audience record.
Example cURL
Headers
API token for authentication
Query Parameters
Campaign identifier
Partial mobile number search
Filter by audience status. Valid values: fresh, completed, halted, inqueue
Available options:
fresh, completed, halted, inqueue Filter by call status
Filter by first call status
Filter by last call status
Filter by attempt count
Date range filter
Response
Excel file download
The response is of type file.

