Authentication
All API requests require an API key for authentication. Create and manage your keys in the dashboard under Settings > API Keys.
API Keys
API keys identify your organization and grant access to all API endpoints. Each key is scoped to a single organization. Treat your API keys like passwords — never expose them in client-side code, public repositories, or logs. If a key is compromised, rotate it immediately from your dashboard.
Authorization Header
Pass your API key in the Authorization header using the Bearer scheme on every request:
Authorization: Bearer sk_live_xxxxxxxxxxxxx
Test vs Live Keys
Icodrip provides two types of API keys distinguished by their prefix:
sk_live_Live key — operates on real production data. Use this in your production environment.sk_test_Test key — operates on isolated test data. Use this during development and integration testing. Test data never affects live records.