Skip to main content
GET
/
v2
/
export
/
campaign
/
{campaign_id}
Export campaign data as downloadable file
curl --request GET \
  --url https://app.closerx.ai/api/v2/export/campaign/{campaign_id}/ \
  --header 'Company-Name: <company-name>' \
  --header 'api_key: <api-key>'
"<string>"

Authorizations

api_key
string
header
required

Headers

Company-Name
string
required

The schema name for multi-tenancy (company-wise DB separation)

Path Parameters

campaign_id
string
required

The unique ID of the campaign (e.g., quickcamp2062236c)

Query Parameters

page
integer
sort_by
string
outcome
string
date
string<date>
from_date
string<date>
to_date
string<date>

Response

Downloadable campaign export file (ZIP, CSV, or Excel)

The response is of type file.