Auth

Validate JWT token and return user identity

get/api/auth-check

Request

  • Base URL
    https://api.rewritelifestyle.ai (the document declares no server; this is the origin it was published from)
  • URL
    https://api.rewritelifestyle.ai/api/auth-check
  • Auth
    HTTP bearer

Response

unknown required

Example response

{
  "authenticated": true,
  "userId": 5,
  "role": "user"
}

Changes

No recorded changes to this operation across all 34 revisions of this API.