Tropo is part of CiscoLearn More

GET /applications

Gets a list of application resources. This list is an array containing the full resource description of each Application.

Request

GET https://api.tropo.com/v1/applications/

Headers

This request must be authenticated with HTTP Basic authentication using your Tropo account credentials.

Authorization: Basic QWxhZGRpbjpPcGVuU2VzYW1l

Response

Fields

href
The REST address for the application.
id
The ID of the application, also found in the REST address for the application.
name
The name of the application.
voiceUrl
The URL that powers voice calls for your application. Either voiceUrl or messagingUrl will always be set.
messagingUrl
The URL that powers SMS/messaging calls for your application. Either voiceUrl or messagingUrl will always be set.
environment
A URL to the Environment this application is running under, indicating if it's Production or Development (or possibly a special environment).
apiType
Either scripting or webapi, indicates which type of application this is. Case-insensitive, defaults to "scripting".
userId
The ID of user this application belongs to. Always the same User ID as the credentials making the request, provided here for completeness and convenience in moving about the API.
user
The REST resource for the user this application belongs to. Always the same User ID as the credentials making the request, provided here for completeness and convenience in moving about the API.
partition
Included for backward compatibility purposes only, this field only appears on applications created before the "environment" field was added. "Production" indicates application is running in a billable environment. All other values indicate it is running in a development environment.

Example

[
  {
    "href": "https://api.tropo.com/rest/v1/applications/5012345",
    "id": "5012345",
    "name": "Naughy or Nice",
    "platform": "scripting",
    "voiceUrl": "http://hosting.tropo.com/8765/www/naughtynice.php",
    "messagingUrl": "http://hosting.tropo.com/8765/www/naughtynice.php",
    "environment": "https://api.tropo.com/rest/v1/environments/410",
    "userId": 8765,
    "user": "https://api.tropo.com/rest/v1/users/8765",
    "apiType": "scripting",
    "partition": "staging"
  },
  {
    "href": "https://api.tropo.com/rest/v1/applications/5054321",
    "id": "5054321",
    "name": "scripting vs webapi test",
    "platform": "webapi",
    "voiceUrl": "https://example.com/webapi",
    "environment": "https://api.tropo.com/rest/v1/environments/410",
    "userId": 8765,
    "user": "https://api.tropo.com/rest/v1/users/8765",
    "apiType": "webapi",
    "partition": "staging"
  }
]