Skip to content

Create flow

Create a new WhatsApp Flow in DRAFT status. Optionally clone an existing flow. After creating, upload a Flow JSON definition, then publish to make it sendable.

POST /v1/whatsapp/flows

Create a new WhatsApp Flow in DRAFT status. Optionally clone an existing flow. After creating, upload a Flow JSON definition, then publish to make it sendable.

Request body

Content-Type: application/json

  • accountId (string) required — WhatsApp social account ID
  • name (string) required — Flow display name
  • categories (array) required — Flow categories
  • cloneFlowId (string) — Optional: ID of an existing flow to clone

Responses

200 — Flow created

  • success (boolean)
  • flow (object)

400 — Validation error

401

404 — WhatsApp account not found