Docs
Get Activity Role Definitions
GET /organizations/{orgId}/activity-role-definitions
GET
/organizations/{orgId}/activity-role-definitionsLists the organization's activity role definitions; includeArchived adds archived ones. Needs Activity.View at the organization.
Path Parameters
| Field | Type | Required | Description |
|---|---|---|---|
| orgId | uuid | Required |
Query Parameters
| Field | Type | Required | Description |
|---|---|---|---|
| includeArchived | boolean | Optional |
Response
Type: GetActivityRoleDefinitionResponse[]
GetActivityRoleDefinitionResponse
| Field | Type | Description |
|---|---|---|
| requiredCount | integer| 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 |