Appearance
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 IDname(string) required — Flow display namecategories(array) required — Flow categoriescloneFlowId(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