This section provides detailed information about the User Info API endpoint, which allows developers to retrieve user information.

Endpoint

The User Info endpoint is accessible at /api/user-info.

Usage

To retrieve user information, you need to send a GET request to the endpoint. The request should include the user's ID in the query parameter user_id.

GET /api/user-info?user_id=12345

Response

The API will return a JSON object containing the user's information. Here is an example of the response structure:

{
  "user_id": "12345",
  "username": "example_user",
  "email": "example@example.com",
  "created_at": "2021-01-01T00:00:00Z"
}

Parameters

  • user_id: The unique identifier of the user. This is required.

Error Handling

If the requested user does not exist, the API will return a 404 Not Found error.

Related Resources

For more information about the API and other endpoints, please refer to our API Reference.

[

user_info
]