import plivo

client = plivo.RestClient('<Auth>', '<Token>')

response = client.verify_callerids.list_verified_caller_id();

print(response)
{
  "api_id": "245e58e7-de0d-4d75-844a-5ce55750e0ff",
  "meta": {
    "limit": 20,
    "next": null,
    "offset": 0,
    "previous": null,
    "total_count": 1
  },
  "objects": [
    {
      "alias": "US Mainland",
      "country": "US",
      "created_at": "2024-02-09T03:52:22.880098Z",
      "modified_at": "2024-02-09T03:52:22.880098Z",
      "phone_number": "+12025551XXX",
      "resource_uri": "/v1/Account/{auth_id}/VerifiedCallerId/12025551XXX",
      "subaccount": "",
      "verification_uuid": "f87836bd-f3c0-41bb-9498-125e6faaa4d4"
    }
  ]
}

The method lets you retrieve details of all verified caller IDs on your account.

API Endpoint

GET
https://api.plivo.com/v1/Account/{auth_id}/VerifiedCallerId/{phone_number}

Atrributes

AttributesDescription
alias (string, optional)The friendly name associated with the verified caller ID.
subaccount (string, optional)A valid sub-account Auth ID.
Default: None
country (string, optional)The 2-digit ISO country code of the verified caller ID.
import plivo

client = plivo.RestClient('<Auth>', '<Token>')

response = client.verify_callerids.list_verified_caller_id();

print(response)
{
  "api_id": "245e58e7-de0d-4d75-844a-5ce55750e0ff",
  "meta": {
    "limit": 20,
    "next": null,
    "offset": 0,
    "previous": null,
    "total_count": 1
  },
  "objects": [
    {
      "alias": "US Mainland",
      "country": "US",
      "created_at": "2024-02-09T03:52:22.880098Z",
      "modified_at": "2024-02-09T03:52:22.880098Z",
      "phone_number": "+12025551XXX",
      "resource_uri": "/v1/Account/{auth_id}/VerifiedCallerId/12025551XXX",
      "subaccount": "",
      "verification_uuid": "f87836bd-f3c0-41bb-9498-125e6faaa4d4"
    }
  ]
}