api:pbx:voicemail:count
Table of Contents
API : PBX : Voicemail count
Request
This request returns the number of new and old messages.
| URL | https://api.telecomx.dk/pbx/voicemail/count | |
|---|---|---|
| Method | GET | |
| Access level | PERSONAL, VIEWER, MANAGE, OWNER, RESELLER if voicemails belongs to the user or ADMIN. | |
Query examples
https://api.telecomx.dk/pbx/voicemail/count
Response
| JSON object | ||
|---|---|---|
| newMessages | Number | Number of new messages |
| oldMessages | Number | Number of old messages |
Example - normal
{ "newMessages": 2, "oldMessages": 5 }
Errors
| Error code | Message | Description |
|---|---|---|
| 403 | access_denied | Insufficient access level |
| 500 | internal_error | <Unspecified> |
api/pbx/voicemail/count.txt · Last modified: 2021/05/07 21:01 by Per Møller