List flow responses
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.
API key authentication - use your Zernio API key as a Bearer token
In: header
Query Parameters
WhatsApp social account ID
Scope to responses for this flow
Max responses to return
50value <= 200Response 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.listWhatsAppFlowResponses({ query: { accountId: 'account_abc123', },});console.log(data);{
"responses": [
{
"id": "string",
"receivedAt": "2019-08-24T14:15:22Z",
"from": "string",
"senderName": "string",
"conversationId": "string",
"flowToken": "string",
"data": {},
"raw": "string"
}
]
}{
"error": "Unauthorized"
}Send flow message POST
Send a published flow as an interactive message with a CTA button. When the recipient taps the button, the flow opens natively in WhatsApp. Flow responses are received via webhooks.
List your sandbox sessions GET
Returns all of the authenticated user's non-expired sandbox sessions (pending + active) plus the sandbox phone number. In practice there is at most one session per user since the sandbox is one-phone-per-user; the array shape is preserved for forward compatibility.