v77

latestOpenAPI 3.1.0MITraw.githubusercontent.com2026-08-012528701.8 MB
Queue Members

Get next queue member

Retrieves the next member in the queue without dequeuing.

Permissions

The API token used to authenticate must have the following scope(s) enabled to make a successful request: Voice.

Learn more about API scopes.

get/api/relay/rest/queues/{queue_id}/members/next

Path parameters

queue_idstring uuid required

Universal Unique Identifier.

Unique ID of the queue.

Response

The request has succeeded.

call_idstring uuid required

Universal Unique Identifier.

project_idstring required

The ID of the project associated with this queue member.

queue_idstring required

The ID of the queue associated with this queue member.

positioninteger required

Queue member position in the queue.

uristring required

The URL of this queue member.

wait_timeinteger

Wait time in seconds since the member was enqueued. If not yet enqueued, it will be null.

date_enqueuedstring date-time

When the queue member was last enqueued.

Example response

{
  "project_id": "d421473b-d696-449a-a1a1-4ddd83d2d0e5",
  "queue_id": "596e2dea-a269-4765-a0b4-01b82d11c120",
  "position": 2,
  "uri": "/api/relay/rest/queues/596e2dea-a269-4765-a0b4-01b82d11c120/members/596e2dea-a269-4765-a0b4-01b82d11c120",
  "wait_time": 172975
}