Meta Business Agent
List connector tools
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
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.listBusinessAgentConnectorTools({ path: { accountId: 'account_abc123', connectorId: 'connector_abc123', },});console.log(data);{ "tools": [ { "name": "string", "description": "string", "request_definition": {}, "user_auth_required": true, "user_auth_action_config": {}, "transformation_spec": {}, "id": "string" } ]}Was this page helpful?
Get connector failure logs
Third-party failures over the last 7 days (window at most 7 days, default the last 24 hours). Each entry carries `failure_code_name` and `error_message`.
Create a connector tool
One operation on the connector, with the request definition Meta uses to build the outbound call from the conversation. Type the body params explicitly. Not idempotent.