calls

Set the concurrent-call limit

Changed on

Raise (or lower) how many calls this key may have in flight at once. A call over the limit is not refused: it is accepted and waits in the queue (status queued) until one of your calls ends. Read your ceiling from max_concurrent_calls_ceiling on GET /users/me, then PUT a value up to it. A value above the ceiling is refused with 403 (nothing is changed). A new key starts at 1, so raise it here when you need parallel dialing.

put/users/me/limits

Request

  • Base URL
    https://api.voygr.tech
  • URL
    https://api.voygr.tech/users/me/limits
  • Auth
    API key in header X-API-Key

Request body

max_concurrent_callsinteger required

How many calls this key may have in flight simultaneously (scheduled / dialing / in_progress count as in-flight). Required, with no default. Must be at least 1, and no more than the admin-set ceiling on the key (max_concurrent_calls_ceiling on GET /users/me). A higher value is refused with 403.

Example request

{
  "max_concurrent_calls": 1
}

Response

The new limit, echoed with the ceiling it was checked against.

max_concurrent_callsinteger required

The value now in effect for this key.

max_concurrent_calls_ceilinginteger

Admin-set upper bound for this key. max_concurrent_calls can never exceed it.

Example response

{
  "max_concurrent_calls": 1,
  "max_concurrent_calls_ceiling": 1
}

Changes

    • breaking

      the response property became optional for the status

    • warning

      the request property's max was set to 100.00

    • info

      the response's property default value 100 was added for the status

    • info

      endpoint added