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:

LimitApplies toCountsRefused withRetry-After
Per minuteeach tokenmessages429 rate_limitedseconds left in the current minute
Per day (UTC)each tokenmessages429 daily_cap_reachedseconds until 00:00 UTC
Shared daily allowance (UTC)all tokens togetherrecipients (to + cc + bcc)429 api_budget_reachedseconds 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-Key it has already seen.

Per-message limits#

WhatLimit
Request body256 KiB (413 payload_too_large)
One attachment, and a message's attachments together4,000,000 bytes; up to 3 files
Recipients per message10 unless the hotel set otherwise (1 to 50); 400 too_many_recipients
subject998 characters
html200,000 characters
text100,000 characters
Display name100 characters
tags5 tags of up to 32 characters
scheduled_at1 minute to 72 hours ahead
Idempotency-Key128 characters

Handling a 429#

HTTP
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 same Idempotency-Key.
  • For daily_cap_reached and api_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.