Approvals
After this page you know when an agent can spend alone, when a person must say yes, and what each answer means.
The rules
Section titled “The rules”| Situation | What happens |
|---|---|
| Key has no limits (every new key) | never spends alone: every launch, top-up and ending waits for a person |
| First launch of any key | always asks a person |
Launch within the key’s automatic limit (autoActivateUpTo) and under its caps |
goes through without a person |
| Launch above the automatic limit | asks a person |
| Launch that would pass the daily or monthly cap | refused: cap_exceeded. Not a question. Nothing is spent |
| Launch above €5,000 (platform ceiling per launch, and per limit) | refused: over_ceiling |
Limits are set by a person with API access in the dashboard. A key cannot change its own limits. The caps count every launch through the key, including the ones a person approved.
The flow
Section titled “The flow”- The agent calls
campaign_quote_issue. The answer saysrequiresApproval. - It calls
campaign_activatewith thequoteId. If a person is needed the answer isstatus: approval_requiredwith anapprovalIdandapproveAt. Nothing was spent. - People with the right to publish and to fund are emailed. In the dashboard under Agent the request shows the amount, the reason and the consequence. They approve or reject.
- The agent reads
approval_status(no faster than every few seconds) orevents_list. - On yes, the launch runs in the person’s name, through the same code as the Publish button.
Same flow for campaign_budget_add (money into a running campaign) and for campaign_end with confirm: true.
approval_status |
Meaning |
|---|---|
pending |
not answered; do not call the tool that asked again |
approved |
the launch, top-up or ending was carried out |
rejected |
refused. The key waits before it may ask again (approval_cooldown, 60 minutes) |
expired |
nobody answered in 24 hours |
cancelled |
the key was revoked |
Numbers
Section titled “Numbers”| quote valid | 15 minutes, single use |
| request expires after | 24 hours |
| pending requests per workspace | 5 |
| wait after a rejection | 60 minutes |
| quotes and launches per key | 6 per hour |
| platform ceiling | €5,000 per launch |
A quote goes stale if the draft changes (quote_stale) and expires after 15 minutes (quote_expired); quote again. Webhooks: approval.requested, approval.rejected, approval.expired, then campaign.activated.