Docs

Get Grantable

GET /grants/grantable

GET/grants/grantable

Lists the contexts where the caller can grant access, each with the caller's own permissions there, the access roles they can grant whole and whether they can make someone admin. Without eventId: the organization, its departments and locations. With eventId (from Organizations_GetEvents), or an event token alone: that event, its collaborators, areas and activities.

Query Parameters

FieldTypeRequiredDescription
eventIduuidOptional

Response

Type: GetGrantableContextResponse[]

GetGrantableContextResponse

FieldTypeDescription
contextTypestring| null
contextIduuid
labelstring| null
verbsstring[]| null
grantableRoleIdsuuid[]| null
canGrantAdminboolean