OverviewProductsPlatformsAPI ReferenceResources
WhatsApp

List flow versions

GEThttps://zernio.com/api/v1/whatsapp/flows/{flowId}/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 only itself as version 1.

Authentication

AuthorizationBearer tokenRequired

API key authentication: send your Zernio API key in the Authorization header, prefixed with Bearer.

Path parameters

flowIdstringRequired

Flow ID

Query parameters

accountIdstringRequired

WhatsApp account ID

Responses

Success· the request worked

Errors· the request failed

GET/v1/whatsapp/flows/{flowId}/versions
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    }  ]}
OpenAPI specification
Was this page helpful?