OverviewPlatformsAPI ReferenceResources
WhatsApp

Get flow

GEThttps://zernio.com/api/v1/whatsapp/flows/{flowId}

Get details for a specific flow, including status, categories, validation errors, and preview URL.

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

fieldsstring

Comma-separated fields to return (default: id,name,status,categories,validation_errors,json_version,preview,data_api_version,endpoint_uri)

Responses

Success· the request worked

Errors· the request failed

GET/v1/whatsapp/flows/{flowId}
import Zernio from '@zernio/node';const zernio = new Zernio({ apiKey: process.env.ZERNIO_API_KEY });const { data } = await zernio.whatsappflows.getWhatsAppFlow({  path: {    flowId: 'flow_abc123',  },  query: {    accountId: 'account_abc123',  },});console.log(data);
{  "success": true,  "flow": {    "id": "string",    "name": "string",    "status": "string",    "categories": [      "string"    ],    "validation_errors": [      {}    ],    "json_version": "string",    "preview": {      "preview_url": "string",      "expires_at": "string"    }  }}
OpenAPI specification
Was this page helpful?