Skip to main content
GET
/
auth
/
me
{
  "success": false,
  "error": {
    "status": 401,
    "code": "UNAUTHORISED",
    "message": "Invalid or missing authentication"
  },
  "data": null
}
Get information about the currently authenticated user.
success
boolean
Indicates if the request was successful
data.user
object
User information
data.user.id
string
User UUID
data.user.email
string
User email address
data.user.isVerified
boolean
Whether the user’s email is verified

Example Request

curl -X GET https://api.transaction.gg/auth/me \
  -H "Authorization: Bearer jwt_token"

Example Response

{
  "success": true,
  "error": null,
  "data": {
    "user": {
      "id": "user_uuid",
      "email": "[email protected]",
      "isVerified": true
    }
  }
}

Error Responses

{
  "success": false,
  "error": {
    "status": 401,
    "code": "UNAUTHORISED",
    "message": "Invalid or missing authentication"
  },
  "data": null
}