- Docs
- API
- Authentication
API Authentication
How the REST API expects credentials.
Full walkthrough: Getting Started → Authentication.
Bearer API key
- Header:
Authorization: Bearer sk_… - Fallback:
x-api-key: sk_… - Create keys at API Keys
http
GET https://www.oflo.ai/api/v1/users/me
Authorization: Bearer sk_…Browser session
Logged-in browser requests to same-origin APIs use session cookies. For curl and server integrations, prefer API keys.
Interactive reference
Use API Reference → Authorize with your Bearer key, then Try it out.
