Limits and quotas
Token lifetimes, rate limits, environment quotas and size limits.
Token lifetimes
| Token | Lifetime |
|---|---|
| Messaging token | 10 minutes; the client SDK refreshes it automatically |
| Call join token | 5 minutes to connect; the media session continues after joining |
| Signed file URLs | 5 minutes for upload and download |
Environment quotas (set in the console)
| Quota | Default | Range | Enforced when |
|---|---|---|---|
| Max room size | 50 | 2–1000 | Joining a call |
| Max concurrent rooms | 100 | 1–100,000 | Creating a call |
| Tokens per minute | 600 | 1–100,000 | Issuing messaging or join tokens |
Exceeding a quota returns quota_exceeded.
Rate limits
| Applies to | Default limit |
|---|---|
| Each service key | 6,000 requests per minute |
| Each user, REST | 600 requests per minute |
| Each user, message sends | 120 per minute |
Exceeding a rate limit returns rate_limited. Self-hosted deployments can change the service-key and send limits.
Size and count limits
| Item | Limit |
|---|---|
| IDs (user, device, tenant, product) | 1–128 characters of A-Z a-z 0-9 . _ @ - |
| Members per add request | 1000 |
| Call signal recipients | 1000 per request |
| Conversation title | 200 characters |
| Attachment size | Policy setting; default 25 MB, maximum 5 GB |
| Attachment types | Policy setting; default image/*, video/mp4, application/pdf |
| History page | Default 50 messages |
| Presence subscriptions | Sent in batches of 200 user IDs |
| Allowed origins | 50 per environment |
Timing
- Usage counters in the console are buffered for about 15 seconds.
- Presence: heartbeat about every 25 seconds, offline after a 60-second lease expires.
- Typing indicators expire after 6 seconds without renewal.
- Empty calls close after
emptyTimeoutSec(default 300 seconds).