Rate Limiting
Rate limits apply per organization and are shared across every API key in it, so adding keys does not raise the limit.
Default Limits
The API allows 1,000 requests per 60-second window per organization (about 16 requests per second on average). It is a fixed window, so the full budget can be spent at any point inside the 60 seconds.
POST /events/send is the one exception: it is budgeted in events, not requests. See Event ingestion below.
Need more? Contact support@arsel.sa.
Event ingestion
POST /events/send has its own budget of 1,500 events per 60-second window per organization, and no more than 250 events in any one second. It does not consume the 1,000-request budget above.
A batch of 50 events spends 50, so the limit is the same whether your client batches events or sends them one at a time.
POST /events/send { "event": "order.completed", ... } → costs 1
POST /events/send { "events": [ <50 items> ] } → costs 50
Batching still saves round trips, and one Idempotency-Key covers the whole batch.
The budget is shared across every credential in the organization, secret keys (be_…) and publishable client keys (pub_…) alike.
This page covers the 60-second-window request and event limits. Your plan also has a monthly send quota per channel. Exhausting it returns 429 monthly_quota_exceeded, which retrying won't resolve. See Common Send Errors.
Rate Limit Headers
Successful responses include these rate limit headers:
| Header | Description |
|---|---|
ratelimit-limit | Maximum allowed in the current window: 1000 requests, or 1500 events on /events/send |
ratelimit-remaining | How much of that budget is left in the current window |
ratelimit-reset | Seconds remaining until the window resets (a duration, not a Unix timestamp) |
On /events/send these count events. A request there costs between 1 and 50 depending on how
many events it carries, so read ratelimit-remaining rather than counting your own calls.
ratelimit-* headers are not returned on a 429 response, only retry-after. On a 429, wait retry-after seconds.
When a rate limit is exceeded, this header is included instead:
| Header | Description |
|---|---|
retry-after | Seconds to wait before retrying |
Rate Limit Exceeded
If you exceed the limit, the API returns HTTP 429:
{
"status_code": 429,
"name": "rate_limit_exceeded",
"message": "Too many requests. Please retry after the period indicated in the retry-after header."
}
Match on status_code and name. The message string may change.
Handling Rate Limits
Read the headers on successful responses. Check ratelimit-remaining on 2xx responses to pace yourself, especially on /events/send.
Wait for retry-after. On a 429, wait the number of seconds in retry-after before retrying. Avoid tight retry loops.
Retry safely with an idempotency key. A retried send or event can be processed twice, double-counting rollups and revenue. Send an Idempotency-Key header so a retry within 24 hours returns the original result instead of repeating the side effect. See Idempotency for the endpoints that accept it.
Batch where a batch endpoint exists. Three endpoints take many items in one request:
| Endpoint | Items per request | Cost against the limit |
|---|---|---|
POST /events/send | 50 | one per event |
POST /push/devices/bulk | 1,000 | one call |
POST /contacts/bulk-delete | 1,000 | one call |
Everything else is one call per item, so space a bulk push out rather than emptying the 60-second budget at once.