Skip to main content

Get user by id

GET 

/v1/users/:target_user_id

Get user by id

This endpoint retrieves detailed information about a user based on their unique identifier (id). It returns a JSON object containing the user's ID, email, nickname, status, creation date, last transaction date, and last login date. Access to this endpoint is restricted; users can only retrieve information about another user if they share common accounts or if the requesting user is an administrator. The endpoint supports caching to reduce database load for frequently accessed user profiles.

Request

Path Parameters

    target_user_id uuidrequired

    User id

Responses

User found

Schema
    createdAt date-timerequired
    email stringrequired
    id uuidrequired
    lastLogin date-timenullable
    lastTransaction date-timenullable
    nickname stringrequired
    status stringrequired
Loading...