Hanzo
OpenapiMarketing

Flips draft/active/archived — the activation gate for sending, since only an…

Flips draft/active/archived — the activation gate for sending, since only an active sequence accepts enrollments.

POST /v1/marketing/sequences/{id}/status

Addresshttps://api.hanzo.ai/v1/marketing/sequences/{id}/status
MethodPOST
Operationpost_marketing_sequences_by_id_status
AuthAuthorization: Bearer $HANZO_API_KEY

Flips draft/active/archived — the activation gate for sending, since only an active sequence accepts enrollments. It does not touch enrollments already walking: archiving stops new ones, not in-flight ones.

Request

3 fields, body application/json (required).

FieldInTypeRequiredDescription
idpathstringyesID is the sequence id from the path.
idbodystringID is the sequence id from the path.
statusbodystringStatus is draft, active or archived.

Response

StatusBodyMeaning
200SequenceStatusok

200 body — 2 fields.

FieldInTypeAlwaysDescription
idbodystringID is the sequence id from the path.
statusbodystringStatus is draft, active or archived.

Failure carries the platform error shape — see Errors.

Examples

hanzo marketing sequences status <id>

Marketing API · All Hanzo APIs · Interactive reference

How is this guide?

On this page