The Connexease Gateway enforces rate limits per API key to align with Meta’s Cloud API tier allowances and protect infrastructure stability. Limits are applied using a sliding window algorithm — not a fixed clock window — so bursts at interval boundaries are handled fairly. This page explains the default limits, how to read the response headers, what to expect when a limit is exceeded, and two practical strategies for high-volume campaigns.Documentation Index
Fetch the complete documentation index at: https://docs.gateway.connexease.com/llms.txt
Use this file to discover all available pages before exploring further.
Default Limits
Limits are applied per API key (per application), not globally.| Window | Default | Notes |
|---|---|---|
| Per second | 80 req/s | Aligned with Meta Cloud API Tier 1 MPS limit |
| Per minute | 4,800 req/min | = 80 × 60 |
These limits are configurable. Contact the Connexease team for Enterprise plan options.
Response Headers
Every successful request to/v1/wa/message includes remaining quota information:
| Header | Description |
|---|---|
X-RateLimit-sec-Limit | Maximum requests allowed per second |
X-RateLimit-sec-Remaining | Remaining quota in the current second |
X-RateLimit-min-Limit | Maximum requests allowed per minute |
X-RateLimit-min-Remaining | Remaining quota in the current minute |
When a Limit Is Exceeded
params Fields:
| Field | Values | Description |
|---|---|---|
limit_type | "sec", "min" | Which window was exceeded |
retry_after | "1s", "60s" | How long to wait before retrying |
If you receive
limit_type: "min", your per-minute quota is exhausted even if the per-second limit is fine. Spread your traffic more evenly throughout the minute.How It Works
The Gateway uses a true sliding window algorithm backed by Redis sorted sets. Each request adds a timestamped entry; expired entries are pruned before counting. This means:- No sudden spikes at the start of each clock second (unlike fixed windows).
- The limit reflects actual throughput over the trailing window.
- The per-second and per-minute windows are independent.
Handling 429 Responses
Strategy 1 — Exponential Backoff (Short Campaigns)
Strategy 2 — Queue-Based Throttling (High-Volume Campaigns)
Proactive throttling keeps you safely below the limit without ever hitting 429.Relationship to Meta Cloud API Tiers
The Gateway’s default 80 req/s limit aligns with Meta’s Tier 1 MPS (Messages Per Second) allowance.| Meta Tier | Max MPS | Requirements |
|---|---|---|
| Tier 1 | 80 | WhatsApp Business account approval |
| Tier 2 | 250 | Tier 1 + 1,000 unique users reached |
| Tier 3 | 1,000 | Tier 2 + 10,000 unique users reached |
As your Meta tier increases, your Gateway limit can be raised accordingly. Apply through Meta Business Manager first, then contact the Connexease team to update your limit.