Docs
Get Collaborator Role Definitions
GET /organizations/{orgId}/collaborator-role-definitions
GET
/organizations/{orgId}/collaborator-role-definitionsLists the organization's collaborator role library: the named slots, filled by crew or collaborator records, that collaborator types place in their sections. Each role carries its filler kind, cardinality, use cases (Org, Event, or both), availability list, and the access role (accessRoleId, accessRoleName) whoever fills it holds at the collaborator. Archived roles are left out unless includeArchived is true. Needs Collaborator.View at the organization.
Path Parameters
| Field | Type | Required | Description |
|---|---|---|---|
| orgId | uuid | Required |
Query Parameters
| Field | Type | Required | Description |
|---|---|---|---|
| includeArchived | boolean | Optional |
Response
Type: GetCollaboratorRoleDefinitionResponse[]
GetCollaboratorRoleDefinitionResponse
| Field | Type | Description |
|---|---|---|
| accessRoleId | uuid| null | |
| accessRoleName | string| null | |
| id | uuid | |
| name | string| null | |
| icon | string| null | |
| color | string| null | |
| fillerKind | string| null | |
| cardinality | string| null | |
| isArchived | boolean | |
| useCases | string[]| null | |
| availability | GetHostRoleDefinitionResponseAvailabilityInfo| null |
GetHostRoleDefinitionResponseAvailabilityInfo
| Field | Type | Description |
|---|---|---|
| recordIds | uuid[]| null |