Authentication
Learn how to authenticate your API requests.
API Key Authentication
Every request to the AIcores API must include your API key in the x-api-key HTTP header. API keys are scoped to your account and have the same permissions as your plan.
Header Format
x-api-key: sk_live_abc123def456...Example
-blue-400 font-semibold">curl -X GET -emerald--amber-400">400">"https://api.aicores.io/v1/email/validate?email=user@example.com" \
-H -emerald--amber-400">400">"x-api-key: sk_live_abc123def456"Key Types
| Prefix | Environment | Description |
|---|---|---|
| sk_live_ | Production | Counts against your monthly quota |
| sk_test_ | Testing | Returns mock responses, does not count against quota |
Keep your keys secret
Never expose API keys in client-side JavaScript, mobile apps, or public repositories. If a key is compromised, rotate it immediately from your Dashboard.