Guides
Authentication
How to authenticate with the Orthogonal API
API Keys
All requests to Orthogonal require an API key in the Authorization header:
Authorization: Bearer YOUR_API_KEY
Getting Your Key
- Sign in at www.orthogonal.com
- Go to Account → Keys
- Copy your API key
Key Types
| Type | Prefix | Use Case |
|---|---|---|
| Live | orth_live_ | Production usage, charged to your account |
| Test | orth_test_ | Stored OpenAPI fixtures; no provider call or credit charge |
Environment Variables
We recommend storing your key in an environment variable:
export ORTHOGONAL_API_KEY=YOUR_API_KEY
Then reference it in your code:
const apiKey = process.env.ORTHOGONAL_API_KEY;