zoxaAI
Homepage
API ReferenceCampaigns

Unarchive a campaign

POST /api/v1/campaign/{id}/unarchive — restore an archived campaign to the live list.

POST /api/v1/campaign/{campaign_id}/unarchive

Restore an archived campaign to the live list. Reverses archive: archived_at is cleared, the campaign reappears in the default list, and it becomes editable / startable / resumable again in whatever state it held when archived.

Response

200 OK with the campaign response and archived_at back to null. A campaign_unarchived entry is appended to the campaign's logs[].

Examples

curl -X POST https://dashboard.zoxa.ai/api/v1/campaign/7/unarchive \
  -H "X-API-Key: zsk_..."

Errors

StatusdetailWhen
404"Campaign not found"Id not in your org.

On this page