Using the API
November 18, 2026
Everything the dashboard does with links, your code can do too. Full reference: API docs.
Keys
Go to API & AI, name a key and create it. The key is shown once: copy it then. We only store a fingerprint of it. Send it as Authorization: Bearer YOUR_KEY. Revoke a key and requests using it fail straight away; make a new one if a key leaks. AI connector keys (see AI assistants) are read-only: they can read everything and change nothing.
What you can do
- Links:
POST /linksto create,GET /linksto list (up to 500 per page, with a cursor),GET,PATCHandDELETE /links/{id or code}, and/links/{id or code}/stats. - Clicks:
GET /clickswith every stored click and its parameters (filters: since, until, link, bots=false, limit up to 5,000; last 7 days by default), andGET /clicks/{click_id}. - Sales:
POST /conversionsto report a sale from your own system. - Account:
GET /usageandGET /networks.
Links created through the API get the same network detection, click ID and safety check as links made in the dashboard.