Endpoint
Set apollo spend
POST/api/public/v1/apollo/spendwrite
Pause Apollo usage without disconnecting the key, set the monthly or daily credit cap, turn the daily cap off, opt in to daily search on your own Apollo key, or choose whether sayintel's Apollo key is used when yours is off. confirm=true commits. Without confirm, nothing is written and the current settings come back. A chat turn cannot commit. Pass campaign_id to set a cap on one conference; omit it for the account. Nothing is looked up and nothing is sent.
Request
curl -X POST "https://sayintel.com/api/public/v1/apollo/spend" \
-H "Authorization: Bearer $SAYINTEL_TOKEN" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{}'Try it out
Try it outPOST/api/public/v1/apollo/spendwrite
Sent as a bearer token to this site only, and kept in this tab's session storage. It is never written to disk or sent anywhere else.
Paste an API key to run.
Body
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| confirm | body | boolean | no | — |
| campaign_id | body | string | no | — |
| paused | body | boolean | no | — |
| monthly_cap | body | number | no | — |
| daily_cap | body | number | no | — |
| daily_cap_off | body | boolean | no | — |
| daily_auto_opt_in | body | boolean | no | — |
| use_workspace_key | body | boolean | no | — |
| workspace | body | string | no | Not accepted on this tool: it acts on your own account, and naming another workspace is refused. |
| acting_account | body | string | no | Which sayintel login this call acts on: an account_id or email from list_accounts. Required once logins are linked to this connection. |
Response
{
"ok": true,
"tool": "set_apollo_spend",
"kind": "write",
"data": { ... },
"error": null
}Notes
- Scope required: write. How scopes work.
- Accepts Idempotency-Key. A retry with the same key replays the first result instead of repeating the work.
- Same capability over MCP as the tool set_apollo_spend. MCP setup.