TEASEDocs
API ReferenceSmart Links

List policy smart links

Lists your policy smart links — the /r/<slug> links that hold BOTH a paid and a trial destination and split traffic by policy (weighted, sticky per visitor, with per-country rules). Requires a read-scoped key.

Authorization

bearerAuth
AuthorizationBearer <token>

Your al_live_<prefix>_<secret> API key. Mint and manage keys in the dashboard.

In: header

Query Parameters

domain?string

Only links on this hostname.

Response Body

application/json

GET
/api/admin/smartlinks
curl -X GET "https://example.com/api/admin/smartlinks"
{  "items": [    {      "id": 0,      "domain": "string",      "slug": "string",      "name": "string",      "policy": {        "v": 1,        "arms": {          "paid": {            "enabled": true,            "weight": 1,            "label": "string",            "trial_days": 1,            "require_country_link": true          },          "ftl": {            "enabled": true,            "weight": 1,            "label": "string",            "trial_days": 1,            "require_country_link": true          }        },        "geo": [          {            "countries": [              "string"            ],            "arms": {              "paid": {                "enabled": true,                "weight": 1,                "label": "string",                "trial_days": 1,                "require_country_link": true              },              "ftl": {                "enabled": true,                "weight": 1,                "label": "string",                "trial_days": 1,                "require_country_link": true              }            }          }        ]      },      "active": true,      "url": "http://example.com",      "created_at": 0,      "updated_at": 0    }  ]}