Skip to main content
All Adaline API requests and SDK calls require authentication via a Bearer token (API key).

Getting Your API Key

  1. Log in to the Adaline Dashboard
  2. Follow the steps to Create API Keys.

Using Your API Key

REST API

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

TypeScript SDK

The SDK reads from the ADALINE_API_KEY environment variable by default:

Python SDK

Error Responses

If authentication fails, the API returns a 401 Unauthorized response:
Common causes:
  • Missing Authorization header
  • Malformed token (missing Bearer prefix)
  • Expired or revoked API key
  • Key does not have permission for the requested resource