import plivo

client = plivo.RestClient('<auth_id>','<auth_token>')


response = client.queued_calls.list_ids()
print(response)
{
  "api_id": "c9527676-5839-11e1-86da-6ff39efcb949",
  "calls": [
    "eac94337-b1cd-499b-82d1-b39bca50dc31",
    "0a70a7fb-168e-4944-a846-4f3f4d2f96f1"
  ]
}

This method lets you retrieve details of all queued calls. The maximum number of results that can be fetched with a single API call is 20.

API Endpoint

GET
https://api.plivo.com/v1/Account/{auth_id}/Call/?status=queued

Arguments

No extra arguments need to be passed.

Returns

Returns the call objects that match the filters specified in the request.

import plivo

client = plivo.RestClient('<auth_id>','<auth_token>')


response = client.queued_calls.list_ids()
print(response)
{
  "api_id": "c9527676-5839-11e1-86da-6ff39efcb949",
  "calls": [
    "eac94337-b1cd-499b-82d1-b39bca50dc31",
    "0a70a7fb-168e-4944-a846-4f3f4d2f96f1"
  ]
}