SoftSolzSoftSolz
HomeAPI GuideAPI ReferenceWidget Tester
Affiliates

List referral links and their click counts

Referral links, newest first, up to 200.

GEThttps://app.softsolz.uk/api/v1/services/affiliates/affiliates/links

Recent Requests

Kept only in this browser
TimeStatusTook
Send a request with Try it to see it here.

Headers

Authorizationstringrequired

Bearer token: Bearer sk_live_... (or sk_test_... for sandbox). A login token will not work here.

Query Params

affiliate_idstring

Only the links of this partner.

limitinteger

Page size, 1-200 (default 50).

offsetinteger

Number of links to skip (default 0).

Response

Response Body · array of objects

idstringReferral link id.
affiliate_idstringPartner the link belongs to.
slugstringShort name used in the link address.
urlstringThe referral link to share. It records the click and forwards to the destination.
destination_urlstringWhere the visitor lands after the click.
campaignstring | nullCampaign label for reporting, or null.
click_countintegerClicks recorded on this link.
last_click_atstring | nullWhen the link was last clicked, or null.
created_atstringWhen the link was issued.

Request

curl --request GET \
--url https://app.softsolz.uk/api/v1/services/affiliates/affiliates/links \
--header 'Authorization: Bearer sk_live_your_key'

Credentials

Sent as a Bearer token and used in the samples above and in Try it. Kept only in this browser tab until you close it. Use an sk_test_ key to stay in your sandbox.

Response · 200

{
"data": [
{
"id": "7",
"affiliate_id": "12",
"slug": "acme-media",
"url": "https://app.softsolz.uk/ref/acme-media",
"destination_url": "https://www.example.com/pricing",
"campaign": "spring-launch",
"click_count": 0,
"last_click_at": null,
"created_at": "2026-10-01T10:20:00.000Z"
}
],
"meta": {
"limit": 50,
"offset": 0,
"total": 1,
"has_more": false
}
}