User Tools

Site Tools


api:pbx:voicemail:auth

API : PBX : Voicemail Auth

Request

This is an internal API used by Audio servers.

It is invoked when a voicemail is downloaded to validate that the downloaders token grants access to the voicemail.

URL https://api.telecomx.dk/pbx/voicemail/VOICEMAIL_ID/auth
Method GET
Access level PBX servers.
Params VOICEMAIL_ID String Id of voicemail to e-mail.
Query token String Valid token of logged on user.

Query examples

https://api.telecomx.dk/pbx/voicemail/1234578901234567890ABCD/auth?token=hjwhfjewhdjkhdsjkvhewjkfhrehvbkjbwjkdvsbdk

Response

JSON object
success Boolean True on success

Example

{
  "success": true
}

Errors

Error code Message Description
403 access_denied Insufficient access level
500 internal_error <Unspecified>
api/pbx/voicemail/auth.txt · Last modified: 2019/11/04 14:21 by Per Møller

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki