api:pbx:recording:auth
Table of Contents
API : PBX : Auth
Request
This is an internal API used by Audio servers.
It is invoked when a recording is downloaded to validate that the downloaders token grants access to the recording.
| URL | https://api.telecomx.dk/pbx/recording/RECORDING_ID/auth | ||
|---|---|---|---|
| Method | GET | ||
| Access level | PBX servers. | ||
| Params | RECORDING_ID | String | Id of recording to e-mail. |
| Query | token | String | Valid token of logged on user. |
Query examples
https://api.telecomx.dk/pbx/recording/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/recording/auth.txt · Last modified: 2019/11/04 14:19 by Per Møller