Get a list of all RBAC permissions grouped by resource type Run in API Explorer
Ask AI
Returns the permission catalogue for the authenticated account's firm. groups maps each
group slug to its display label, resources maps each resource type slug to its display
label, and permissions lists the assignable permissions under each group. Permissions
belonging to features the firm does not have enabled are omitted.
GET
/api/v1/static/rbac-permissions
curl \
--request GET 'https://api.plannrcrm.com/api/v1/static/rbac-permissions' \
--header "Authorization: Bearer $ACCESS_TOKEN" \
--header "X-PLANNR-ACCOUNT-UUID: {YOUR_PLANNR_ACCOUNT_UUID}"
Response examples (200)
{
"data": {
"groups": {
"accounts": "Accounts",
"external": "External",
"plans": "Plans"
},
"resources": {
"external": "Introducers",
"plans": "Plans",
"tasks": "Tasks"
},
"permissions": {
"accounts": [
{
"label": "View Tasks",
"value": "tasks:read"
},
{
"label": "Update Tasks",
"value": "tasks:update"
}
],
"external": [
{
"label": "View Introducers",
"value": "external:read"
}
],
"plans": [
{
"label": "View Plans",
"value": "plans:read"
},
{
"label": "View All Plans",
"value": "plans:readAll"
}
]
}
}
}