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 Your al_live_<prefix>_<secret> API key. Mint and manage keys in the dashboard.
In: header
Path Parameters
Query Parameters
Comma-separated ISO codes, e.g. 'DE,FR,US'. Empty = no geo.
Pin one arm instead of showing every eligible arm.
Value in
- "paid"
- "ftl"
Response Body
application/json
application/json
application/json
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" }}Update a policy smart link
Replaces the routing policy, renames the link, or toggles it active. The policy is validated; routing picks changes up within about a minute. Requires a write-scoped key.
List a policy smart link's destinations
Every destination link this policy smart link routes to, one per (arm, country) — including destinations you have switched off. Use it to review and edit the applied setup row by row. Requires a read-scoped key.