Docs
Get Event Access Grants
GET /eventAccessGrants
GET
/eventAccessGrantsLists the organization's event access grants: who (a department, person or API key), the roles and permissions they get inside each event, the condition choosing the events (no groups = every event) and how many events it matches today. Needs Access.Manage at the organization (organization token).
Response
Type: GetEventAccessGrantResponse[]
GetEventAccessGrantResponse
| Field | Type | Description |
|---|---|---|
| id | uuid | |
| granteeType | string| null | |
| granteeId | uuid | |
| granteeName | string| null | |
| accessRoles | GetEventAccessGrantResponseRoleInfo[]| null | |
| permissions | string[]| null | |
| condition | EventAccessCondition | |
| matchingEventCount | integer |
GetEventAccessGrantResponseRoleInfo
| Field | Type | Description |
|---|---|---|
| id | uuid | |
| name | string| null |
EventAccessCondition
| Field | Type | Description |
|---|---|---|
| logic | string| null | |
| groups | EventAccessConditionGroup[]| null | |
| attributeIds | uuid[]| null |
EventAccessConditionGroup
| Field | Type | Description |
|---|---|---|
| logic | string| null | |
| conditions | EventAccessConditionCondition[]| null |