This request will return the id of the current greeting used for voicemail on a standalone mobile phone.
| URL | https://api.telecomx.dk/mvno/voicemail/PHONENUMBER/PINCODE/greeting | ||
|---|---|---|---|
| Method | GET | ||
| Access level | N/A | ||
| Param | PHONENUMBER | Phonenumber in e.164 format. | |
| PINCODE | Pin code for the account. | ||
https://api.telecomx.dk/mvno/voicemail/+4571919998/1234/greeting
| JSON Object | ||
|---|---|---|
| id | String | Id of current greeting - 1-9. |
{ "id": "1" }
| Error code | Message | Description |
|---|---|---|
| 404 | id | Not found |
| 404 | pin | Not found |
| 403 | number | Voicemail not enabled for this number |
| 403 | pin | Login via pin disabled due to multiple failed logins |
| 422 | pin | Pin code is invalid |
| 500 | internal_error | <Unspecified> |