All requests to the Adhere API must include your secret key in the request headers. Requests without a valid key will return a 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
Example Request
Security Best Practices
Never expose your secret key in client-side code, public repositories, or logs.
- Use environment variables — store your key in
.env files 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