WhatsApp
Deprecate flow
POSThttps:/ / zernio.com/ api/ v1/ whatsapp/ flows/ {flowId}/ deprecate
Deprecate a PUBLISHED flow. This is irreversible. Deprecated flows cannot be sent or opened, but existing active sessions may continue until they complete.
Authentication
AuthorizationBearer tokenRequired
API key authentication: send your Zernio API key in the Authorization header, prefixed with Bearer.
Path parameters
flowIdstringRequired
Flow ID
Body
application/jsonWhat every request needs
accountIdstringRequired
WhatsApp account ID
Responses
Success· the request worked
Errors· the request failed
Publish flow
Publish a DRAFT flow. This is irreversible. Once published, the flow and its JSON become immutable and the flow can be sent to users. To update a published flow, create a new flow (optionally cloning this one via cloneFlowId).
Send flow message
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.