Loading...
Back to Features

Public API

Plug Affi.link into your own tools and scripts.

curl -X POST /api/v1/links \
  -H "Authorization: Bearer <token>" \
  -d '{"redirect_url": "https://example.com"}'

{ "short_url": "https://go.affi.link/8pQr2" }

Anyone managing dozens or hundreds of links — bulk product drops, seasonal campaigns, catalog-wide updates — benefits from automating the repetitive part and spending the time saved on the links that actually need a human's attention.

How it works

Create a personal access token from API Tokens in your account menu, choose which abilities it can use (read, create, update, delete), and authenticate requests with it as a Bearer token. From there you can create, list, update, and delete links programmatically — the same operations available in the dashboard, callable from your own scripts, spreadsheets, or internal tools.

Good to know

Limited API access (link CRUD) is available on Pro. Full API access — including bulk operations, custom domains, and the endpoints behind the Zapier and store integrations — requires Business.

Need step-by-step setup instructions?
Create and manage links programmatically — available on Pro and Business.
Read the guide
Start now for free! See all features