Retrieves a collection of calls made to and from your account
/2010-04-01/Accounts/{AccountSid}/Calls.json Retrieves a collection of calls made to and from your account
Parameters
path Path Parameters
| Name | Type |
|---|---|
AccountSid
required
The SID of the Account that created the Call resource(s) to read. | `AC${string}` |
query Query Parameters
| Name | Type |
|---|---|
To Only show calls made to this phone number, SIP address, Client identifier or SIM SID. | string |
From Only include calls from this phone number, SIP address, Client identifier or SIM SID. | string |
ParentCallSid Only include calls spawned by calls with this SID. | `CA${string}` |
Status The status of the calls to include. Can be: | type CallEnumStatus = "queued" | "ringing" | "in-progress" | "completed" | "busy" | "failed" | "no-answer" | "canceled" |
StartTime Only include calls that started on this date. Specify a date as | string |
StartTime< Only include calls that started on this date. Specify a date as | string |
StartTime> Only include calls that started on this date. Specify a date as | string |
EndTime Only include calls that ended on this date. Specify a date as | string |
EndTime< Only include calls that ended on this date. Specify a date as | string |
EndTime> Only include calls that ended on this date. Specify a date as | string |
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
OK
calls?:
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;
}