# Limits

How large a request can be, what a plan allows, and how long things are kept.

## Sizes

| What | Limit |
| --- | --- |
| Recipients of one email | 50, counting `to`, `cc` and `bcc` |
| Subject | 500 characters |
| HTML body, and text body | 200,000 characters each |
| Headers of your own | 20 |
| Tags | 10 |
| Attachments | 10 files, 10 MB together |
| Emails in one batch | 100 |
| Scheduling ahead | 30 days |
| Names | 120 characters |
| Items on one page of a list | 100 |
| Idempotency key | 256 characters, kept for 24 hours |

A request past one of these is refused with `422`, and the message names the field.

## What a plan allows

| Limit | Free | Pro | Max |
| --- | --- | --- | --- |
| Price a month | $0.00 | $20.00 | $90.00 |
| Price a year | $0.00 | $200.00 | $900.00 |
| Emails | 5K | 75K | 200K |
| Marketing | 5K | 75K | 200K |
| Received | 5K | 75K | 200K |
| Contacts | 2K | 15K | 60K |
| Domains | 5 | 25 | 1K |
| Members | 5 | 15 | 50 |
| API requests | 100K | 1M | 10M |
| Storage | 1 GB | 10 GB | 100 GB |
| Past a limit of emails | Sending stops | $0.70 per extra 1,000 emails | $0.45 per extra 1,000 emails |

A new domain, member or contact past the number of the plan is refused, with `domain_limit`, `member_limit` or `contact_limit`.

- Emails and API requests are counted by calendar month, in UTC, and the counts start again on the first.
- On a plan that stops at its limits, an email, a batch or a broadcast that would pass the number of the month is refused with `email_limit`. An automation that would send pauses itself and says so.
- On a plan that charges, sending goes on. Each email past a limit is counted, and the workspace shows the count and what it costs so far as `extra`.
- Mail that arrives is never turned away. Past the limit it is still stored, and on a plan that charges it counts as extra.

cURL:

```bash
curl "$OPENSEND_API_URL/v1/workspace" \
  -H "Authorization: Bearer $OPENSEND_API_KEY"
```

TypeScript:

```ts
await opensend.workspace.get()
```

CLI:

```bash
opensend workspace get
```

MCP:

```json
{
  "name": "workspace_get",
  "arguments": {}
}
```

## Requests

There is no fixed number of requests per second. The assistant is the one exception: a workspace that asks a lot within an hour gets `429` with the code `ask_busy`.

## Webhooks

- Your endpoint has 5 seconds to answer.
- A delivery is tried up to 6 times.
- A delivery is kept for 30 days.
