Retrieve

View as Markdown

Use this endpoint for the Queue Members method to retrieve a single queue member.

Path parameters

AccountSidstringRequiredformat: "uuid"
The unique identifier for the account this Queue is associated with.
QueueSidstringRequiredformat: "uuid"
The unique identifier for the queue.
CallSidstringRequired
The unique identifier for the call, or the special value 'Front' to reference the member at the front of the queue.

Response

call_sidstringRequiredformat: "uuid"
The unique identifier for the call.
account_sidstringRequiredformat: "uuid"
The unique identifier for the account.
queue_sidstringRequiredformat: "uuid"
The unique identifier for the queue.
date_enqueuedstringRequired
The date and time, in RFC 2822 format, when the member was enqueued.
positionintegerRequired>=1
The position of the member in the queue (1-indexed).
wait_timeintegerRequired>=0
The wait time, in seconds, since the member was enqueued.
member_typestringRequired
The type of the queue member.
uristringRequired
The URI of this resource, relative to the API base URL.

Request examples

1```javascript title="Node.js"
2const { RestClient } = require('@signalwire/compatibility-api')
3const client = RestClient('YourProjectID', 'YourAuthToken', { signalwireSpaceUrl: 'example.signalwire.com' })
4
5client.queues('QueueSid')
6 .members('CallSid')
7 .fetch()
8 .then(member => console.log(member.callSid))
9 .done();