User Account Info
These routes offer details about the logged-in user, covering account information and authentication status, and allow access to their metadata through the API.
GET /user
This route provides a summary of the logged-in user's metadata, including ID, username, full name, email, account status, group, subscription details, device limits, and login history.
- Example response:
{
"errors": [],
"debug": [],
"meta": [],
"data": {
"id": 55,
"username": "coper",
"fullname": "Copernicus Technologies GmbH",
"email": "info@copernitech.com",
"password": "7f4a92c1b6e507893d2a1f4c9b8e2d05",
"consent": 1,
"active": 1,
"groupid": 2,
"created": "2022-02-19 12:43:00",
"last_login": "2026-05-20 14:32:48",
"subscription": "professional",
"expiration": "2026-01-01",
"max_devices": 250,
"login_count": 663
},
"success": true
}
GET /user/state
This API route shows the current authentication status of the user, indicating whether they are successfully authenticated.
- Example response:
{
"errors": [],
"debug": [],
"meta": [],
"data": {
"authenticated": true
},
"success": true
}