Guides
Limits
Limits protect the hotel's own email, which shares the same sending capacity. They are counted per token and for the API as a whole, and every refusal tells you exactly when to try again.
Request limits#
A request must pass all three:
| Limit | Applies to | Counts | Refused with | Retry-After |
|---|---|---|---|---|
| Per minute | each token | messages | 429 rate_limited | seconds left in the current minute |
| Per day (UTC) | each token | messages | 429 daily_cap_reached | seconds until 00:00 UTC |
| Shared daily allowance (UTC) | all tokens together | recipients (to + cc + bcc) | 429 api_budget_reached | seconds until 00:00 UTC |
Each token's per-minute and per-day limits are set by the hotel when it issues the token; GET /v1/me shows them and today's usage. The shared allowance exists because the hotel's email plan has a fixed daily capacity, counted per recipient, and the hotel's own booking mail must always have its share. The hotel sets it (up to 250 recipients a day); the refusal's detail states the current figure. When it is set to zero, sending through the API is paused for the day.
Limits use fixed windows: a minute is a calendar minute and a day is a UTC day, both starting at :00.
What does not count#
- A request the API refuses for any reason (validation, permissions, limits).
- A replay of an
Idempotency-Keyit has already seen.
Per-message limits#
| What | Limit |
|---|---|
| Request body | 256 KiB (413 payload_too_large) |
| One attachment, and a message's attachments together | 4,000,000 bytes; up to 3 files |
| Recipients per message | 10 unless the hotel set otherwise (1 to 50); 400 too_many_recipients |
subject | 998 characters |
html | 200,000 characters |
text | 100,000 characters |
| Display name | 100 characters |
tags | 5 tags of up to 32 characters |
scheduled_at | 1 minute to 72 hours ahead |
Idempotency-Key | 128 characters |
Handling a 429#
HTTP/1.1 429 Too Many Requests
Content-Type: application/problem+json
Retry-After: 37
{ "type": "about:blank", "title": "Too many requests", "status": 429,
"detail": "This token is limited to 10 messages per minute.",
"code": "rate_limited", "request_id": "a4389ca6781df288" }- For
rate_limited, wait the given seconds and retry with the sameIdempotency-Key. - For
daily_cap_reachedandapi_budget_reached, the wait is until midnight UTC. Do not hold a request open or retry in a loop; put the message in your own queue and send it after 00:00 UTC. - Spread bulk work over time. If you regularly need more, ask the hotel to raise the token's limits.
Fair use#
Beyond the numbers: do not open many tokens to multiply limits, do not probe the API with load tests, and do not use it for marketing lists. See Acceptable use.
Last reviewed 2026-10-01.