Authentication
How to authenticate with the Offly API.
Overview
The Offly API uses Bearer token authentication. All API requests must include an Authorization header.
Getting an API key
1
Navigate to API settings
Go to Settings → API Keys and click Create API Key.
2
Name your key
Give it a descriptive name (e.g. "Slack bot", "HR sync").
3
Copy the key
Your API key is shown once. Copy and store it securely — it won't be shown again.
API key creation success
Using the key
Include the key in the Authorization header:
Authorization: Bearer offly_sk_live_abc123...
Base URL
All API endpoints use:
https://api.offly.net/api/v1/
Keep keys secure
Never expose API keys in client-side code or public repositories. Rotate keys immediately if compromised.