TryzenAPI
Campaigns

Pause a running campaign

POST
/v1/campaigns/{campaignId}/pause

Access: an API key (or an org-wide key naming the workspace) with manage on campaigns.

In progress → Paused. Senders stop working for it and every lead holds before its next step (delays freeze). A move the status machine doesn't allow is 409 campaign_transition_refused.

Authorization

apiKey
headerx-api-key<token>

Workspace API key (nrk_…), shown once when created

Path Parameters

campaignId*string
Match^[0-9a-f]{24}$

Response Body

Default Response

application/json
  1. response
status*string
Value in"draft""scheduled""starting""in_progress""paused""finished""canceled""failed"
previousStatus*string
Value in"draft""scheduled""starting""in_progress""paused""finished""canceled""failed"
Example Request
curl -X POST 'https://api.tryzen.co/v1/campaigns/string/pause'
Example Response
{  "status": "draft",  "previousStatus": "draft"}