list

View as MarkdownOpen in Claude

List applications in the account.

Path parameters

AccountSidstringRequiredformat: "uuid"
The Account ID that has the Application.

Query parameters

FriendlyNamestringOptional
Filter by a named unique identifier for the resource.
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.

Response

uristringRequired
The URI for this resource.
first_page_uristringRequired
The URI for the first page of results.
next_page_uristring or nullRequired
The URI for the next page of results. Null if there are no more pages.
previous_page_uristring or nullRequired
The URI for the previous page of results. Null if this is the first page.
pageintegerRequired
The current page number. Zero-indexed.
page_sizeintegerRequired
The number of results per page.
applicationslist of objectsRequired
List of applications.

Response Example

Response
1{
2 "uri": "/api/laml/2010-04-01/Accounts/b3877c40-da60-4998-90ad-b792e98472af/Applications?Page=0&PageSize=50",
3 "first_page_uri": "/api/laml/2010-04-01/Accounts/b3877c40-da60-4998-90ad-b792e98472af/Applications?Page=0&PageSize=50",
4 "next_page_uri": "/api/laml/2010-04-01/Accounts/b3877c40-da60-4998-90ad-b792e98472af/Applications?Page=1&PageSize=50",
5 "page": 0,
6 "page_size": 50,
7 "applications": [
8 {
9 "sid": "b3877c40-da60-4998-90ad-b792e98472af",
10 "account_sid": "b3877c40-da60-4998-90ad-b792e98472af",
11 "api_version": "2010-04-01",
12 "date_created": "Sat, 15 Sept 2018 10:00:00 +0000",
13 "date_updated": "Sat, 16 Sept 2018 10:00:00 +0000",
14 "friendly_name": "My Friendly Name",
15 "uri": "/api/laml/2010-04-01/Accounts/b3877c40-da60-4998-90ad-b792e98472af/Applications/b3877c40-da60-4998-90ad-b792e98472af.json",
16 "voice_url": "http://example.com",
17 "voice_method": "POST",
18 "voice_fallback_url": "http://example.com",
19 "voice_fallback_method": "POST",
20 "status_callback": "http://example.com",
21 "status_callback_method": "POST",
22 "sms_url": "http://example.com",
23 "sms_method": "POST",
24 "sms_fallback_url": "http://www.example.com/sms-fallback",
25 "sms_fallback_method": "POST",
26 "sms_status_callback": "http://www.example.com/sms-status-callback",
27 "sms_status_callback_method": "POST",
28 "message_status_callback": "http://www.example.com/sms-status-callback"
29 }
30 ]
31}

Example

1from signalwire.rest import RestClient
2
3client = RestClient(
4 project="your-project-id",
5 token="your-api-token",
6 host="your-space.signalwire.com",
7)
8
9apps = client.compat.applications.list(PageSize=20)