# GET/PUT /api/v1/inboxes/:id/spend-policy

Auth: Bearer

HTML: https://cooperemail.com/docs/reference/spend-policy

## Summary

Read or set per-inbox send limits. max_sends_per_day is an integer from 1 to 10000 or null. A later send that day returns HTTP 429 send_limit_exceeded with sent and limit. domain_allow and domain_block are hostnames. A blocked domain is HTTP 403 recipient_domain_blocked. A domain outside a non-empty allow list is HTTP 403 recipient_domain_denied. Subdomains match the listed domain. approval_keywords are case-insensitive substrings. approval_amount_cents holds the message when the text names a dollar amount at or above that many cents. Either rule stages the existing owner-approval draft instead of sending and needs a verified owner. Omitting a field leaves it unchanged. COOPER_SPEND_LIMITS=off disables enforcement. The default is on. MCP: cooper_set_spend_policy. Guide: /blog/per-inbox-spend-and-approval-limits.

## Request

```json
{
  "max_sends_per_day": 20,
  "domain_block": [
    "example.net"
  ],
  "approval_keywords": [
    "wire"
  ],
  "approval_amount_cents": 50000
}
```

## Response

The OpenAPI document does not declare a JSON response schema for this call. The summary is the contract.

## Errors

- HTTP 429 send_limit_exceeded
- HTTP 403 recipient_domain_blocked
- HTTP 403 recipient_domain_denied

The live `message` is the sentence for that code. Branch on `code`.

```json
{
  "error": {
    "type": "rate_limit",
    "code": "send_limit_exceeded",
    "docs_url": "https://cooperemail.com/docs#send_limit_exceeded"
  }
}
```

## Idempotency

This route does not document Idempotency-Key or client_id.
