Replace usage budgets
The full desired set: budgets left out are removed, an empty list returns to unlimited. Pass budget_id to edit one in place. When a cap is hit the agent finishes its turn, stops answering and hands the thread to a human until the window rolls over.
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).
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
{ "budgets": [ { "budget_id": "string", "unit_type": "token", "time_window": "one_day", "max_budget": 1 } ]}Get usage budgets
Caps over rolling windows for the Business Manager that owns the number. An empty list means unlimited.
Send a test message
Runs the message through the full agent pipeline in Meta sandbox with no WhatsApp user and no token billing. Pass back `conversationId` to continue a thread. Meta rate-limits it per number per hour.