Introduction

Quickstart

From a fresh API key to your first tracking link in about four minutes.

Create a key

Keys live in the publisher dashboard under Account → API Keys. Give the key a name, pick its scopes, and copy the secret. It is shown exactly once.

For this walkthrough choose custom scopes rather than a preset, and grant four: programs:read, programs:write, links:write and reports:read.

Keep it out of your repo

A key is a bearer credential. Anyone holding it acts as you, inside its scopes. Read it from the environment, never from source, and never ship it to a browser.

Paste it into the runners below

Every endpoint on this site has a Try it panel. Paste your key into any one of them and it is reused across the whole site for this browser tab, and it is filled into the code samples so you can copy a working request.
export LINKAPPROVE_API_KEY="la_9f2c4a71e8b350d6c1f4a7e2b8d90c53"

curl https://api.linkapprove.com/v1/programs \
  -H "Authorization: Bearer $LINKAPPROVE_API_KEY"

Find a program

Programs are the merchant campaigns you can promote. Filter the catalogue down to something you would actually place, like a category you write about, on a payout model you like.

GEThttps://api.linkapprove.com/v1/programsprograms:read

You get back a paginated envelope. Note the id on the program you want. That is what a tracking link is minted against.

Approval comes first

Every program needs an approved application on your channel before you can mint links against it. approvalType: "auto" approves the moment you apply; "manual" is reviewed by the LinkApprove team first. See Apply to a program.
curl "https://api.linkapprove.com/v1/programs?payoutType=cps&page=1&size=10" \
  -H "Authorization: Bearer $LINKAPPROVE_API_KEY"
Try it
GEThttps://api.linkapprove.com/v1/programs?payoutType=cps&page=1&size=10

Held in this tab's session storage only, and reused by every runner on the site.

This panel replays the documented sample response and does not call the API. Copy a code sample to send a real request with your key.

Read the numbers

Clicks appear within about ten minutes. Conversions arrive when the upstream network reports them: in real time for networks that post back, and on a six-hour pull for the rest.

GEThttps://api.linkapprove.com/v1/reports/performancereports:read
  • Money sits in earnings, one entry per currency and never summed across currencies. In each entry commission is what you have earned and pending is reported by the network but not yet approved.
  • Group by program (the default), channel, day or subId. A subId grouping reports clicks only.
  • Ranges are inclusive YYYY-MM-DD dates, capped at 180 days per request.

Every row field and grouping is described in the Reports reference.

curl "https://api.linkapprove.com/v1/reports/performance?startDate=2026-08-01&endDate=2026-08-18&groupBy=program&page=1&size=10" \
  -H "Authorization: Bearer $LINKAPPROVE_API_KEY"
Try it
GEThttps://api.linkapprove.com/v1/reports/performance?startDate=2026-08-01&endDate=2026-08-18&groupBy=program&page=1&size=10

Held in this tab's session storage only, and reused by every runner on the site.

This panel replays the documented sample response and does not call the API. Copy a code sample to send a real request with your key.