---
title: "Approvals, the undo window and spending limits"
description: "Control what your agent can mail: a 10-minute undo window before printing, approval of every letter, a per-letter price limit, and settings for unattended agents."
url: https://sendforme.co/docs/approvals-and-limits
updated: 2026-11-29
---

# Approvals, the undo window and spending limits

> After your first letter, letters go straight out with an undo window (10 minutes by default, 0 to 1440) before they reach the printer. You can make every letter wait for your approval on its proof page, or set a price above which an agent must ask you first. Unattended agents with an API key follow the same settings.

**Say to your agent:** "Make every letter wait for my approval before it's mailed."

## The defaults

- Your first letter always goes through a [setup link](/docs/setup-links), where you see the proof and pay.
- After that, letters go out without a link while there's credit.
- Every letter waits in an **undo window of 10 minutes** before it goes to the printer.

Change any of it on the [account page](/account), under "How letters go out", or ask your agent to use the `account` tool.

## The undo window

When a letter is sent, it's charged and scheduled. It then waits for the undo window before going to the printer. During that time:

- your agent can cancel it with `cancel_letter` ("cancel the letter to Northgate"),
- you can cancel it from the setup page or the letter page,
- and the credit goes back to your balance.

`send_letter` returns `cancel_until`, the exact time it leaves for the printer.

Set it anywhere from **0 to 1440 minutes** (24 hours) with `hold_minutes`. A longer window gives you time to look at every letter your agent sends before it's printed. Zero sends letters to the printer right away.

Once a letter is at the printer, we try to pull it from the print queue if you cancel; if it's already printing, it can't be stopped, and the response says so (`TOO_LATE`). Mailed letters can't be recalled.

A letter with a `mail_date` waits until that date instead, and can be cancelled any time before then.

## Approval for every letter

Set `approval: "each"` and every letter returns a link instead of going out:

- status `awaiting_approval`, with the same page as a setup link: every page, the envelope, the price
- one click on **Mail it** pays from your balance and it goes out
- if the balance is short, the link asks for credit instead

This suits letters that matter: legal notices, anything going to a court or an agency, or an agent you've just started using. Your agent shows you the link and waits, just like the first time.

Set it back with `approval: "auto"`.

## A per-letter price limit

Set `max_letter_usd` (on the account page: "Ask me first when a letter costs more than") and any letter above that price returns an approval link instead of going out. Letters under it go as usual.

For example, with a limit of $5, a one-page First-Class letter at $2.49 goes straight out, and a certified letter at $10.99 waits for your click. In a mail merge, if any letter in the batch is over the limit, the whole batch waits for approval.

Leave it blank (or set 0) for no limit.

## Unattended agents and API keys

Scripts, cron jobs and automations have no one around to open a setup link, so set the account up first:

1. Connect SendForMe in any chat agent and send one letter. That's where you add credit.
2. Sign in on the [account page](/account) with your email and make an API key (it starts with `sfm_`). Give it a label like "invoice script".
3. Use it as `Authorization: Bearer sfm_...` on the [REST API](/docs/rest-api) or the MCP server.

Then pick settings that fit:

- **Auto-reload** (account page, after your first payment): your saved card tops up the balance when a letter needs more, so a send never stops for a setup link.
- **A price limit**: keeps a buggy script from mailing a 40-page certified packet. Anything over it waits for you.
- **A longer undo window**: gives you time to catch a mistake before the printer. An hour or two works well for daily jobs.
- **Approval for every letter** if a person should look at each one. Your script gets `awaiting_approval` and a link to send to that person.

Without credit and without auto-reload, a send returns `needs_setup` (HTTP 402) with a link. Have your automation send that link to someone instead of retrying.

Keys can be revoked on the account page at any time. Treat a key like a password: anyone with it can mail letters on your balance.

## Saving these settings

| Setting | `account` tool field | Range |
|---|---|---|
| Undo window | `hold_minutes` | 0 to 1440, default 10 |
| Approval | `approval` | `auto` (default) or `each` |
| Price limit | `max_letter_usd` | dollars, blank or 0 for none |
| Default mail class | `default_mail_class` | `first_class`, `certified`, `certified_return_receipt` |

Ask your agent "what are my SendForMe settings?" and it shows the current ones.

## FAQ

### Can my agent mail letters without asking me?

After your first letter, yes, while there's credit, with the undo window as a safety net. Turn on approval for every letter if you want to see each one first.

### What happens when I cancel in the undo window?

The letter never reaches the printer and its credit goes back to your balance right away.

### Can I cancel after the undo window?

Only until printing starts, and only if the print queue still lets us pull it. Once it's printed it can't be recalled.

### Can the agent change these settings?

The account tool can save them, but agents are told to change settings only when you ask. You can always set them yourself on the account page.
