X-API-Key header.
Get an enterprise API key
1
Open Compliance API settings
Sign in as a Tenant Owner and go to Compliance API settings.
2
Select a key type
Choose e-Discovery & legal hold — currently the only key type available. Additional key types may be introduced in the future.
3
Create and copy the key
Generate a new key with a descriptive label (e.g. “audit-2026-q2”). Copy it immediately — it is shown only once. Store it in a secrets manager.
Use the API key
Include the key in theX-API-Key header on every request:
- cURL
- Python
- TypeScript