---
title: "Limits"
description: "Every operation in this group: what it accepts, what it returns and the errors it can answer with."
url: "https://nextmail.sh/docs/api/reference/limits"
area: "API"
category: "Reference"
---

# Limits

Every operation in this group: what it accepts, what it returns and the errors it can answer with.

## Operations

What the workspace may send and call right now, as the usage page shows it. Starter includes 3,000 emails a month and sends at most 100 a day until a card is on file, counted as recipients across every Starter workspace of its owner together. A card turns pay as you go on, which lifts the daily limit and bills the sends past the monthly one, so the day then reads null. The other plans have no daily limit. The API requests a minute a workspace may make: 1,000 on Starter, 5,000 on Pro and 10,000 on Max. Answered requests are billed at the `apiRequests` rate of the plan while pay as you go is on. Per 1,000,000 requests that is $0.50 on Starter, $0.30 on Pro and $0.20 on Max. Requests refused with 429 `rate_limited`, requests that failed on our side with a 5xx and the ones made before pay as you go started are not billed. Any of these limits can be changed for one workspace by the people who run the service, and the numbers here are the ones a send is checked against.

### `GET /limits`

Read the limits of the workspace

The plan of the workspace, the emails it has sent today and this month with the limit of each and when it resets, and the API requests a minute it may make.

A send that would take the workspace past the daily limit, or past the monthly one while pay as you go is off, paused or at its spending limit, is refused with 429 `send_quota_exceeded`. The count is read before the send, so two sends at the same moment can both pass and go over by what the second one carries. `apiRequestsPerMinute` counts every API key and app of the workspace together.

Requires the `settings:read` scope.

- Scopes: `settings:read`.

**Returns**

- `200` `Limits`: The limits of the workspace.

**Errors**

- The errors every operation can return: `400`, `401`, `403`, `404`, `422`, `429`, `500`, described in the [error catalog](https://nextmail.sh/docs/api/errors).

Also available in: TypeScript [`limits.get()`](https://nextmail.sh/docs/sdk/reference/limits#get); Python [`limits.get()`](https://nextmail.sh/docs/python/reference/limits#get); Ruby [`limits.get`](https://nextmail.sh/docs/ruby/reference/limits#get); PHP [`limits->get`](https://nextmail.sh/docs/php/reference/limits#get); Go [`Limits.Get`](https://nextmail.sh/docs/go/reference/limits#get); Java [`limits().get`](https://nextmail.sh/docs/java/reference/limits#get); C# [`Limits.GetAsync`](https://nextmail.sh/docs/csharp/reference/limits#get); CLI [`nextmail limits get`](https://nextmail.sh/docs/cli/reference/limits#limits-get); MCP [`getLimits`](https://nextmail.sh/docs/mcp/tools/workspace#getLimits).

### Objects

#### `Limits`

`object`

- `object` (`string`, required, one of `"limits"`)
- `plan` (`object`, required)
  - `id` (`string`, required): The id of the plan, such as `free`.
  - `name` (`string`, required): The name of the plan, as the pricing page shows it.
- `sends` (`object`, required)
  - `day` (`object`, required)
    - `limit` (`integer`, required, nullable): The emails the workspace may send today, in UTC, counted as recipients, or null when nothing caps them.
    - `used` (`integer`, required): The emails sent today, in UTC so far, counted as recipients. On Starter this counts every Starter workspace of the owner together.
    - `resetsAt` (`string`, required, format `date-time`): The next midnight UTC, when the daily count starts again.
  - `month` (`object`, required)
    - `limit` (`integer`, required, nullable): The emails the workspace may send this calendar month, in UTC, counted as recipients, or null when nothing caps them.
    - `used` (`integer`, required): The emails sent this calendar month, in UTC so far, counted as recipients. On Starter this counts every Starter workspace of the owner together.
    - `resetsAt` (`string`, required, format `date-time`): The first instant of the next month in UTC, when the monthly count starts again.
- `apiRequestsPerMinute` (`integer`, required): The API requests a minute the workspace may make, across all its API keys and apps: 1,000 on Starter, 5,000 on Pro and 10,000 on Max, unless it was given a limit of its own. Answered requests are billed at the `apiRequests` rate of the plan while pay as you go is on. Per 1,000,000 requests that is $0.50 on Starter, $0.30 on Pro and $0.20 on Max. Requests refused with 429 `rate_limited`, requests that failed on our side with a 5xx and the ones made before pay as you go started are not billed.
