api:customer:docauth
Table of Contents
API : Customer : DocAuth
Introduction
This request is sent by document servers to validate if a document may be served to the user.
Request
| URL | https://api.telecomx.dk/customer/CUSTOMER_ID/docauth/DOC_ID | |
|---|---|---|
| Method | GET | |
| Access level | VIEWER, MANAGER, OWNER, RESELLER, RESELLER_ADMIN, ADMIN | |
| Param | CUSTOMER_ID | Id of the customer (24 hex-char string) |
| DOC_ID | Id of the document (24 hex-char string) | |
| Query | token | User token for authorization |
Query example
https://api.telecomx.dk/customer/1234567890ABCDEF12345678/docauth/12345678901234567890AAAA?token=sh42uei0hi2hiofe0hfeio043034hj0fniirw42fei0inof
Response
| Json object | ||
|---|---|---|
| success | Boolean | True on success |
Example
{ success: true }
Errors
| Error code | Message | Description |
|---|---|---|
| 404 | customer | Customer not found |
| 404 | doc | Document not found |
| 403 | access_denied | Insufficient access level |
| 500 | internal_error | <Unspecified> |
api/customer/docauth.txt · Last modified: 2026/05/09 02:30 by Per Møller