API reference
Authentication
Every organization creates its own tokens, each limited to exactly what it needs.
Bearer tokens
Send your token in the Authorization header of every request, over HTTPS only.
One organization per token
A token can only see and change its own organization’s data. Owners and admins create them under Integrations, then API tokens.
Limit what a token can do
Give each token only the scopes it needs. You can also limit it to one app, to specific IP addresses or ranges, and to an expiry date.
Rotate without downtime
Rotating issues a new token and keeps the old one working for 24 hours, so your systems can switch over safely. Revoking takes effect immediately.
Authorization: Bearer dbk_a1b2c3d4...Scopes
| Scope | Allows |
|---|---|
links:read | List and read links |
links:write | Create, change and delete links |
apps:read | List and read apps |
domains:read | List domains and their status |
reports:read | Read reports and link statistics |
usage:read | Read monthly active user usage |
events:write | Send server-side events |
devices:write | Erase the data of a device on request |
webhooks:read | List webhooks |
webhooks:write | Create, change and delete webhooks |