Rate limits

Three limits run in production code. A fourth constant is unused.

API requests

300 requests per minute per API key, sliding window.

Header Meaning
X-RateLimit-Limit 300
X-RateLimit-Remaining Requests left in the current window
X-RateLimit-Reset Unix time in seconds. The hook sets this to about 60 seconds after the request, not the timestamp of the oldest request in the window.

Over the limit: HTTP 429, code RATE_LIMIT_EXCEEDED, header Retry-After: 60. The JSON body does not include the delay. The value is always 60 because the window is 60 seconds. It is not the remaining time until the oldest request expires.

RATE_LIMITS.globalPerMinute (600 per IP) is defined and not applied by the hook.

Phone throughput

Each phone has maxMessagesPerSecond, default 80. The send worker uses a one-second token bucket at that number. The same phone’s queue worker is also capped at 80 jobs per second. Raising maxMessagesPerSecond above 80 does not raise the worker cap. A value from 1 to 80 is enforced by the token bucket. You can set the field on create or patch (1–500) with phone_numbers:write.

This is not a plan cap. Nothing in the API lowers it when a subscription tier changes.

Setting it above Meta’s real tier does not raise Meta’s limit. Meta can return 130429, which we retry.

Recipient spacing

One outbound message per recipient per phone per 6 seconds. A burst to the same person is delayed inside the worker. The 201 has already been returned. This is separate from Meta’s pair limit 131056.

Webhook delivery

Not a caller limit. Your endpoint is given 10 seconds. Failures back off and then open a circuit. Details: Delivery.

What is not limited

  • Number of customers.
  • Number of phone numbers on the tenant.
  • Monthly message totals against a Whitelabel WhatsApp Cloud API plan.
View as Markdown llms.txt