---
title: "Publish flow"
method: POST
path: "/v1/whatsapp/flows/{flowId}/publish"
tags: ["WhatsApp Flows"]
---

# Publish flow

`POST /v1/whatsapp/flows/{flowId}/publish`

Publish a DRAFT flow. This is irreversible. Once published, the flow and its JSON
become immutable and the flow can be sent to users. To update a published flow,
create a new flow (optionally cloning this one via cloneFlowId).

## Path parameters

- `flowId` string, required

## Request body

- object
  - `accountId` string, required — WhatsApp social account ID

## Response `200`

Flow published

- object
  - `success` boolean

## Other responses

- `400` — Flow is not in DRAFT status or has validation errors
- `401` — Unauthorized
- `404` — WhatsApp account 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)
