API ReferenceCampaigns
Download campaign source
GET /api/v1/campaign/{id}/source-download-url — signed URL to download the original contact list.
GET /api/v1/campaign/{campaign_id}/source-download-urlReturns a signed URL to download the source file that was registered when the campaign was created. URL expires in ~1 hour.
Response
{
"url": "https://signed-url...",
"expires_at": "2026-06-16T11:00:00Z"
}Examples
curl https://dashboard.zoxa.ai/api/v1/campaign/7/source-download-url \
-H "X-API-Key: zsk_..."Errors
| Status | detail | When |
|---|---|---|
403 | "Access denied: Source file does not belong to your organization" | Cross-org access attempted. |
404 | "Campaign not found" | Id not in your org. |