Campaigns

Export campaign call logs as a JSON file

Streams a JSON file containing every call log for a campaign.

Response is a file download (Content-Disposition: attachment), not the standard {status, data} envelope. Body is a raw JSON array of log objects. When the relay-service is configured and reachable, each row also includes an events array; otherwise the field is omitted.

get/campaign/{id}/logs/export

Path parameters

idstring required

Campaign ID.

Response

Campaign-logs JSON file. Content-Disposition: attachment; filename=campaign-logs-<campaignName>-<createdAt>.json.

_idstring
callIdstring
statusstring
durationnumber
recordingUrlstring nullable
fromstring nullable
tostring nullable
agentIdstring
statusDetailsstring[]
eventsobject[]

Relay-service event stream. Omitted when relay isn't configured.

Changes