TEASEDocs
API ReferenceSmart Links

Dry-run a policy smart link

Answers "where would a visitor from country X land?" WITHOUT redirecting anyone: runs the exact production policy + destination resolution per country and returns one row per (country, eligible arm). 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

Path Parameters

Query Parameters

country?string

Comma-separated ISO codes, e.g. 'DE,FR,US'. Empty = no geo.

arm?string

Pin one arm instead of showing every eligible arm.

Value in

  • "paid"
  • "ftl"

Response Body

application/json

application/json

application/json

GET
/api/admin/smartlinks/{smartlink_id}/resolve
curl -X GET "https://example.com/api/admin/smartlinks/0/resolve"
[  {    "country": "string",    "arm": "paid",    "code": "string",    "url": "http://example.com",    "layer": "host",    "pinned": true  }]
{  "detail": {    "code": "string",    "message": "string"  }}
{  "detail": {    "code": "string",    "message": "string"  }}