whatsapp flows
Deprecate flow
Deprecate a PUBLISHED flow. **This is irreversible.** Deprecated flows cannot be sent or opened, but existing active sessions may continue until they complete.
AuthorizationBearer <token>
API key authentication - use your Zernio API key as a Bearer token
In: header
Path Parameters
flowIdstring
Flow ID
accountIdstring
WhatsApp social account ID
Response Body
application/json
application/json
curl -X POST "https://zernio.com/api/v1/whatsapp/flows/string/deprecate" \ -H "Content-Type: application/json" \ -d '{ "accountId": "string" }'{
"success": true
}Empty
{
"error": "Unauthorized"
}Empty
Delete flow DELETE
Delete a DRAFT flow. This is irreversible. Only flows in DRAFT status can be deleted.
Publish flow POST
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`).