Skip to main content
GET
Export campaign data
Use this endpoint to export campaign data as an Excel file (.xlsx) with optional filters.

Endpoint

GET /export-campaign-data Authentication: Required (workspace auth)

Query Parameters

Campaign 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.
  • If no campaign_status is provided, all statuses except deleted are included.
  • Date filter applies to CREATED_DATE of the campaign.

Example cURL

Headers

token
string
required

API token for authentication

Query Parameters

agent_id
integer

Filter by agent ID

campaign_name
string

Partial name search (LIKE)

campaign_status
enum<string>

Filter by status. Valid values: draft, inprogress, hold, pause, force_completed. Defaults to all.

Available options:
draft,
inprogress,
hold,
pause,
force_completed
date_range
string

Date range filter

Response

Excel file download

The response is of type file.