Skip to main content
The v2 API applies two limits, both scoped per organization — every API key issued to the same org draws from the same buckets:
  1. Request rate limits — a ceiling on how many API calls you make, in a burst (per-minute) and sustained (per-hour) window.
  2. Interview invite budgets — a ceiling on how many interview invites you can send, across four windows (per-minute, per-hour, daily, monthly).
The two are not independent: both read the same organization settings. The request limits and the invite budget’s burst and sustained windows use the same rate_limit_burst and rate_limit_sustained values, so a change to those settings changes both. They are counted in separate buckets, so API calls don’t use up invite sends and invite sends don’t use up API calls. Both surface as HTTP 429 with a Retry-After header and code: "rate_limited" in the body. They have different response shapes, described below — including what happens when the limiter itself is briefly unavailable (X-RateLimit-Degraded on ordinary requests, 503 rate_limit_unavailable on invite sends).
Limits are enforced against the organization, not the individual API key. Spreading load across multiple keys does not raise your ceiling.

Invalid API keys

A request with a key Classet does not recognise returns 401. Two limits stop that from being repeated without end. Both answer 429 with Retry-After and code: "rate_limited", before the key is checked.
  • Per key. After 10 rejections of the same key in a minute, that key is refused for the rest of the minute, from any address. Fix the key; retrying will not help.
  • Per address. An address may present 300 keys a minute that Classet does not know to be valid. This only matters to a caller trying many different keys.
A key that has not been checked yet (new, or unused for a day) may have 30 requests in flight at once. Beyond that, the extra requests get 429 with retry_after: 1 and the message “has not been verified yet”; this is not a verdict on the key, and it stops as soon as one request authenticates. A key that has worked in the last 24 hours is exempt from both limits, wherever the request comes from, so another caller on your address cannot use up a budget you depend on. A key that has not been used for more than a day can receive the per-address 429 while its address is over the limit; wait for Retry-After and send it again.

Request rate limits

Every authenticated /v2/* request counts against your org’s request budget. GET /v2/health, GET /v2/openapi.json, and GET /v2/docs are exempt. The v2 request bucket is isolated from the legacy v1 request bucket, even when both services use the same Redis deployment. v2 traffic therefore cannot consume v1 request quota. Interview invite budgets remain shared intentionally across API and dashboard send surfaces so the organization-wide send cap cannot be bypassed. Rate limits are set per organization: a burst limit per minute and a sustained limit per hour, shared by all of the organization’s API keys. Your current values are data.limits.rate_limit_burst and data.limits.rate_limit_sustained in GET /v2/organization; null means your organization uses the platform default. A 429 response carries Retry-After and X-RateLimit-* headers. To change your organization’s limits, contact Classet support at success@classet.ai.

If you poll

Repeated list calls are the usual way to run into the request limit. Instead of re-reading whole lists on a timer, fetch only what changed with updated_since (see Pagination and delta sync), and let webhooks tell you when an interview or application changes.

Response headers

When request rate limiting is active, every response carries these headers so you can track your remaining budget without waiting for a 429:

Degraded mode (X-RateLimit-Degraded)

If the rate-limit backend is briefly unreachable, ordinary API requests fail open: they are served normally rather than being blocked by our infrastructure issue. Those responses carry X-RateLimit-Degraded: true and omit the usual X-RateLimit-* budget headers (there’s no live count to report). Treat the header as a signal to self-throttle: your budget wasn’t debited, but it also wasn’t checked — keep to your normal pace rather than opportunistically bursting. Degraded mode is transient and clears on its own.
Interview invite sends are the exception — they fail closed instead. See When the invite limiter is unavailable below.

429 response body


Interview invite budgets

Sending an interview invite is metered separately from ordinary API traffic. The following endpoints each reserve one invite slot before any candidate or call record is created:
  • POST /v2/candidates (when send_sms or send_email is set)
  • POST /v2/candidates/:id/interview
  • POST /v2/calls (deprecated v1 alias)
These share the same budget as dashboard single-send and CSV campaign sends. If a window is exhausted, the API returns 429 before creating the candidate/call — so a rejected send never leaves an orphaned record behind.

The four windows

A send is checked against all four windows in order; the first one that would be exceeded is the one reported.
The burst and hourly caps use the same rate_limit_burst and rate_limit_sustained values as the request limits; read yours from GET /v2/organization. The daily and monthly caps are unset by default (no limit) and only apply once your org has a daily_interview_invite_cap / monthly_interview_invite_cap configured. The hourly window reports as sustained — that is the literal value in the exceeded_window field.

429 response body

The Retry-After header is also set (in seconds) whenever retry_at is present.

When the invite limiter is unavailable (503)

Invite sends fail closed: if the rate-limit backend is unreachable, the send is rejected rather than allowed to silently bypass your caps. The invite endpoints return 503 with code: "rate_limit_unavailable" and a Retry-After header:
No invite slot is consumed and no candidate or call record is created — the request had no effect. This is a transient infrastructure condition on our side, not a limit you exceeded: wait Retry-After seconds (typically 30) and retry the same request, ideally with an Idempotency-Key.

Retrying politely

When you receive a 429, honor the Retry-After header rather than retrying immediately. It tells you exactly how many seconds to wait for the exceeded window to reset. Both limit types set it, so a single helper covers both.
A daily or monthly invite budget can take hours — or days — to reset. Inspect exceeded_window before blindly sleeping on Retry-After: for a daily or monthly window, the right move is usually to queue the remaining sends and resume later, not to hold the request open. Only burst and sustained windows are short enough to wait out in-process.
Never retry a 429 in a tight loop without backoff. Hammering an exhausted window won’t get your invite through any faster and only adds load. Always wait at least Retry-After seconds.

Best practices

  • Watch the X-RateLimit-Remaining header and slow down proactively instead of waiting for a 429.
  • Batch where you can — prefer one paginated GET over many small ones.
  • Treat invite budgets as a queue depth. When sending at scale, drip sends out to stay under your per-minute (burst) and per-hour (sustained) windows rather than firing them all at once.
  • Need higher limits? Daily and monthly invite caps, plus the request burst/sustained ceilings, are configurable per organization. Contact Classet support.