Get details of an particular application by passing the app_id. This API returns all the information linked with the application.

API Endpoint

GET
https://api.plivo.com/v1/Account/{auth_id}/Application/{app_id}/

Arguments

No arguments need to be passed.

Returns

Returns an Application object.

Request

import plivo

client = plivo.RestClient('<auth_id>','<auth_token>')
response = client.applications.get(
    app_id='24075895272788587', )
print(response)

Response

HTTP Status Code:200
{
  "answer_method": "GET",
  "answer_url": "https://<yourdomain>.com/dial.xml",
  "app_id": "20372631212782780",
  "app_name": "Dial Office",
  "default_app": false,
  "enabled": true,
  "fallback_answer_url": "",
  "fallback_method": "POST",
  "hangup_method": "POST",
  "hangup_url": "http://webapp.com/dial.xml",
  "message_method": "POST",
  "message_url": "",
  "public_uri": false,
  "resource_uri": "/v1/Account/MA2025RK4E639VJFZAGV/Application/20372631212782780/",
  "sip_uri": "sip:20372631212782780@app.plivo.com",
  "sub_account": null,
  "log_incoming_messages": true
}