5 min readUpdated 2024-11-28

API Authentication

Learn how to authenticate with the NeuroCron API.

Overview

NeuroCron uses Bearer Token authentication for all API requests.

Getting Your API Key

  • Log in to your NeuroCron account
  • Go to **Settings → API Keys**
  • Click **Generate New Key**
  • Copy and securely store your key

⚠️ API keys are shown only once. Store them securely.

Using Your API Key

Include the key in the Authorization header:

curl -X GET "https://api.neurocron.com/v1/campaigns" \

-H "Authorization: Bearer YOUR_API_KEY" \

-H "Content-Type: application/json"

Rate Limits

PlanRequests/MinuteRequests/Day
Free601,000
Starter12010,000
Growth30050,000
EnterpriseCustomCustom

Error Responses

401 Unauthorized

Invalid or missing API key

403 Forbidden

API key lacks required permissions

429 Rate Limited

Too many requests - includes retry_after value

Security Best Practices

  • Never commit keys to version control
  • Use environment variables
  • Rotate keys regularly
  • Use minimum permissions required

Was this page helpful?