Hanzo
OpenapiMarketing

Registers a drip sequence in the caller's org.

Registers a drip sequence in the caller's org.

POST /v1/marketing/sequences

Addresshttps://api.hanzo.ai/v1/marketing/sequences
MethodPOST
Operationpost_marketing_sequences
AuthAuthorization: Bearer $HANZO_API_KEY

Registers a drip sequence in the caller's org. Name is required; status defaults to draft, and a sequence must be ACTIVE before it will accept enrollments. The id, createdAt and updatedAt of the input are ignored — the server assigns them.

Request

5 fields, body application/json (required).

FieldInTypeRequiredDescription
createdAtbodyintegerCreatedAt is unix seconds when the sequence was registered, server-assigned and never rewritten.
idbodystringID is the server-assigned sequence id ("seq_" + 128 random bits).
namebodystringName is the sequence's label.
statusbodystringStatus is the lifecycle: draft, active or archived.
updatedAtbodyintegerUpdatedAt is unix seconds of the last status flip, server-assigned, and the key the sequence list is ordered by (newest first).

Response

StatusBodyMeaning
200Sequenceok

200 body — 5 fields.

FieldInTypeAlwaysDescription
createdAtbodyintegerCreatedAt is unix seconds when the sequence was registered, server-assigned and never rewritten.
idbodystringID is the server-assigned sequence id ("seq_" + 128 random bits).
namebodystringName is the sequence's label.
statusbodystringStatus is the lifecycle: draft, active or archived.
updatedAtbodyintegerUpdatedAt is unix seconds of the last status flip, server-assigned, and the key the sequence list is ordered by (newest first).

Failure carries the platform error shape — see Errors.

Examples

hanzo marketing sequences create

Marketing API · All Hanzo APIs · Interactive reference

How is this guide?

On this page