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. |
https://api.telecomx.dk/pbx/recording/1234578901234567890ABCD/auth?token=hjwhfjewhdjkhdsjkvhewjkfhrehvbkjbwjkdvsbdk
| JSON object | ||
|---|---|---|
| success | Boolean | True on success |
{ "success": true }
| Error code | Message | Description |
|---|---|---|
| 403 | access_denied | Insufficient access level |
| 500 | internal_error | <Unspecified> |