OverviewPlatformsAPI ReferenceResources
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/json

What every request needs

accountIdstringRequired

WhatsApp account ID

Responses

Success· the request worked

Errors· the request failed

POST/v1/whatsapp/flows/{flowId}/deprecate
import Zernio from '@zernio/node';const zernio = new Zernio({ apiKey: process.env.ZERNIO_API_KEY });const { data } = await zernio.whatsappflows.deprecateWhatsAppFlow({  path: {    flowId: 'flow_abc123',  },  body: {    accountId: 'account_abc123',  },});console.log(data);
{  "success": true}
OpenAPI specification
Was this page helpful?