Get Current User
Retrieve information about the currently authenticated user.Endpoint
Headers
Bearer token for authentication
Response
User information
Example Request
Example Response
User Roles
admin
Full system access including:
- Manage all websites
- Manage all teams
- Manage all users
- Access all analytics data
- System configuration
user
Standard user access:
- Manage own websites
- Create and join teams
- View team resources based on team role
- Cannot manage other users
Use Cases
- Verify authentication status
- Display user information in UI
- Check user permissions
- Validate token before making other API calls
Error Responses
Unauthorized - Invalid or expired token
This endpoint returns the user information associated with the provided Bearer token. Use this to verify authentication and retrieve the current user’s details.