TryzenAPI
Campaigns

Stop one lead's sequence

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

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

Pending, In progress or Paused → Finished, for good. A step not yet picked up is withdrawn; one a sender is performing right now still completes. 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/stop'
Example Response
{  "status": "pending",  "previousStatus": "pending"}