Hanzo
OpenapiCampaign

Pause every live channel on a campaign at its provider

Pauses each live channel on its provider and answers the whole campaign, moved to `paused`, with the per-channel outcome written back onto it.

POST /v1/campaign/{id}/pause

Addresshttps://api.hanzo.ai/v1/campaign/{id}/pause
MethodPOST
Operationpost_campaign_by_id_pause
AuthAuthorization: Bearer $HANZO_API_KEY

Pauses each live channel on its provider and answers the whole campaign, moved to paused, with the per-channel outcome written back onto it.

Only channels that are live and carry a provider reference are touched; a channel whose executor is no longer wired is marked unavailable and one whose pause errored is marked failed, with the reason on the row. The campaign still reports paused in both cases, and that is deliberate rather than sloppy: no live channel remains that this process will meter, and the rows say exactly which provider was not reached so it can be settled by hand.

Org-scoped and fails closed: a valid bearer is required (403 without one) and the campaign is read under the caller's OWN org, so another tenant's id is a 404.

Request

1 field.

FieldInTypeRequiredDescription
idpathstringyes

Response

The document declares no response body for this operation. It answers 200 on success and the platform error shape on failure — see Errors.

Examples

hanzo campaign pause <id>

Campaign API · All Hanzo APIs · Interactive reference

How is this guide?

On this page