Base URL https://api.cube-hr.co.uk/api/v1
19 endpoints
User accounts, roles, user groups, and RBAC permissions.
/employees/{uuid}/user
Create a login account for an employee. Optionally auto-generates a temporary password. The user will be required to change their password on first login.
/users
Get all user accounts for the company.
/users/{uuid}
Get a specific user account by UUID.
Update a user account (e.g. email, active status).
Soft-delete a user account (revokes login access, does not delete employee record).
/users/{uuid}/password-reset
Generate a new temporary password for a user and optionally send it by email.
/users/{uuid}/access
Get all permissions for a user (resolved from groups + individual overrides).
Set individual permission overrides for a user. These override group permissions.
/users/{uuid}/groups
Get the groups a user belongs to.
Set the groups a user belongs to. Replaces existing group membership.
/groups
Get all user groups for the company.
Create a custom access group.
/groups/{uuid}
Update a group name or description.
Delete a custom group. Cannot delete system groups (Staff Member, Manager, HR Manager, Company Admin).
/groups/{uuid}/access
Get all permissions assigned to a group.
Set permissions for a group. Replaces all existing group permissions.
/groups/{uuid}/members
Get all users in a group.
Set the members of a group. Replaces existing membership.
/access
Get the complete list of all available access permission keys in the system.