Authentication & API Keys
How to create and manage API keys for secure access.
3 min read
Authentication & API Keys
Secure your API integration with proper authentication.
API Key Types
- Live Keys: For production use with real prescriptions
- Sandbox Keys: For development and testing
Creating API Keys
- Navigate to the Developer section of your portal
- Select 'API Keys'
- Click 'Generate New Key'
- Set permissions and restrictions
- Copy and securely store your key
Key Security
- Never expose API keys in client-side code
- Rotate keys periodically
- Use environment variables for key storage
- Set IP restrictions where possible
Revoking Keys
If a key is compromised, revoke it immediately from the API Keys page. Generate a new key and update your integration.
Was this article helpful?