Authentication
The Khaime Partner API uses API key authentication via the X-API-Key header.
API Key Types
Creating API Keys
- Log in to app.khaime.com
- Go to Settings → API & Integrations
- Click Create API Key
- Select environment (Sandbox or Live)
- Copy the key — it’s shown only once
Using Your Key
Include the key in every request:
Key Management
Programmatic Key Management
Key management endpoints require your user auth token (x-id-key header), not the API key itself.
These are typically called from your dashboard, not from integration code.
Security Best Practices
- Never expose API keys in client-side code or version control
- Use environment variables to store keys
- Use sandbox keys for development and testing
- Rotate keys periodically
- Revoke compromised keys immediately