For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
Log inSign up
Support
cXMLREST API
cXMLREST API
  • Core
    • Overview
    • Authorization
    • Error codes
    • Paging
    • REST client SDKs
  • Compatibility REST API
      • GETList all Calls
      • POSTCreate a Call
      • GETRetrieve a Call
      • POSTUpdate a Call
      • DELDelete a Call
LogoLogoSignalWire Docs
Log inSign up
Support
Compatibility REST APICalls

List all Calls

|View as Markdown|Open in Claude|
GET
https://your_space.signalwire.com/api/laml/2010-04-01/Accounts/:AccountSid/Calls
GET
/api/laml/2010-04-01/Accounts/:AccountSid/Calls
$curl https://your_space.signalwire.com/api/laml/2010-04-01/Accounts/AccountSid/Calls \
> -u "<project_id>:<api_token>"
1{
2 "uri": "/api/laml/2010-04-01/Accounts/b3877c40-da60-4998-90ad-b792e98472af/Calls?Page=0&PageSize=50",
3 "first_page_uri": "/api/laml/2010-04-01/Accounts/b3877c40-da60-4998-90ad-b792e98472af/Calls?Page=0&PageSize=50",
4 "next_page_uri": "/api/laml/2010-04-01/Accounts/b3877c40-da60-4998-90ad-b792e98472af/Calls?Page=1&PageSize=50&PageToken=PAxxxxxxxxxx",
5 "previous_page_uri": null,
6 "page": 0,
7 "page_size": 50,
8 "calls": [
9 {
10 "sid": "b3877c40-da60-4998-90ad-b792e98472ca",
11 "account_sid": "b3877c40-da60-4998-90ad-b792e98472af",
12 "date_created": "Wed, 19 Sep 2018 20:00:00 +0000",
13 "date_updated": "Wed, 19 Sep 2018 21:00:00 +0000",
14 "parent_call_sid": "b3877c40-da60-4998-90ad-b792e98472af",
15 "to": "+13105678901",
16 "formatted_to": "(310) 567-8901",
17 "to_formatted": "(310) 567-8901",
18 "from": "+13103384645",
19 "formatted_from": "(310) 338-4645",
20 "from_formatted": "(310) 338-4645",
21 "phone_number_sid": "b3877c40-da60-4998-90ad-b792e98472pn",
22 "status": "queued",
23 "start_time": "Wed, 19 Sep 2018 20:00:01 +0000",
24 "end_time": "Fri, 21 Sep 2018 10:00:00 +0000",
25 "duration": 20,
26 "price": 0.003,
27 "price_unit": "USD",
28 "direction": "inbound",
29 "answered_by": "human",
30 "api_version": "2010-04-01",
31 "forwarded_from": null,
32 "caller_name": null,
33 "uri": "/api/laml/2010-04-01/Accounts/b3877c40-da60-4998-90ad-b792e98472af/Calls/b3877c40-da60-4998-90ad-b792e98472ca.json",
34 "subresource_uris": {
35 "notifications": null,
36 "recordings": "/api/laml/2010-04-01/Accounts/b3877c40-da60-4998-90ad-b792e98472af/Calls/b3877c40-da60-4998-90ad-b792e98472ca/Recordings.json"
37 },
38 "annotation": null,
39 "group_sid": null,
40 "audio_in_mos": 4.5,
41 "sip_result_code": "200",
42 "audio_rtt_avg": 50,
43 "audio_rtt_min": 20,
44 "audio_rtt_max": 100,
45 "audio_out_jitter_min": 1,
46 "audio_out_jitter_max": 10,
47 "audio_out_jitter_avg": 5,
48 "audio_out_lost": 0
49 }
50 ]
51}

List all calls.

Permissions

The API token used to authenticate must have the following scope(s) enabled to make a successful request: Voice.

Learn more about API scopes.

Was this page helpful?
Previous

Create a Call

Next
Built with

Authentication

AuthorizationBasic
SignalWire Basic Authentication using Project ID and API Token. The client sends HTTP requests with the Authorization header containing the word Basic followed by a space and a base64-encoded string of project_id:token. The project ID will be used as the username and the API token as the password. Example: ``` Authorization: Basic base64(project_id:token) ```

Path parameters

AccountSidstringRequiredformat: "uuid"
The Project ID that uniquely identifies the Account.

Query parameters

EndTimestringOptional
The time, in RFC 2822 GMT format, on which the call was terminated.
EndTime<stringOptional
The time before which the call was terminated.
EndTime>stringOptional
The time after which the call was terminated.
FromstringOptional
The address that initiated the call.
ParentCallSidstringOptionalformat: "uuid"
The unique identifier for the call that created this call.
StartTimestringOptional
The time, in RFC 2822 GMT format, on which the call began.
StartTime<stringOptional
The time before which the call began.
StartTime>stringOptional
The time after which the call began.
StatusenumOptional
The status of the call.
TostringOptional
The address that received the call.
PageintegerOptional>=0Defaults to 0

The page number to retrieve. Page numbers are zero-indexed, so the first page is 0.

PageSizeintegerOptional1-1000Defaults to 50
The number of results to return per page. The default is 50, and the maximum is 1000.
PageTokenstringOptional
A token used to retrieve a specific page of results. Must start with PA or PB.

Response

The request has succeeded.
uristring
The URI of the current page.
first_page_uristring
The URI of the first page.
next_page_uristring or null
The URI of the next page.
previous_page_uristring or null
The URI of the previous page.
pageinteger
The current page number.
page_sizeinteger
The number of items per page.
callslist of objects
List of calls.

Errors

400
Bad Request Error
401
Unauthorized Error
422
Unprocessable Entity Error

SignalWire Basic Authentication using Project ID and API Token.

The client sends HTTP requests with the Authorization header containing the word Basic followed by a space and a base64-encoded string of project_id:token. The project ID will be used as the username and the API token as the password.

Example:

Authorization: Basic base64(project_id:token)