Queues
A Queue resource describes a call queue that contains individual calls.
Table-Specific Information
A Queue resource describes a call queue that contains individual calls, which are described by the queue's Members subsresource. Your account can have more than one call queue.
SELECT
The driver uses the Twilio API to process WHERE clause conditions built with the following columns and operators. The rest of the filter is executed client-side within the driver.
- Sid supports the = operator.
For example, the following queries are processed server-side:
SELECT * FROM Queues;
SELECT * FROM Queues WHERE Sid = 'QU5b50281a74c6168acdf884e419990ea1';
INSERT
To add a Queue, at least Name should be specified. Additional columns that are available for insert are: MaxSize.
INSERT INTO Queues (MaxSize, Name) VALUES (34, 'testing');
UPDATE
UPDATE Queues SET MaxSize = 50, Name = 'Test value' WHERE SID = 'QU5b50281a74c6168acdf884e419990ea1';
DELETE
DELETE FROM Queues WHERE SID = 'QUb6b54410a940521a074713abfd5a4226'
Columns
| Name | Type | ReadOnly | References | Description |
| Sid [KEY] | String | True |
The unique string that that we created to identify this Queue resource. | |
| AccountSid | String | True |
The Id of the account that created this Conference resource. | |
| DateCreated | Datetime | True |
Date and time when the resource was created. | |
| DateUpdated | Datetime | True |
Date and time when the resource was updated. | |
| CurrentSize | Integer | True |
The number of calls currently in the queue. | |
| Name | String | False |
A string that you assigned to describe this resource. | |
| Uri | String | True |
The URI of this resource. | |
| AverageWaitTime | Integer | True |
The average wait time in seconds of the members in this queue. This is calculated at the time of the request. | |
| MaxSize | Integer | False |
The maximum number of calls that can be in the queue. | |
| SubresourceUris | String | True |
The subresources available for the given queue. |