Skip to main content
PATCH
/
v2
/
api
/
dialing-queues
/
current
curl --request PATCH \
  --url https://api.withallo.com/v2/api/dialing-queues/current \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "Cold Calls"
}
'
{
  "data": {
    "id": "<string>",
    "name": "<string>",
    "creator_id": "<string>",
    "assignee_id": "<string>",
    "numbers": [
      {
        "number_to": "<string>",
        "position": 123,
        "created_at": "2023-11-07T05:31:56Z",
        "updated_at": "2023-11-07T05:31:56Z",
        "call_start_date": "2023-11-07T05:31:56Z",
        "call_id": "<string>",
        "detected_outbound_voicemail": true,
        "voicemail_left": true
      }
    ],
    "created_at": "2023-11-07T05:31:56Z",
    "updated_at": "2023-11-07T05:31:56Z"
  }
}

Targeting a teammate’s queue

By default, this updates the config of the queue assigned to the API key owner. To update a teammate’s queue, send user_id or email in the JSON body. The teammate must belong to the same team as the API key owner.
  • user_id — wins when both are provided. Resolve teammate ids via GET /v2/api/users.
  • email — used only when user_id is absent.
If the resolved user isn’t on your team, the response is 404 ASSIGNEE_NOT_FOUND.

Authorizations

Authorization
string
header
required

Body

application/json

Creates or updates the queue config. All fields are optional — only the fields you supply are touched. Pass user_id or email to act on a teammate's queue instead.

name
string | null

New queue name (1–255 characters)

Required string length: 1 - 255
voicemail_handling
enum<string> | null

How the Power Dialer reacts when the call hits voicemail.

Available options:
SKIP,
NO_SKIP
do_not_disturb
enum<string> | null

Silence inbound calls while running the queue.

Available options:
ENABLED,
DISABLED
user_id
string | null

Optional. ID of a teammate whose queue config should be updated. The teammate must belong to the same team as the API key owner. Wins over email when both are provided.

Example:

"usr-15BB68317A7F06F0C07A3BBD8F244102A6872220"

email
string<email> | null

Optional. Email of a teammate whose queue config should be updated. Ignored when user_id is also supplied.

Response

Updated queue

data
object

A user's Power Dialer queue with its configuration and numbers.