Docs / Guide

Authentication

Create an API Key

Verify your email, create a key in the dashboard, and store the full value when it is shown.

  1. Open API Keys.
  2. Create a named key.
  3. Store it in a secret manager or environment variable.
Example
export DATABLUE_API_KEY="YOUR_API_KEY"

Send the Key

curl "https://api.datablue.dev/v1/auth/me" \
  -H "Authorization: Bearer YOUR_API_KEY"
Example response
{
  "id": "user_01HXYZ",
  "email": "developer@example.com",
  "name": "DataBlue Developer",
  "is_verified": true,
  "role": "user",
  "status": "active",
  "plan": "free",
  "created_at": "2026-07-20T09:00:00Z"
}

Key Safety

  • Never place keys in browser code, URLs, logs, or commits.
  • Use separate keys for development and production.
  • Delete a key immediately if it is exposed.
  • A deleted key cannot authenticate again.