OverviewProductsPlatformsAPI ReferenceResources
Meta Business Agent

Create a FAQ

POSThttps://zernio.com/api/v1/accounts/{accountId}/business-agent/faqs

One specific question per entry; beyond a few hundred entries retrieval quality drops. Not idempotent.

Authentication

AuthorizationBearer tokenRequired

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

Path parameters

accountIdstringRequired

WhatsApp social account id (the number must be managed through the Cloud API).

Body

application/json

What every request needs

questionstring, max 1000Required

Phrase it the way a customer would ask it; one topic per entry.

answerstring, max 8000Required

Self-contained; the agent retrieves entries independently.

Optional parameters1 field
metadataobject

Responses

Success· the request worked

Errors· the request failed

POST/v1/accounts/{accountId}/business-agent/faqs
import Zernio from '@zernio/node';const zernio = new Zernio({ apiKey: process.env.ZERNIO_API_KEY });const { data } = await zernio.businessagent.createBusinessAgentFaq({  path: {    accountId: 'account_abc123',  },  body: {    question: 'string',    answer: 'string',  },});console.log(data);
{  "question": "string",  "answer": "string",  "metadata": {    "property1": "string",    "property2": "string"  },  "id": "string",  "created_at": 0}
OpenAPI specification
Was this page helpful?