Search + K

Command Palette

Search for a command to run...

Sign In

Retrieve a list of queues belonging to the account used to make the request

GET /2010-04-01/Accounts/{AccountSid}/Queues.json
Copy endpoint
https://api.twilio.com

Retrieve a list of queues belonging to the account used to make the request

Parameters

path Path Parameters

Name Type
AccountSid required

The SID of the Account that created the Queue resources to read.

`AC${string}`

query Query Parameters

Name Type
PageSize

How many resources to return in each list page. The default is 50, and the maximum is 1000.

number
Page

The page index. This value is simply for client state.

number
PageToken

The page token. This is provided by the API.

string

Responses

200 application/json

OK

{
queues?: ApiV2010AccountQueue
interface ApiV2010AccountQueue {
date_updated?: string | null;
current_size?: number;
friendly_name?: string | null;
uri?: string | null;
account_sid?: `AC${string}` | null;
average_wait_time?: number;
sid?: `QU${string}` | null;
date_created?: string | null;
max_size?: number;
}
[]
;
end?: number;
first_page_uri?: string;
next_page_uri?: string | null;
page?: number;
page_size?: number;
previous_page_uri?: string | null;
start?: number;
uri?: string;
}