provider Api20100401Call GET /2010-04-01/Accounts/{AccountSid}/Calls.json
@utdk/twilio /2010-04-01/Accounts/{AccountSid}/Calls.json
Retrieves a collection of calls made to and from your account
Retrieves a collection of calls made to and from your account
AccountSid path required
The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the Call resource(s) to read.
string
To query
Only show calls made to this phone number, SIP address, Client identifier or SIM SID.
string
From query
Only include calls from this phone number, SIP address, Client identifier or SIM SID.
string
ParentCallSid query
Only include calls spawned by calls with this SID.
string
Status query
The status of the calls to include. Can be: `queued`, `ringing`, `in-progress`, `canceled`, `completed`, `failed`, `busy`, or `no-answer`.
enum: queued, ringing, in-progress, completed…
StartTime query
Only include calls that started on this date. Specify a date as `YYYY-MM-DD` in UTC, for example: `2009-07-06`, to read only calls that started on this date.
string
StartTime< query
Only include calls that started before this date. Specify a date as `YYYY-MM-DD` in UTC, for example: `2009-07-06`, to read only calls that started before this date.
string
StartTime> query
Only include calls that started on or after this date. Specify a date as `YYYY-MM-DD` in UTC, for example: `2009-07-06`, to read only calls that started on or after this date.
string
EndTime query
Only include calls that ended on this date. Specify a date as `YYYY-MM-DD` in UTC, for example: `2009-07-06`, to read only calls that ended on this date.
string
EndTime< query
Only include calls that ended before this date. Specify a date as `YYYY-MM-DD` in UTC, for example: `2009-07-06`, to read only calls that ended before this date.
string
EndTime> query
Only include calls that ended on or after this date. Specify a date as `YYYY-MM-DD` in UTC, for example: `2009-07-06`, to read only calls that ended on or after this date.
string
PageSize query
How many resources to return in each list page. The default is 50, and the maximum is 1000.
integer
Page query
The page index. This value is simply for client state.
integer
PageToken query
The page token. This is provided by the API.
string

Try it

Authentication
Configure credentials for Twilio - Api
Gateway
The gateway proxies requests and injects credentials server-side. Configure credentials above, then enter your gateway URL.

Saved automatically to browser storage.

listcall
GET/2010-04-01/Accounts/{AccountSid}/Calls.json
Retrieves a collection of calls made to and from your account

Parameters

required

The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the Call resource(s) to read.

Only show calls made to this phone number, SIP address, Client identifier or SIM SID.

Only include calls from this phone number, SIP address, Client identifier or SIM SID.

Only include calls spawned by calls with this SID.

The status of the calls to include. Can be: `queued`, `ringing`, `in-progress`, `canceled`, `completed`, `failed`, `busy`, or `no-answer`.

Only include calls that started on this date. Specify a date as `YYYY-MM-DD` in UTC, for example: `2009-07-06`, to read only calls that started on this date.

Only include calls that started before this date. Specify a date as `YYYY-MM-DD` in UTC, for example: `2009-07-06`, to read only calls that started before this date.

Only include calls that started on or after this date. Specify a date as `YYYY-MM-DD` in UTC, for example: `2009-07-06`, to read only calls that started on or after this date.

Only include calls that ended on this date. Specify a date as `YYYY-MM-DD` in UTC, for example: `2009-07-06`, to read only calls that ended on this date.

Only include calls that ended before this date. Specify a date as `YYYY-MM-DD` in UTC, for example: `2009-07-06`, to read only calls that ended before this date.

Only include calls that ended on or after this date. Specify a date as `YYYY-MM-DD` in UTC, for example: `2009-07-06`, to read only calls that ended on or after this date.

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

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

The page token. This is provided by the API.

Enter a gateway URL above to enable sending.

Code snippet
Updates live as you fill in the form above.

TypeScript

import twilio from '@utdk/twilio';

await twilio.listcall()