WhatsApp
Get flow JSON asset
Get the flow JSON asset metadata, including a temporary download URL for the Flow JSON file.
Authorization
bearerAuth AuthorizationBearer <token>
API key authentication: send your Zernio API key in the Authorization header, prefixed with Bearer.
In: header
Path Parameters
flowId*string
Flow ID
Query Parameters
accountId*string
WhatsApp 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.getWhatsAppFlowJson({ path: { flowId: 'flow_abc123', }, query: { accountId: 'account_abc123', },});console.log(data);{ "success": true, "assets": [ { "name": "string", "asset_type": "string", "download_url": "string" } ]}Was this page helpful?
Delete flow
Delete a DRAFT flow. This is irreversible. Only flows in DRAFT status can be deleted.
Upload flow JSON
Upload or update the Flow JSON for a DRAFT flow. The Flow JSON defines all screens, components (text inputs, dropdowns, date pickers, etc.), and navigation. Meta validates the JSON on upload and returns any validation errors. See: https://developers.facebook.com/docs/whatsapp/flows/reference/flowjson