Counts over all of the campaign's leads: per status, reason and sender
Access: an API key (or an org-wide key naming the workspace) with view on campaigns.
Unfiltered, for the status strip and the filter menus. Failure codes are canonical (an old spelling counts as the current one), most frequent first.
apiKeyx-api-key<token>Workspace API key (nrk_…), shown once when created
campaignId*string^[0-9a-f]{24}$Default Response
application/json- response
total*integer0 <= value <= 9007199254740991byStatus*replied*integer0 <= value <= 9007199254740991failureCodes*array<>senders*array<>curl -X GET 'https://api.tryzen.co/v1/campaigns/string/leads/facets'{ "total": 0, "byStatus": { "property1": 0, "property2": 0 }, "replied": 0, "failureCodes": [ { "code": "string", "count": 0 } ], "senders": [ { "id": "string", "name": "string", "count": 0 } ]}Add a list's leads to a launched campaign POST
**Access:** an API key (or an org-wide key naming the workspace) with manage on `campaigns`. Every member of the list joins the campaign's own list (the ones already in are kept as they are) and the campaign enrolls them like any lead. Same statuses, resume flags and `resumeRefusal` as adding leads, and the same 409 `campaign_ended` for a finished campaign whose end date has passed (nothing is copied); the campaign's list is held while the members are copied (a concurrent add is 409 `campaign_list_busy`). 409 `source_list_not_found`, `source_list_not_people`, `source_list_busy`, `source_list_is_campaign_list`. Idempotent: adding the same list again adds 0. A list shared by several campaigns gives the leads to each of them.
Pause one lead POST
**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`.