ReachScore Docs

Authentication

All API requests require authentication using Bearer tokens. Learn how to securely authenticate your API calls.

API Keys

ReachScore uses API keys to authenticate requests. You can create and manage API keys from your dashboard settings.

Key Prefixes

rk_live_
Live mode keys

Use for production. Tests real email deliverability with actual inbox placement checks.

rk_test_
Test mode keys

Use for development. Returns simulated results without sending real emails.

Making Authenticated Requests

Include your API key in the Authorization header using Bearer authentication:

curl https://api.reachscore.co/v1/tests \
  -H "Authorization: Bearer rk_live_your_api_key_here" \
  -H "Content-Type: application/json"

Mode Isolation

Test mode and live mode data are completely isolated. Resources created with a test key are only accessible with test keys, and vice versa.

Live Mode

  • Real email deliverability tests
  • Actual inbox placement checks
  • Counts against your plan limits
  • Production-ready results

Test Mode

  • Simulated responses
  • No real email processing
  • Does not count against limits
  • Perfect for development

API Key Scopes

API keys can be restricted to specific scopes for enhanced security:

ScopeDescription
tests:readRead test results
tests:writeCreate and manage tests
domains:readRead domain information
domains:writeCreate and verify domains
monitors:readRead monitor configurations
monitors:writeCreate and manage monitors
webhooks:manageManage webhook endpoints
billing:manageAccess billing and subscription

Security Best Practices

  • Never expose API keys in client-side code or public repositories
  • Use environment variables to store keys securely
  • Create separate keys for different environments (dev, staging, production)
  • Use the minimum required scopes for each key
  • Rotate keys periodically and revoke unused keys