Get Current User

Get Current User

get
Authorizations
Responses
200

Response type that returns a User record.

application/json
Responseall of
get
GET /auth/user HTTP/1.1
Host: api.mysk.school
X-Api-Key: YOUR_API_KEY
Accept: */*
{
  "api_version": "text",
  "data": {
    "id": "123e4567-e89b-12d3-a456-426614174000",
    "created_at": "2025-09-04T15:37:18.285Z",
    "email": "[email protected]",
    "role": "management",
    "is_admin": true,
    "onboarded": true,
    "permissions": [
      "text"
    ]
  },
  "error": null,
  "meta": {
    "timestamp": "2025-09-04T15:37:18.285Z",
    "pagination": null
  }
}

Last updated