Lists an employee's persistent tokens (API keys), newest first. Tokens are masked to their first and last 4 characters - the full token is only shown when it is created. The masked form can be used to delete a token. Expired tokens are not listed.
| URL | https://api.telecomx.dk/employee/EMPLOYEE_ID/token | |
|---|---|---|
| Method | GET | |
| Access level | The employee self, or read access to the employee's customer. | |
| Param | EMPLOYEE_ID | Id of the employee (24 hex-char string) |
| Json array of objects | ||
|---|---|---|
| token | String | The token, masked: eyJh**********9fbr. |
| name | String | Name of the token, empty for tokens created before names existed. |
| scope | String | full or read. |
| expires | String | ISO 8601 expiry, or null for never. |
| created | String | ISO 8601 time the token was created. |
| accessed | String | ISO 8601 time the token was last used. |
[ { token: 'eyJh**********9fbr', name: 'Claude Desktop', scope: 'read', expires: '2027-01-07T10:00:00.000Z', created: '2026-10-09T10:00:00.000Z', accessed: '2026-10-09T11:02:13.000Z' }, { token: 'eyJh**********x2Qa', name: '', scope: 'full', expires: null, created: '2024-03-01T08:00:00.000Z', accessed: '2026-10-08T23:00:01.000Z' } ]
| Error code | Message | Description |
|---|---|---|
| 404 | employee | Employee not found |
| 403 | access_denied | Insufficient access level |