The
/user/{userId}
endpoint allows users to retrieve the details of a specific user identified by their unique userId.
Method:GET
Path Parameter:
Parameter | Type | Description |
---|---|---|
userId | string | The unique identifier of the user. |
See Examples below for response
Authentication
This endpoint requires authentication. Include your bearer token in the Authorization header.Path Parameters
Parameter | Type | In | Required | Description |
---|---|---|---|---|
id | string | path | ✅ | User ID |
Responses
✅ 200 - success
⚠️ 401 - Unauthorized
⚠️ 404 - Not Found
❌ 500 - Internal Server Error
Tags
User
Authorizations
JWT Authorization header using the Bearer scheme. Format: "Bearer {token}"
Path Parameters
User ID