Allo

Reassign queue

Reassigns a dialing queue to another member of the team. The queue keeps its numbers and its creator. Only API keys of a team admin or manager can call this…

PATCH/v2/api/dialing-queues/{queue_id}/assignee

Moves a queue to another member of your team. The queue keeps its numbers and its creator_id; only assignee_id changes. The new assignee sees the queue in their Power Dialer right away.

Who can reassign

  • The API key must belong to a team admin or manager. A member key gets 403 DIALING_QUEUE_ASSIGN_FORBIDDEN.
  • The API key owner must be the queue's creator or current assignee. Otherwise the response is 404 DIALING_QUEUE_NOT_FOUND.

Choosing the new assignee

Send user_id or email in the JSON body. One of them is required (400 DIALING_QUEUE_ASSIGNEE_REQUIRED).

  • 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.

Open dialing sessions

A queue with an open dialing session can't be reassigned (409 DIALING_QUEUE_SESSION_ACTIVE). End the session in the Allo app, then retry.

Authorization

Authorizationstring · headerrequired

Api-Key ak_live_…

Path parameters

queue_idstringrequired

Id of the dialing queue.

Body

user_idstring

Id of the new assignee. Resolve teammate ids via GET /v2/api/users.

emailstring<email>

Email of the new assignee. Used only when user_id is absent.

Responses

200Reassigned 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>
400Neither user_id nor email provided
errorobject
6 fields
typestring
codestring
messagestring
retryableboolean
request_idstring
retry_after_secondsinteger | null
401
403The API key belongs to a team member without the admin or manager role, or lacks the required scope
errorobject
6 fields
typestring
codestring
messagestring
retryableboolean
request_idstring
retry_after_secondsinteger | null
404Queue or assignee not found
errorobject
6 fields
typestring
codestring
messagestring
retryableboolean
request_idstring
retry_after_secondsinteger | null
409The queue has an open dialing session
errorobject
6 fields
typestring
codestring
messagestring
retryableboolean
request_idstring
retry_after_secondsinteger | null
429