Users
User information
This endpoint lets you retrieve all the information on a user. You need to have READ access to this users.
get/user/{user_id}
Path parameters
user_idstring required
User id
Query parameters
display_business_idsboolean
- If true, response includes business_ids; a list of businesses the user has access to.
- If false, response does not include business_ids.
⚠️ Note: The business_ids list is only populated for users with the BUSINESS_MANAGER role.
Response
OK
Example response
{
"id": "5309c3a237bbc544d8e26737",
"org_id": 42,
"first_name": "Perceval",
"last_name": "de Galles",
"email": "perceval@kaamelott.com",
"lang": "fr",
"business_ids": [
"5409c35a97bbc544d8e26737"
],
"accesses": [
[
1,
2
],
[
1,
3
]
],
"role": "BUSINESS_MANAGER",
"provider": "partoo",
"status": "active",
"created_at": 1615299414,
"custom_role": "my_custom_role"
}