This request will return info on a danish phone number.
| URL | https://api.telecomx.dk/dk/number/info/<NUMBER> | |
|---|---|---|
| Method | GET | |
| Access level | VIEWER, MANAGER, OWNER, RESELLER, RESELLER_ADMIN or ADMIN. | |
| PARAM | NUMBER | 8 digit phone number to lookup (may also be prefixed with +45). |
https://api.telecomx.dk/dk/number/info/71919998
| Number object (JSON) | ||
|---|---|---|
| number | String | The phone number in E.164 format. |
| type | String | Type of number: FIXED, MOBILE, RESERVED or SPECIAL. |
| operator | String | The CPS code of the operator the number is located with. Empty string if the number is not mapped to an operator. |
| operatorName | String | The name of the operator the number is located with. Unknown (or UNKNOWN) when the number is not mapped to a known operator. |
{ "number": "+4571919998", "type": "MOBILE", "operator": "01234", "operatorName": "Operator ApS" }
| Error code | Message | Description |
|---|---|---|
| 422 | id | Phone number is invalid |
| 403 | access_denied | Insufficient access level |
| 500 | internal_error | <Unspecified> |