Docs
Get Crew Role Definitions
GET /organizations/{orgId}/crew-role-definitions
GET
/organizations/{orgId}/crew-role-definitionsLists the organization's crew role library: the named slots, filled by crew or collaborator records, that crew types place in their sections. Each role carries its filler kind, cardinality, use cases (Org, Event, or both) and availability list. Archived roles are left out unless includeArchived is true. Needs Crew.View at the organization.
Path Parameters
| Field | Type | Required | Description |
|---|---|---|---|
| orgId | uuid | Required |
Query Parameters
| Field | Type | Required | Description |
|---|---|---|---|
| includeArchived | boolean | Optional |
Response
Type: GetHostRoleDefinitionResponse[]
GetHostRoleDefinitionResponse
| Field | Type | Description |
|---|---|---|
| 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 |