v2

latestOpenAPI 3.1.02026-08-01244220427.0 KB
Token

Get Token Info

Retrieve user information associated with the current access token.

Parameters:

  • current_user (User): The user instance obtained from the current access token.

Returns:

  • UserRead: The serialized user data.
get/v2/token

Headers

authorizationstring nullable

Response

Successful Response

idstring required
namestring nullable
emailstring email required
emailVerifiedstring date-time nullable
activeboolean
adminboolean
imagestring nullable
locationstring nullable
websitestring nullable

Example response

{
  "id": "5eb7cf5a86d9755df3a6c593"
}