Beta API

Read your links from your tools

The Linka Factory API lets you read account, campaign and short-link information for reporting, internal tools, Make, Zapier or automation agents.

The beta API is read-only: retrieve account, campaign and link data within your key's permissions. Creating, editing and deleting are not available through the API.

Account isolation

A key only reads resources for the account it belongs to.

Explicit scopes

Available scopes are limited to read access: account, campaigns and short links.

Usage is logged

Calls increase the usage counter and record last use.

Available endpoints

GET/api/v1/account

Reads the account, active plan, limits and usage status.

GET/api/v1/campaigns?limit=50

Lists campaigns visible to the API key.

GET/api/v1/links?limit=50

Lists short links visible to the API key.

cURL

curl https://linkafactory.com/api/v1/account \
  -H "Authorization: Bearer lf_sk_..." \
  -H "Accept: application/json"

JSON

{
  "ok": true,
  "account": {
    "id": "acc_...",
    "slug": "astrak-agence",
    "name": "Astrak agence"
  },
  "plan": {
    "slug": "pro",
    "campaignLimit": 25,
    "shortLinkLimit": 2000,
    "routingRuleLimit": 25
  }
}