Users
Retrieve user information by user ID with optional field selection
Request
Provide your bearer token in the Authorization
header when making requests to protected resources. Example:Authorization: Bearer ********************
The ID of the user to retrieve
Example:61100af5c548eb5c7ebc7819
Include _id field in response
Include avatar field in response
Include displayName field in response
Include username field in response
Request samples
curl --location --request GET 'https://integration.returning.ai/apis/v1/users/'
Responses
Success message for the operation
{
"meta": {
"status": "success",
"statusCode": 200
},
"message": "Get user success.",
"data": {
"_id": "61100af5c548eb5c7ebc7819",
"id": 123456789,
"avatar": "https://returning-ai.com/avatar.png",
"displayName": "Admin",
"username": "admin"
}
}
Modified at 2025-06-23 14:46:45