This API endpoint retrieves the details of a specific user using their user_id.
To fetch the user information, make a GET request to the following URL:
Notice: Make sure the user_id is an urlencode string.
GET /v1/users/{user_id}
Replace {user_id} with the unique identifier of the user you wish to fetch.
The API will return the user details in a JSON object if the given user_id is valid and
exists in the system. The JSON object will include fields like name, age, city, gender
, and other user information.
Here’s an example of a successful API response for a user with the user_id “user123”:
{
"message": "success",
"data": {
"user_id": "user123",
"name": "johndoe",
// ... other user details
}
}
If the provided user_id is invalid or does not exist in the system, the API will return an
error response with a status_code=404.
{
"message": "not found"
}
Documentation Index
Fetch the complete documentation index at: https://docs.miso.ai/llms.txt
Use this file to discover all available pages before exploring further.
Your secret API key is used to access every Miso API endpoint. You should secure this key and only use it on a backend server. Never leave this key in your client-side JavaScript code. If the private key is compromised, you can revoke it in Dojo and get a new one.
Specify your secret key in the api_key query parameter. For example:
POST /v1/users?api_key=039c501ac8dfcac91c6f05601cee876e1cc07e17The ID of the user.
512