Authentication

Get Authenticated User

Endpoint: GET https://app.quizify.io/api/user

Retrieves the profile information of the currently authenticated user, including basic details such as name, email, and any associated account metadata. This endpoint requires a valid access token to ensure secure access to user-specific data.

Headers:

Authorization: Bearer YOUR_ACCESS_TOKEN
Accept: application/json

Response Example:

{
  "id": 1,
  "name": "Demo User",
  "email": "demo.user@example.com"
}

Error Response:

{
  "message": "Unauthenticated."
}