Authentication

CoreVerify uses API keys to authenticate requests. You can create and manage API keys from Account → Developer Settings in the dashboard.

API Key Types

TypePrefixUse
Secretsk_live_...Full API access — server-side only
Publishablepk_live_...Read-only, safe for frontend
Security: Never expose your secret key in client-side code. Treat it like a password — it grants full access to your account.

Using Your API Key

Include your key as a Bearer token in the Authorization header:

curl https://api.coreverify.com/v1/reports \
  -H "Authorization: Bearer sk_live_your_secret_key"

Test vs Live Keys

CoreVerify provides separate test and live environments. Test keys use the prefix sk_test_ and pk_test_, and do not initiate real background checks or billing.

EnvironmentSecret PrefixPublishable Prefix
Livesk_live_...pk_live_...
Testsk_test_...pk_test_...

Authentication Errors

StatusCodeMeaning
401unauthorizedMissing or invalid API key
403forbiddenKey does not have permission for this action