List agent settings
Settings of every agent configured on the number (normally one). Pass agentId to read one.
Authorization
bearerAuth API key authentication: send your Zernio API key in the Authorization header, prefixed with Bearer.
In: header
Path Parameters
WhatsApp social account id (the number must be managed through the Cloud API).
Query Parameters
Response Body
application/json
application/json
application/json
application/json
application/json
{ "settings": [ { "agent_id": "string", "channel": "string", "rollout": { "enabled": true }, "handoff": { "enabled": true, "message": "string", "message_selection": "DEFAULT" }, "followup": { "enabled": true, "followup_interval_in_seconds": 0, "message": "string" }, "ai_audience": "EVERYONE", "never_say_phrases": [ "string" ] } ]}Create the agent
Creates the Meta Business Agent on the number and schedules Meta's data preparation. Requires the terms to be accepted; eligibility is checked first and an ineligible number answers 403 `business_agent_not_eligible`. Not idempotent: call it once, then configure knowledge and skills, then enable it through the settings. Configuration calls made in the first minute can still answer `business_agent_not_found` while Meta prepares the workspace.
Update agent settings
Partial update: fields you omit keep their value. `rollout.enabled: true` turns the agent on for new conversations; `false` stops it on every thread. Turning it on for `EVERYONE` needs a payment method on the Business Agent billable account (Meta accepts the call but delivers nothing without one); `ALLOWLISTED_ONLY` does not, which is how you test with a few numbers before billing. `never_say_phrases` replaces the whole list.