curl -X GET "https://your-instance.com/api/v1/users/id/123" \
-H "Authorization: Bearer YOUR_ACCESS_TOKEN"
{
"id": 123,
"user_uuid": "user_abc123",
"username": "johndoe",
"first_name": "John",
"last_name": "Doe",
"email": "[email protected]",
"avatar_image": "https://example.com/avatar.jpg",
"bio": "Learning enthusiast and course creator",
"email_verified": true,
"details": {
"timezone": "America/New_York"
},
"profile": {
"website": "https://johndoe.com",
"linkedin": "johndoe"
}
}
Get user details by ID
curl -X GET "https://your-instance.com/api/v1/users/id/123" \
-H "Authorization: Bearer YOUR_ACCESS_TOKEN"
{
"id": 123,
"user_uuid": "user_abc123",
"username": "johndoe",
"first_name": "John",
"last_name": "Doe",
"email": "[email protected]",
"avatar_image": "https://example.com/avatar.jpg",
"bio": "Learning enthusiast and course creator",
"email_verified": true,
"details": {
"timezone": "America/New_York"
},
"profile": {
"website": "https://johndoe.com",
"linkedin": "johndoe"
}
}
is_superadmin, signup_method).
curl -X GET "https://your-instance.com/api/v1/users/id/123" \
-H "Authorization: Bearer YOUR_ACCESS_TOKEN"
{
"id": 123,
"user_uuid": "user_abc123",
"username": "johndoe",
"first_name": "John",
"last_name": "Doe",
"email": "[email protected]",
"avatar_image": "https://example.com/avatar.jpg",
"bio": "Learning enthusiast and course creator",
"email_verified": true,
"details": {
"timezone": "America/New_York"
},
"profile": {
"website": "https://johndoe.com",
"linkedin": "johndoe"
}
}
GET /api/v1/users/uuid/{user_uuid} - Get user by UUIDGET /api/v1/users/username/{username} - Get user by username