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

PrefixEnvironmentDescription
sk_live_ProductionCounts against your monthly quota
sk_test_TestingReturns 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.