OverviewProductsPlatformsAPI ReferenceResources
Meta Business Agent

Get a connector

GEThttps://zernio.com/api/v1/accounts/{accountId}/business-agent/connectors/{connectorId}

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).

connectorIdstringRequired

Responses

Success· the request worked

Errors· the request failed

GET/v1/accounts/{accountId}/business-agent/connectors/{connectorId}
import Zernio from '@zernio/node';const zernio = new Zernio({ apiKey: process.env.ZERNIO_API_KEY });const { data } = await zernio.businessagent.getBusinessAgentConnector({  path: {    accountId: 'account_abc123',    connectorId: 'connector_abc123',  },});console.log(data);
{  "name": "string",  "description": "string",  "base_url": "http://example.com",  "connector_protocol": "string",  "auth_type": "OAUTH2_CLIENT_CREDENTIALS",  "auth_config": {    "oauth2_client_credentials": {      "token_url": "http://example.com",      "scopes_to_request": [        "string"      ],      "token_request_content_type": "string",      "client_id": "string",      "client_secret": "string"    },    "api_key": {      "headers": [        {          "field_name": "string",          "value": "string",          "prefix": "string"        }      ],      "query_params": [        {          "field_name": "string",          "value": "string",          "prefix": "string"        }      ],      "body_params": [        {          "field_name": "string",          "value": "string",          "prefix": "string"        }      ]    }  },  "user_auth_injection_config": {    "location": "string",    "field_name": "string",    "prefix": "string"  },  "requires_certificate": true,  "id": "string",  "mcp_tool_sync": {},  "mtls_config": {},  "connection_status": {    "status": "string",    "error_message": "string"  }}
OpenAPI specification
Was this page helpful?