OverviewProductsPlatformsAPI ReferenceResources
WhatsApp

Get ice breakers and commands

GEThttps://zernio.com/api/v1/whatsapp/conversational-automation

Read the number's conversational automation (Meta's conversational_automation): ice breaker prompts, slash commands and the welcome-message flag. A number with none set returns the empty configuration.

Authentication

AuthorizationBearer tokenRequired

API key authentication: send your Zernio API key in the Authorization header, prefixed with Bearer.

Query parameters

accountIdstringRequired

WhatsApp account ID

Responses

Success· the request worked

Errors· the request failed

GET/v1/whatsapp/conversational-automation
import Zernio from '@zernio/node';const zernio = new Zernio({ apiKey: process.env.ZERNIO_API_KEY });const { data } = await zernio.whatsapp.getWhatsAppConversationalAutomation({  query: {    accountId: 'account_abc123',  },});console.log(data);
{  "data": {    "enable_welcome_message": true,    "prompts": [      "string"    ],    "commands": [      {        "command_name": "string",        "command_description": "string"      }    ]  }}
OpenAPI specification
Was this page helpful?