If you’re building an AI assistant integration rather than calling the HTTP API directly, see
MCP Tools — it wraps this same API for tools like Claude Desktop.
Authentication
Every request needs a Bearer API key with the Links scope.1
Open API Keys
Go to Settings → Workspace → Settings & Integrations, find the API Keys card, and
click Create API Key.
2
Select the Links scope
Give the key a name and choose an environment. Events is included on every key by
default; check Links as well to allow this key to create and look up links.
3
Copy the plaintext key
The key is shown once. If you need to add the Links scope to a key you already created,
open its row menu and edit its scopes — you don’t need to issue a new key.
403 Forbidden from both endpoints below.
Create a link
Request fields
Response — created (201) or idempotent hit (200)
201 means a new link was minted. A 200 with idempotent: true means the same external_id
was already used — you get the existing link back, not a duplicate.
Find a link
Look up a link you created earlier by theexternal_id you gave it.
external_id returns 404, not an error you need to treat specially — it just means
nothing has been created with that key yet.
Idempotent retries
Always send the sameexternal_id when retrying a create call after a timeout or network error.
The API compares it against links already created under your account — a second call with the
same key returns the original link (200, idempotent: true) instead of creating a duplicate.
If you omit external_id, a new one is generated automatically for you, and a bare retry (no
external_id on either call) will mint a second link.
Governance enforcement
If your workspace has published a governance version (Settings → Governance), thesource/medium/platform/objective you send are checked against it, the same as a value
typed into the dashboard’s Add Mapping dialog. Unrecognized values can be blocked depending on
your workspace’s policy:
Destination allowlist
An account can optionally restrict which destinations API-created links may point to (Settings → Workspace → Settings & Integrations). When set, adestination outside the
allowed origins is rejected:
https:// destination is accepted.