Get valid caller IDs


This request returns the list of valid caller IDs for the user. Caller id is the phone number that is transmitted to the called party.
If the list is empty the user can only choose for the current caller id or anonymous.
If there are values in the list, the user can choose between these values + anonymous and the current caller id (current caller id is normally in the list as well).
If one of the values is empty this means the default caller id can be selected, the user is reading this as the option "Default".

Resource

GET /me/phone/caller_id_list

Parameters

None

Payload

None

Response

Object Response < [String] >

Context

Authorization

User

Errors

HTTP code Xelion code Description

404

10054

The user has no phone line.

Example

Request
GET https://xelion.nl/api/v1/master/me/phone/caller_id_list
Response
{
  "object": [
    "0237119270",
    "0237119271",
    "0237119272",
    ""
  ],
  "links": [
    {
      "rel": "self",
      "href": "http://www.xelion.nl/api/v1/master/me/phone/caller_id_list",
      "method": "GET"
    }
  ]
}