List flow versions
List the flow's version history (the clone lineage Zernio tracks, since Meta has no native versioning), newest version first. Each entry is enriched with the version's live name and status from Meta. A flow with no lineage returns just itself as version 1.
API key authentication - use your Zernio API key as a Bearer token
In: header
Path Parameters
Flow ID
Query Parameters
WhatsApp social account ID
Response Body
application/json
application/json
import Zernio from '@zernio/node';const zernio = new Zernio({ apiKey: process.env.ZERNIO_API_KEY });const { data } = await zernio.whatsappflows.listWhatsAppFlowVersions({ path: { flowId: 'flow_abc123', }, query: { accountId: 'account_abc123', },});console.log(data);{
"versions": [
{
"flowId": "string",
"version": 0,
"parentFlowId": "string",
"name": "string",
"status": "string",
"missing": true
}
]
}{
"error": "Unauthorized"
}List flow responses GET
List the responses customers submitted when completing a flow (parsed from the nfm_reply messages received via webhook), newest first. Scope to a single flow with `flowId` — this matches responses whose flow_token carries the `<flowId>:` prefix that Zernio stamps on auto-generated tokens at send time. Responses sent with a custom integrator-supplied flow_token are not attributed to a flow.
List flows GET
List all WhatsApp Flows for the Business Account (WABA) associated with the given account.