API Reference / Contributors - Roles
List roles
get
https://api.intelig.ai/api/v1/intelig/contributors/roles
Auth: Authorization: ApiKey <key> (an API key sent as
Bearer is rejected) or Authorization: Bearer <jwt>
for a dashboard session. operationId: getRoles
Returns all contributor roles for the current organization
Example request
curl -X GET "https://api.intelig.ai/api/v1/intelig/contributors/roles" \
-H "Authorization: ApiKey $INTELIG_API_KEY" Query parameters
| Name | Type | Required | Description |
|---|---|---|---|
includeInactive | boolean | no | — |
Response 200
application/json · ApiResponseListContributorRoleDto
| Field | Type | Description |
|---|---|---|
success | boolean | — |
message | string | — |
data | ContributorRoleDto[] | — |
Status codes
200— Roles retrieved successfully401— Not authenticated403— Insufficient permissions to access code intelligence pillar429— —
Every response is wrapped in { success, message, data }. A 4xx means the request
is wrong — do not retry it unchanged. A 429 carries Retry-After in seconds.