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.
Authentication
API key authentication: send your Zernio API key in the Authorization header, prefixed with Bearer.
Path parameters
WhatsApp social account id (the number must be managed through the Cloud API).
Responses
Success· the request worked
Errors· the request failed
How it behaves
Setup order
Not idempotent: call it once, then:
- Configure knowledge and skills.
- Enable it through the settings.
Configuration calls made in the first minute can still answer business_agent_not_found while Meta prepares the workspace.
Get agent setup status
One read that says where the merchant is with the Meta Business Agent. It reports: - whether the number is eligible - whether the Meta Business Agent terms are accepted - whether an agent exists - whether it is on - its settings ### Pending steps - `manualSteps` lists what Zernio can verify is still pending (accepting the terms in WhatsApp Manager). - `unverifiedSteps` lists what Meta exposes no state for (the payment method in Billing Hub). Never fails for those pre-setup states; it reports them as flags.
List agent settings
Settings of every agent configured on the number (normally one). Pass `agentId` to read one.