TryzenAPI
Campaigns

Resume a paused (or finished) campaign

POST
/v1/campaigns/{campaignId}/resume

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

Paused or Finished → Starting; the campaign then moves to In progress by itself. Held leads continue with what was left of their delays. Refused (409, with the reason in error.problems) when none of its senders is connected (no_connected_sender) or when its schedule's end date has passed (end_date_passed; move a paused campaign's end date first, extend a finished one's). 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/resume'
Example Response
{  "status": "draft",  "previousStatus": "draft"}