Role Management
List organization roles
Changed onLists built-in roles and Enterprise custom roles for the authenticated organization.
get/v1/roles
Request
- Base URLhttps://api.coderabbit.ai
- AuthAPI key in header x-coderabbitai-api-key
Query parameters
org_idstring
Required when authenticating with a workspace-scoped API token: the git-provider organization id to target within the token's workspace. Ignored for organization and self-hosted keys.
role_type'all' | 'system' | 'custom'
Optional role type filter.
include_permissionsboolean
include_user_countboolean
Response
Successfully retrieved roles
Changes
- info
endpoint added
- info