Skip to content
☁️ HitKeep Cloud is coming! Join the Early Access waitlist →

Roles and Permissions

Access control over your analytics data should live on your infrastructure — not in a third-party identity cloud you don’t control. HitKeep’s role-based access control (RBAC) is enforced entirely on your instance, with granular roles at both the instance level and per site.

Instance roles apply across the entire HitKeep installation.

RolePermissions
ownerFull access — users, all sites, system settings
adminCan view all sites; cannot modify system settings
userAccess only to explicitly assigned sites

Change a user’s instance role (admin only):

Terminal window
curl -X POST https://your-hitkeep.example/api/admin/users/{user_id}/role \
-H "Content-Type: application/json" \
-b "hk_token=ADMIN_SESSION_COOKIE" \
-d '{"role": "admin"}'

Site roles are scoped per user, per site. A user can be a viewer on one site and an owner on another.

RoleWhat they can do
ownerFull site access — data, goals, funnels, team, retention settings
adminManage data, goals, funnels, and team members
editorCreate and edit goals and funnels
viewerRead-only access to dashboard and analytics
Terminal window
curl -X POST https://your-hitkeep.example/api/sites/{site_id}/members \
-H "Content-Type: application/json" \
-b "hk_token=YOUR_SESSION_COOKIE" \
-d '{"email": "teammate@example.com", "role": "viewer"}'

An invitation email is sent to the address. The user accepts via a link — no admin approval flow required on your end.

Terminal window
curl -X DELETE https://your-hitkeep.example/api/sites/{site_id}/members/{user_id} \
-b "hk_token=YOUR_SESSION_COOKIE"
Terminal window
# Current user's permissions across all sites
curl https://your-hitkeep.example/api/user/permissions \
-b "hk_token=YOUR_SESSION_COOKIE"

For CI pipelines, integrations, or automated dashboards, use API Clients instead of sharing user credentials. API client tokens are bearer tokens that can be revoked individually without affecting any other user or session.

HitKeep Cloud adds managed user provisioning with per-tenant data isolation — your organization’s analytics are never co-mingled with another customer’s. Join the waitlist →