Skip to content

Document default API rate limits#250

Open
gtsoi wants to merge 1 commit into
masterfrom
gtsoi/document-api-rate-limits
Open

Document default API rate limits#250
gtsoi wants to merge 1 commit into
masterfrom
gtsoi/document-api-rate-limits

Conversation

@gtsoi

@gtsoi gtsoi commented Jun 9, 2026

Copy link
Copy Markdown

What

Adds a Rate Limits page to the Overview section of the Developer Center (https://developers.vendasta.com/platform), reminding integrators about the default rate limits on the Vendasta APIs.

Why

The default limits are enforced by the api-gateway but were not documented anywhere customer-facing, so partners only discovered them by hitting a 429. The only prior mention was a one-line note in the CRM guide.

Contents

The page documents:

  • Default per-partner limits: 100 req/sec, 500 req/min, 10,000 req/hour, evaluated independently per endpoint.
  • The 429 Too Many Requests response shape.
  • The X-RateLimit-Limit / Remaining / Used / Reset and Retry-After headers.
  • Guidance on backoff, batching, and caching, plus how to request higher limits.

Registered in toc.json under Overview, after Versioning.

Source of the numbers

Values match DefaultLimit in api-gateway (internal/middleware/ratelimit.go): 100/sec, 500/min, 10,000/hour. Rate limiting is namespaced per partner ID. Note: a handful of high-volume partners have negotiated higher limits, which is covered by the "Unless a higher limit has been arranged" wording.

🤖 Generated with Claude Code

Add a Rate Limits page to the Overview section covering the default
per-partner limits (100/sec, 500/min, 10,000/hour), the 429 response
shape, the X-RateLimit-* / Retry-After headers, and backoff guidance.
Register it in toc.json after Versioning.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant