TryzenAPI
Campaigns

Pause one lead

POST
/v1/campaigns/{campaignId}/leads/{campaignLeadId}/pause

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

In progress → Paused. The lead holds before its next step (a running delay freezes) until it is resumed; the rest of the campaign keeps going. 409 lead_step_in_flight while a sender performs its current step, lead_not_started for a pending lead. A lead that moved meanwhile is 409 campaign_lead_changed.

Authorization

apiKey
headerx-api-key<token>

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

Path Parameters

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

Response Body

Default Response

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