whatsapp flows
List flows
List all WhatsApp Flows for the Business Account (WABA) associated with the given account.
AuthorizationBearer <token>
API key authentication - use your Zernio API key as a Bearer token
In: header
Query Parameters
accountIdstring
WhatsApp social account ID
Response Body
application/json
application/json
curl -X GET "https://zernio.com/api/v1/whatsapp/flows?accountId=string"{
"success": true,
"flows": [
{
"id": "string",
"name": "string",
"status": "DRAFT",
"categories": [
"string"
],
"validation_errors": [
{}
]
}
]
}Empty
{
"error": "Unauthorized"
}Empty
Check subreddit existence GET
Check if a subreddit exists and return basic info (title, subscriber count, NSFW status, post types allowed). Uses Reddit's public JSON API (no Reddit auth needed). Returns `exists: false` for private, banned, or nonexistent subreddits.
Create flow POST
Create a new WhatsApp Flow in DRAFT status. Optionally clone an existing flow. After creating, upload a Flow JSON definition, then publish to make it sendable.