cURL
curl --request GET \
--url 'https://api.coderabbit.ai/v1/users?seat_filter=all&role_filter=all&limit=100' \
--header 'x-coderabbitai-api-key: <api-key>'{
"seats_purchased": 50,
"seats_assigned": 30,
"seat_assignment_mode": "manual",
"users": [
{
"user_id": "121358802",
"seat_assigned": true,
"role": "cr_admin"
},
{
"user_id": "22605247",
"seat_assigned": false,
"role": "cr_member"
}
],
"next_cursor": "MjI2MDUyNDc="
}List all users in your organization with optional filtering by seat assignment and role status. Supports cursor-based pagination.
GET
/
v1
/
users
cURL
curl --request GET \
--url 'https://api.coderabbit.ai/v1/users?seat_filter=all&role_filter=all&limit=100' \
--header 'x-coderabbitai-api-key: <api-key>'{
"seats_purchased": 50,
"seats_assigned": 30,
"seat_assignment_mode": "manual",
"users": [
{
"user_id": "121358802",
"seat_assigned": true,
"role": "cr_admin"
},
{
"user_id": "22605247",
"seat_assigned": false,
"role": "cr_member"
}
],
"next_cursor": "MjI2MDUyNDc="
}Users List
Requires Admin role. See Role-based access for details.
Authorizations
API key for authentication. You can create an API key from the CodeRabbit dashboard.
Headers
Your CodeRabbit API key
Query Parameters
Filter users by seat assignment status
Available options:
all, assigned, unassigned Filter users by role
Available options:
all, member, admin Maximum number of users to return per page
Required range:
1 <= x <= 100Pagination cursor from previous response's next_cursor field
Response
List of users with seat and subscription info
Total number of seats purchased in the subscription
Number of seats currently assigned to users
The seat assignment mode for the organization
Available options:
automatic, manual Show child attributes
Show child attributes
Cursor for the next page of results, or null if no more results
Was this page helpful?
⌘I