Skip to content

Update flow

Update metadata (name, categories) of a DRAFT flow. Published flows are immutable.

PATCH /v1/whatsapp/flows/{flowId}

Update metadata (name, categories) of a DRAFT flow. Published flows are immutable.

Parameters

  • flowId (path, string) required — Flow ID

Request body

Content-Type: application/json

  • accountId (string) required — WhatsApp social account ID
  • name (string) — New flow name
  • categories (array)

Responses

200 — Flow updated

  • success (boolean)

400 — At least one of name or categories is required, or flow is not in DRAFT status

401

404 — WhatsApp account or flow not found