Skip to content
Knowledge base
Open dashboard
UAEN
How-toTakes 5 minUpdated 02/11/2026

Get a token and make the first request

Where to create an API token in the cabinet, how to pass it in the Authorization header and verify it with /user/info.

Open in dashboardChecked on the current dashboard version
Contents: 9
  1. 1. Open «Account» and find the «Authentication Tokens» section.
  2. 2. Click «Add» and enter a «Token name», for example the name of your integration.
  3. 3. Copy the token and store it in the ADV_T environment variable in your terminal.
  4. 4. Send GET /user/info to api.advision.digital with a Bearer Authorization header.
  5. 5. Request GET /dashboard to see the cabinet summary: screens, playlists, storage.
  6. Connection parameters
  7. Examples
  8. Account endpoints
  9. If it did not work

Open «Account» and find the «Authentication Tokens» section.

You will see the list of existing tokens or an empty section with the «Add» button.

Click «Add» and enter a «Token name», for example the name of your integration.

A new 128-character token appears in the list.

Copy the token and store it in the ADV_T environment variable in your terminal.

Send GET /user/info to api.advision.digital with a Bearer Authorization header.

A 200 response with login, role and cabinet fields means the token works.

Request GET /dashboard to see the cabinet summary: screens, playlists, storage.

Connection parameters

Parameter

Value

Base URL

http://api.advision.digital (plain http, no TLS)

Header

Authorization: Bearer <TOKEN> on every request

Format

JSON responses; POST bodies are JSON too, except file/post (multipart/form-data)

Rights

One token = ownerRole with full access to the cabinet, including members and tokens. level for the whole cabinet

Sessions

None: to "log out", simply stop sending the token

Documentation

No Swagger or OpenAPI; paths look like /{controller}/{action}

Examples

Token check with curl: curl -s -H "Authorization: Bearer $ADV_T" http://api.advision.digital/user/info

The same in Python: import httpx, os; c = httpx.Client(base_url="http://api.advision.digital", headers={"Authorization": f"Bearer {os.environ['ADV_T']}"}, timeout=60); print(c.get("/user/info").json()["cabinet"])

The /user/info response contains the token itself and the e-mail in plain text: do not print it in full to logs or chat.

Account endpoints

Method and path

What it does

Important

GET /user/info

Profile of the current token: login, email, role, cabinet{id,name,tariff,balance}

HTTP 200 = the token works; the response contains the plain token

GET /dashboard

Cabinet summary: space, points{total,syncing,notSynced,offline}, playlists{total,expiring,expired}, billing

Quick health check of the whole fleet in one request

GET /user

Cabinet users (total, users[])

Creating users and roles via API is not available

POST /user/shareAccess

Body {"pointIds":[...],"fileIds":[...]}, returns autologinToken for passwordless login

Not verified on a live cabinet

If it did not work

Response

What to do

401

The header did not arrive or the token is incomplete: check that you send all 128 characters and the word Bearer followed by a space

403

The token was revoked or the object is unavailable: 403 Not avaliable is also returned for a deleted file and for /{controller}/get without an id

500

Transient API failure: retry 4–6 times with a 2–3 second pause; if the error persists, check the request body