All requests to the Adhere API must include your secret key in the request headers. Requests without a valid key will return aDocumentation Index
Fetch the complete documentation index at: https://docs.smartcomply.com/llms.txt
Use this file to discover all available pages before exploring further.
401 Unauthorized error.
Base URL
Getting Your API Key
After completing your business KYC on the Adhere dashboard:- Navigate to Settings → API Keys
- Click Generate Key
- Copy and store the key securely — it will not be shown again
Request Headers
| Header | Value | Required |
|---|---|---|
x-access-token | Your secret API key | Yes |
Content-Type | application/json | Yes |
Example Request
Security Best Practices
- Use environment variables — store your key in
.envfiles and load it at runtime, never hard-code it - Use separate keys per environment — maintain distinct keys for development, staging, and production
- Rotate keys periodically — regenerate your key from the dashboard if you suspect it has been compromised
- Restrict key usage — only share keys with services that strictly need them

