Base URL https://api.cube-hr.co.uk/api/v1
9 endpoints
API key creation, management, permissions, and usage logs.
/api-keys
Get all API keys for the company.
Create a new API key. The full key is only shown once, when it is created, so store it securely.
/api-keys/{uuid}
Get details of an API key (never returns the full key value).
Update API key name, description, or active status.
Delete an API key (immediately revokes access).
/api-keys/{uuid}/regenerate
Generate a new key value. The old key is immediately invalidated. New key shown once only.
/api-keys/{uuid}/permissions
Get the scoped permissions for an API key.
Set permissions for an API key. Replaces existing permissions.
/api-key-usage
View API key usage statistics and recent requests.