Meta Business Agent
Run a connector tool once
Executes the tool against the merchant API and returns the raw upstream result, to check a connector before the agent relies on it.
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).
connectorId*string
toolId*string
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.runBusinessAgentConnectorTool({ path: { accountId: 'account_abc123', connectorId: 'connector_abc123', toolId: 'tool_abc123', }, body: { input: 'string', },});console.log(data);{ "output": "string", "status": "string"}Was this page helpful?