Admin REST API
Retrieve SIEM compatible audit events using the Keeper Admin REST API
Overview
The Keeper Admin REST API allows business customers to generate tokens and interact with Keeper's REST API for 3rd party integrations such as SIEM. For vault and administration related APIs, see the Service Mode REST API.
Note: Support for CSPM and MSP Billing integrations will be available soon.
Prerequisites
Enterprise Root Administrator permissions (required to create API tokens).
Keeper Commander installed to manage tokens via CLI.
Manage API Tokens via Keeper Commander (CLI)
The Commander CLI includes a public-api-key command group with list, generate, and revoke operations. The snippets below summarize the most useful flows.
1. List API tokens
# Table view
public-api-key list
# JSON output to a file
public-api-key list --format json --output api_keys.json
# CSV export
public-api-key list --format csv --output api_keys.csv2. Generate an API token
Role and action codes
Roles:
SIEMActions:
1 = READ,2 = READ_WRITEExpiration options:
24h,7d,30d,1y,never
Example:
--roles "SIEM:1"means SIEM (read).
3. Revoke an API token
Audit Events API
Retrieves a paginated list of audit events for a specific enterprise between two dates. This endpoint is primarily used for SIEM integrations (e.g., Azure Sentinel) and is compatible with other log aggregation tools.
Results are returned in pages. Use the continuation_token from the response to retrieve the next page. When there are no more results, continuation_token will be null and has_more will be false.
Example:
curl --location 'https://keepersecurity.com/api/rest/public/events?start_date=2025-11-24T00%3A00%3A00Z&limit=20&end_date=2025-11-26T23%3A59%3A59Z' --header 'x-api-token: Bearer YOUR_API_TOKEN'
100A paginated list of audit events
Bad request
Unauthorized
Server error
Endpoint
Purpose Retrieve audit events within a specified date range for your enterprise.
Authentication
Send your API token in the x-api-token header:
x-api-token: Bearer <API_TOKEN>
Query parameters
start_date
ISO 8601
Yes
Start of the date range (e.g., 2024-07-09T00:00:00Z).
end_date
ISO 8601
Yes
End of the date range (e.g., 2025-07-10T19:45:00Z).
continuation_token
String
Only for pagination
Use the token returned by the API to fetch the next page of events.
Headers
x-api-token
Bearer <API_TOKEN>
Example requests
Without pagination
With pagination
Example success response (200)
Error codes
400
Missing start date
start_date query parameter is missing
400
Missing end date
end_date query parameter is missing
401
Unauthorized
Invalid or missing API token
500
Internal Server Error
Unexpected server error
Security Notes
Treat API tokens like passwords; rotate them on a schedule.
Restrict permissions to the minimum required roles and actions.
Prefer short expirations; use
neveronly for special automation cases.Store tokens in a secure location (e.g., Keeper Vault).
Appendix: Quick Reference (Commander)
Last updated
Was this helpful?

