Set caller ID
This request sets the external caller ID of the user. This is the phone number that is transmitted to the called party.
The selected caller ID must be a part of the valid caller IDs list.
If anonymous calling is set (see Phone Settings) then no caller ID is transmitted.
Resource
PUT /me/phone/caller_id
Parameters
None
Payload
The caller ID string.
The string value is a valid caller ID (see valid caller IDs list) or empty for selecting the default caller ID.
Response
None
Context
Authorization |
User |
Errors
HTTP code | Xelion code | Description |
---|---|---|
400 |
10200 |
no caller id is specified |
10202 |
failed to decode the caller id |
|
404 |
10054 |
The user has no phone line. |
Example
Request
PUT https://xelion.nl/api/v1/master/me/phone/caller_id
Payload
"0141632641"