Skip to Content
API ReferenceRate Limits

Rate Limits

VoxBurst applies rate limiting to every authenticated API request. Limits are applied per API key (or per Cognito session) and vary by plan — higher plans receive higher limits.

Do not hard-code a specific limit. Read the current value from the X-RateLimit-Limit response header on every request instead — the effective limit can change without notice, and this repo’s security policy does not publish specific numeric thresholds in public documentation. Treat the limit as dynamic and design your client to back off based on the headers below, not on an assumed constant.

How It’s Applied

  • Rate limiting happens after authentication succeeds. A 401 response (missing or invalid credentials) does not include rate-limit headers, and does not count against your limit.
  • Unauthenticated public endpoints (like GET /v1/health) are not rate-limited by this mechanism and do not include these headers either.
  • Every successful, authenticated response includes the headers below, whether or not you are close to the limit.

Response Headers

HeaderDescription
X-RateLimit-LimitMaximum requests allowed in the current window
X-RateLimit-RemainingRequests remaining in the current window
X-RateLimit-ResetUnix timestamp when the current window resets
HTTP/1.1 200 OK Content-Type: application/json X-RateLimit-Limit: <requests allowed in the current window> X-RateLimit-Remaining: <requests remaining in the current window> X-RateLimit-Reset: <unix timestamp when the window resets> { "id": "post_abc123", "content": "Hello from VoxBurst!", "status": "scheduled" }

When You’re Rate Limited

When the limit is exceeded, the API returns 429 Too Many Requests with a Retry-After header indicating how many seconds to wait before retrying:

{ "error": { "code": "RATE_LIMITED", "message": "Rate limit exceeded. Try again later." } }
StatusCodeCause
429RATE_LIMITEDToo many requests in the current window

Retry-After is a plain integer count of seconds. On a 429, the rate-limit headers report the limit that was actually enforced: X-RateLimit-Limit reflects your plan tier’s global limit, or the endpoint-specific limit when a per-endpoint limit was the one exceeded. X-RateLimit-Remaining is 0 on a rejected request, and X-RateLimit-Reset is the Unix timestamp (seconds) when the window resets.

A 429 is an API traffic limit. It is not the same as 422 DISTRIBUTION_THROTTLED or 422 DISTRIBUTION_BLOCKED, which are operator-side holds applied by the platform circuit breaker to publishing/distribution — those do not carry X-RateLimit-* headers and are documented in Errors.

Plan-Tier Variability

Limits are enforced per plan tier and per endpoint:

  • The global limit applies to every authenticated request in the workspace and scales with your plan (Free → Starter → Pro → Agency).
  • A set of expensive endpoints (AI generation, post creation/publishing, media uploads, OAuth connects, workspace creation) applies a tighter per-endpoint limit on top of the global one, also scaled by plan tier.
  • Some endpoints are unavailable on lower tiers; calling them returns 402 LIMIT_EXCEEDED, not 429.

Because exact thresholds are dynamic, always read X-RateLimit-Limit from responses rather than hard-coding values.

  • Track X-RateLimit-Remaining and slow down proactively as it approaches zero, rather than waiting to hit 429.
  • On 429, respect Retry-After exactly rather than retrying immediately or on a fixed interval.
  • Use exponential backoff with jitter for repeated 429s, in case of a sustained burst.
  • Use a separate API key for development and production so a runaway dev script cannot exhaust your production rate limit budget (this also limits the blast radius of a leaked key — see Authentication).

Endpoint-Specific Limits

A small number of endpoints apply their own, tighter rate limit independent of the general per-key limit described above (for example, the GDPR data export endpoint is limited to a low fixed number of requests per hour, and certain audit/history endpoints cap requests per minute). Where this applies, it is called out on that endpoint’s own reference page along with its specific 429 behavior.

Last updated on