v7

latestOpenAPI 3.0.3raw.githubusercontent.com2026-08-013764062.2 MB
Auth

Validates a token

If the token is valid returns the user that owns the token

get/auth/reset/validate

Response

tokenUserSchema

idinteger required

The user id

namestring

The name of the user

emailstring required

The email of the user

tokenstring required

A token uniquely identifying a user

createdBystring nullable required

A username or email identifying which user created this token

Example response

{
  "id": 7,
  "name": "Test McTest",
  "email": "test@example.com",
  "token": "user:xyzrandomstring",
  "createdBy": "admin@example.com",
  "role": {
    "id": 9,
    "type": "root",
    "name": "Editor",
    "description": "Users with the editor role have access to most features in Unleash but can not manage users and roles in the global scope. Editors will be added as project owners when creating projects and get superuser rights within the context of these projects. Users with the editor role will also get access to most permissions on the default project by default.",
    "project": "default"
  }
}