whatsapp flows
Update flow
Update metadata (name, categories) of a DRAFT flow. Published flows are immutable.
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
name?string
New flow name
Length
length <= 128categories?array<string>
Items
1 <= itemsResponse 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.updateWhatsAppFlow({ path: { flowId: 'flow_abc123', }, body: { accountId: 'account_abc123', },});console.log(data);{
"success": true
}Empty
{
"error": "Unauthorized"
}Empty