Meta Business Agent
Create a connector
POSThttps:/ / zernio.com/ api/ v1/ accounts/ {accountId}/ business-agent/ connectors
Base URL plus how to authenticate (OAuth client credentials, API key or none). Names are unique per number. Not idempotent.
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).
Body
application/jsonWhat every request needs
namestringRequired
Unique per number.
base_urlstring (uri)Required
Public HTTPS URL reachable from Meta.
auth_typestringRequiredOne of
OAUTH2_CLIENT_CREDENTIALS | API_KEY | NONEOptional parameters5 fields
descriptionstring
Tell the agent what the service provides.
connector_protocolstring
auth_configobject
user_auth_injection_configobject
locationstringRequired
field_namestringRequired
requires_certificateboolean