Rate Limits
The Voicy API limits how many requests each API key, and each account, can make per minute. The limits protect the service from runaway loops and misused keys; they sit far above what a normal integration sends.
Each limit counts requests in fixed one-minute windows, starting at the top of each minute. The per-account limit applies to all of an account’s API keys together; a request refused by its own key’s limit does not count toward it, so one key over its limit cannot block the account’s other keys. Requests made from the Voicy dashboard are not counted.
Need a higher rate? Contact us at support@voicy.co.
Concurrent call limit
Separate from the per-minute limits, each account has a limit on how many outbound calls can be in progress at once when you place them withcall-dial and an API key. New accounts start at 1; Voicy sets it for your account, and an account admin can see it on the Account page of the dashboard. A limit of 0 means API dialing is turned off for the account.
Every outbound call in progress counts toward the limit, whether it was started through the API, a campaign or the dashboard. Only call-dial requests made with an API key are refused by it; campaigns and dashboard calls are never blocked by it. A call stops counting when it ends.
A call-dial request that would go over the limit is refused with 429 Too Many Requests and the code concurrent_call_limit. Nothing is dialed:
There is no
Retry-After, because the wait depends on when one of your calls ends. Check code to tell this refusal from the per-minute limit, which has no code. Retry after a call ends (the call_ended webhook tells you when), or poll call-get.
Need a higher limit? Contact us at support@voicy.co.
When you exceed a limit
A request over a limit is refused with429 Too Many Requests, before anything is done. Nothing is created, changed or dialed. The response tells you when to retry:
These headers are sent on 429 responses only. Browser clients can read them: they are listed in
Access-Control-Expose-Headers.
Build a resilient client
Wait theRetry-After seconds on a 429, and back off on 5xx errors. Spread bulk operations over time instead of sending bursts:
Retry with exponential backoff
Retry with exponential backoff
Retry
429 and 5xx responses with increasing delays:Queue bulk requests
Queue bulk requests
For bulk operations, pace requests through a queue: