Map a policy smart link's per-country routing
A scannable country -> {arm, destination} map: for each country, the arm(s) the policy would serve and the concrete destination a visitor lands on. Defaults to the countries of the audiences that feed this smart link, so you see exactly what your real traffic gets. Runs the exact production resolution WITHOUT redirecting anyone. 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 to probe (e.g. 'DE,FR,US'). Empty = the countries of the audiences bound to this link.
Which page configuration to read: 'draft' (the version you are editing, default) or 'published' (the live version).
"draft"Value in
- "draft"
- "published"
Response Body
application/json
application/json
curl -X GET "https://example.com/api/admin/smartlinks/0/geo-map"{ "country_count": 0, "rows": [ { "country": "string", "served": [ { "arm": "paid", "requested_arm": "paid", "weight": 0, "code": "string", "url": "http://example.com", "layer": "host", "rerouted": true } ], "dead": true } ]}{ "detail": { "code": "string", "message": "string" }}See where a policy smart link is used
Read-only "used in": the landing buttons that point at this smart link, together with the audiences (geo-segments) those buttons belong to and the countries each audience routes here. Requires a read-scoped key.
Health-check a policy smart link
Runs the production resolution across every country of the audiences that feed this smart link and reports what would break — dead-end routes where a fan lands on nothing, an enabled arm with no destination, an inactive link, or a link no button uses yet. Each issue carries a plain-language message and a hint at what to fix. Requires a read-scoped key.