Meta Business Agent
Update a connector tool
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.updateBusinessAgentConnectorTool({ path: { accountId: 'account_abc123', connectorId: 'connector_abc123', toolId: 'tool_abc123', }, body: { name: 'Example', description: 'Hello, world!', request_definition: {}, },});console.log(data);{ "name": "string", "description": "string", "request_definition": {}, "user_auth_required": true, "user_auth_action_config": {}, "transformation_spec": {}, "id": "string"}Was this page helpful?