Search Documentation

Search API endpoints, webhooks, tools, and guides

On this page3 sections
Is this helpful?
Quick Actions
Download OpenAPI.json
Guides

Rate Limits & Errors

Rate-limiting windows, HTTP 429 Retry-After headers, and standard API error responses.

InvogerPOS protects API availability using Redis-backed rate limiters with automatic in-memory fallback.

Rate Limit Quotas

Client / Endpoint TypeLimitWindowNotes
Integration Token (M2M)240 requests1 minuteConfigurable per OAuth2 client (30–1,200 req/min)
Interactive User JWT1,200 requests1 minuteEvaluated per user ID
MCP Streamable Endpoint120 requests1 minuteEnforced per client IP
Auth Login20 / IP, 10 / identifier1 min / 5 minProtects against credential stuffing
OAuth2 Token Exchange30 / IP, 60 / client1 minuteProtects M2M token issuance

Check your remaining quota at any time without consuming credits by calling POST /api/integrations/get-rate-limit.

Handling HTTP 429 Too Many Requests

When quota is exceeded, the server responds with status 429 and a Retry-After header (in seconds):

json
{ "success": false, "message": "Too many integration requests. Please slow down.", "errors": null }

Standard Error Codes

  • 400 Bad Request: Zod request body validation failed or business constraint violated.
  • 401 Unauthorized: Missing, malformed, expired, or revoked Bearer token.
  • 403 Forbidden: Actor lacks required RBAC permission (MISSING_PERMISSION) or outlet scope access.
  • 404 Not Found: Resource does not exist in the active tenant.
  • 409 Conflict: Insufficient tracked inventory stock, idempotency conflict, or unique key duplicate.
POST/api
curl -X POST "https://api.invoger.com/api/integrations/get-rate-limit" \
  -H "Authorization: Bearer <ACCESS_TOKEN>" \
  -H "Content-Type: application/json" \
  -d '{}'
Interactive playground

Response

application/json
{
  "success": true,
  "message": "Rate limit status retrieved successfully",
  "data": {
    "authMethod": "jwt",
    "limit": 1200,
    "remaining": 1198,
    "resetInSeconds": 52,
    "windowSeconds": 60
  }
}