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.
Authorization
bearerAuth Your al_live_<prefix>_<secret> API key. Mint and manage keys in the dashboard.
In: header
Path Parameters
Query Parameters
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/usage"{ "count": 0, "buttons": [ { "button_id": "string", "tier": "string", "segment_name": "string", "label": "string", "url": "string" } ], "segments": [ { "segment_id": "string", "name": "string", "position": 0, "is_default": true, "countries": [ "string" ], "all_countries": [ "string" ] } ]}{ "detail": { "code": "string", "message": "string" }}Edit a destination of a policy smart link
Edits one applied destination: switch it in or out of routing ('active'), replace its URL, or relabel it. Scoped to a destination that belongs to this smart link. Requires a write-scoped key.
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.