KindeK
Kinde4mo ago
2 replies
pio0otrek

organization users api response

Hello Team,

When i access /api/v1/organizations/org_XXXXXXX/users

I get good response with all users, also SUSPENDED. is there a way to. customize API response to have there is_suspended properity? In the same way as it is included in other general user endpoints? Or there is another way that i don't see to get that info for all users in specific organization?

Sample response:

{
"code": "OK",
"message": "Success",
"next_token": "MTo6OmlkX2FzYw==",
"organization_users": [
{
"id": "kp_451cfc394c0xxxxxxxxxx",
"email": "xxxxxxxxx@gmail.com",
"roles": [
"owner"
],
"picture": "https://gravatar.com/avatar/adac8c313ad58f7902b50dabb1c75e5f136e969b181ca5533ac6589e51e8d2bd?d=blank&size=200",
"full_name": "xxx vvvv",
"joined_on": "2025-09-21T14:50:38.08669+00:00",
"last_name": "xxx",
"first_name": "xxx",
"last_accessed_on": "2025-09-21T15:07:52.736837+00:00"
}
]
}

Sample SEARCH user response /api/v1/search/users

{
"id": "kp_451cfc394XXXXXX",
"email": "XXXXXX@gmail.com",
"phone": null,
"picture": "https://gravatar.com/avatar/adac8c313ad58f7902b50dabb1c75e5f136e969b181ca5533ac6589e51e8d2bd?d=blank&size=200",
"username": null,
"full_name": "XXX VVV",
"last_name": "xxx",
"api_scopes": [],
"created_on": "2025-09-21T14:50:28.312231+00:00",
"first_name": "xxxx",
"provided_id": null,
"is_suspended": true,
"organizations": [
"org_7837xxx"
],
"last_signed_in": "2025-09-21T15:07:52.718112+00:00",
"total_sign_ins": 3,
"failed_sign_ins": 0
}
Preview image
Was this page helpful?