---
title: "Update flow"
method: PATCH
path: "/v1/whatsapp/flows/{flowId}"
tags: ["WhatsApp Flows"]
---

# Update flow

`PATCH /v1/whatsapp/flows/{flowId}`

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

## Path parameters

- `flowId` string, required

## Request body

- object
  - `accountId` string, required — WhatsApp social account ID
  - `name` string — New flow name
  - `categories` string[]

## Response `200`

Flow updated

- object
  - `success` boolean

## Other responses

- `400` — At least one of name or categories is required, or flow is not in DRAFT status
- `401` — Unauthorized
- `404` — WhatsApp account or flow not found

---

[API](https://skmtc.net/zernio/apis/zernio-api.md) · [All operations](https://skmtc.net/zernio/apis/zernio-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/zernio/zernio-api/versions/51932b099b2f/schema)
