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

ScopeAllows
links:readList and read links
links:writeCreate, change and delete links
apps:readList and read apps
domains:readList domains and their status
reports:readRead reports and link statistics
usage:readRead monthly active user usage
events:writeSend server-side events
devices:writeErase the data of a device on request
webhooks:readList webhooks
webhooks:writeCreate, change and delete webhooks