Allo

Reset current queue

Creates a fresh, empty queue assigned to the authenticated user. Any older queue with the same assignee stops being returned by GET /current (the newest…

POST/v2/api/dialing-queues/current

Targeting a teammate's queue

By default, this creates an empty queue for the API key owner. To create the queue for a teammate instead, 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.

The API key owner is recorded as creator_id and the teammate as assignee_id. If the resolved user isn't on your team, the response is 404 ASSIGNEE_NOT_FOUND.

Authorization

Authorizationstring · headerrequired

Api-Key ak_live_…

Body

namestring | null

Display name for the new queue (max 255 characters). Leave unset to create the queue without a name.

user_idstring | null

Optional. ID of a teammate the new queue should be assigned to. The API key owner is recorded as creator_id. The teammate must belong to the same team as the API key owner. Wins over email when both are provided.

emailstring<email> | null

Optional. Email of a teammate the new queue should be assigned to. Ignored when user_id is also supplied.

Responses

200The newly created (empty) queue
dataobject

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

9 fields
idstring

Unique queue identifier (KSUID with pdl prefix)

namestring | null

Display name of the queue

creator_idstring

User ID of the queue creator — the user (or API key owner) that created the queue.

assignee_idstring | null

User ID of the user expected to run the queue. GET /current returns the queue where this matches the authenticated user (or the user resolved from user_id / email). Defaults to the creator when none was specified at creation time.

voicemail_handlingenum<string>

How the Power Dialer reacts when the call lands in voicemail. SKIP advances to the next number; NO_SKIP keeps the user on the call.

SKIPNO_SKIP

do_not_disturbenum<string>

When ENABLED, incoming calls are silenced while the queue is being run.

ENABLEDDISABLED

numbersobject[]
12 fields
number_tostring

E.164 destination phone number

positioninteger

Order within the queue (0-based)

created_atstring<date-time>
updated_atstring<date-time>
call_start_datestring<date-time> | null

When the user started calling this entry. null if the entry is still unassigned.

call_idstring | null

ID of the call placed for this entry (cll-*). null until a call is placed.

routing_resultenum<string>

Final routing outcome of the call placed for this entry.

FAILEDRECEIVEDBLOCKEDANSWEREDTRANSFERRED_BLANDTRANSFERRED_ELEVEN_LABSTRANSFERRED_EXTERNALFAILED_EXTERNALVOICEMAILCLOSED

sync_statusenum<string>

State of contact creation/sync for this entry.

NOT_SYNCEDPROCESSINGSYNCED

detected_outbound_voicemailboolean | null

Whether the call was detected as having reached a voicemail box.

not_reached_destination_reasonenum<string>

Why the call did not reach the contact (only set when applicable).

BUSYCALLEE_TEMPORARILY_UNAVAILABLERING_TIMEOUTNOT_IN_SERVICEDECLINEDNETWORK_ERROR

voicemail_leftboolean | null

Whether the user left a voicemail on this entry.

call_statusenum<string>

Status of this entry, derived from the call placed for it. QUEUED: no call yet, or the call is still in progress. SKIPPED: skipped in the Power Dialer with no call placed (if a call is placed for it later, the status follows that call). VOICEMAIL: the call reached a voicemail box. CONNECTED: the call was answered at route level (routing_result is ANSWERED), no voicemail was detected and no not_reached_destination_reason is set; this can over-report a real conversation. TRANSFERRED: the call was transferred. BUSY: the destination was busy. WRONG_NUMBER: the destination is not in service. NO_ANSWER: the call ended without an answer, including the other not_reached_destination_reason values and any other final route status (failed, blocked, closed, handled by call flow).

QUEUEDSKIPPEDVOICEMAILCONNECTEDTRANSFERREDNO_ANSWERBUSYWRONG_NUMBER

created_atstring<date-time>
updated_atstring<date-time>
400
401
404Authenticated user or assignee not found
errorobject
6 fields
typestring
codestring
messagestring
retryableboolean
request_idstring
retry_after_secondsinteger | null
429