Overview
The Users API provides endpoints for retrieving authenticated user information. User authentication is handled via JWT tokens included in the Authorization header.All endpoints require authentication via Bearer token in the Authorization header.
Get Current User
Response
User profile information extracted from the JWT token.
Example Request
Example Response
Error Responses
Missing or invalid authentication token.
This endpoint is useful for verifying token validity and retrieving the current user’s identity. The response contains all claims from the JWT token payload.
Authentication
Bearer Token Format
All API requests must include a valid JWT token in the Authorization header:Token Structure
The JWT token contains the following claims:- sub (subject): User’s unique identifier (UUID)
- name: User’s full name
- email: User’s email address
- iat (issued at): Token creation timestamp
- exp (expiration): Token expiration timestamp
Token Expiration
Tokens have a limited lifetime defined by theexp claim. When a token expires, you will receive a 401 Unauthorized error. You’ll need to obtain a new token through your authentication provider.
