# Rate limits (/rate-limits)



Limits are counted **per key, per minute**. The ceiling comes from your plan, and
higher plans allow more; see [pricing](https://sendkuy.com/pricing). `GET /account`
reports your current ceiling as `rate_limit`.

Every response carries the current state:

| Header                  | Meaning                             |
| ----------------------- | ----------------------------------- |
| `X-RateLimit-Limit`     | Requests you may make this minute   |
| `X-RateLimit-Remaining` | Requests left in the current window |

A `429` also carries:

| Header              | Meaning                                 |
| ------------------- | --------------------------------------- |
| `X-RateLimit-Reset` | Unix seconds at which the window resets |
| `Retry-After`       | Seconds to wait                         |

Going over answers `429` with `rate_limit_exceeded`. Back off for `Retry-After`
seconds and retry; the request was not processed, so retry with the same
`Idempotency-Key`.

## Reading these from a browser [#reading-these-from-a-browser]

All of the above, plus `X-Request-Id` and `Idempotent-Replay`, are listed in the
API's CORS `exposed_headers`. Without that list a browser can read only the
seven headers CORS allows by default, and `fetch` would return `null` for these
even though they are on the response.

## Checking numbers [#checking-numbers]

`POST /whatsapp/numbers/check` has a ceiling of its own on top of your plan's:
10 calls a minute per key, 50 numbers per call. Going over it answers the same
`429` with `rate_limit_exceeded`, and `Retry-After` counts down that ceiling.
Answers are kept for 30 days and shared, so checking a number again soon does
not ask WhatsApp twice.

## Verify [#verify]

`POST /verifications` allows **five verifications per destination every ten
minutes**, per account. The destination is `to`, or `email` when email is the
only channel. The sixth answers `429` with `rate_limit_exceeded` and
`Retry-After`, on top of your plan's per-key limit.

Each verification accepts **five code checks**. The fifth wrong code fails it.

## Spreading load [#spreading-load]

Batching beats parallelism: `POST /messages` takes up to 100 recipients and
`POST /messages/batch` takes up to 500 independent messages, each one call
against your limit.
