List flows
List all WhatsApp Flows for the Business Account (WABA) associated with the given account.
API key authentication - use your Zernio API key as a Bearer token
In: header
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.listWhatsAppFlows({ query: { accountId: 'account_abc123', },});console.log(data);{
"success": true,
"flows": [
{
"id": "string",
"name": "string",
"status": "DRAFT",
"categories": [
"string"
],
"validation_errors": [
{}
],
"version": 0,
"lineageId": "string"
}
]
}{
"error": "Unauthorized"
}Get number status GET
Live snapshot of a connected number straight from Meta: the phone-number node (display number, display name + approval, quality rating, messaging-limit tier, throughput, official-business badge, connection status, health_status) and its owning WhatsApp Business Account (name, business verification, timezone, health_status). Fetched live because Meta updates quality/tier/name/health over time; the call also refreshes the cached values shown on the connection card.
Create flow POST
Create a new WhatsApp Flow in DRAFT status. Optionally clone an existing flow. After creating, upload a Flow JSON definition, then publish to make it sendable.