Meta Business Agent
Create a FAQ
One specific question per entry; beyond a few hundred entries retrieval quality drops. Not idempotent.
Authorization
bearerAuth AuthorizationBearer <token>
API key authentication: send your Zernio API key in the Authorization header, prefixed with Bearer.
In: header
Path Parameters
accountId*string
WhatsApp social account id (the number must be managed through the Cloud API).
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
application/json
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}Was this page helpful?