TEASEDocs
API ReferenceSmart Links

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.

Authorization

bearerAuth
AuthorizationBearer <token>

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

In: header

Path Parameters

Query Parameters

state?string

Which page configuration to read: 'draft' (the version you are editing, default) or 'published' (the live version).

Default"draft"

Value in

  • "draft"
  • "published"

Response Body

application/json

application/json

GET
/api/admin/smartlinks/{smartlink_id}/validate
curl -X GET "https://example.com/api/admin/smartlinks/0/validate"
{  "ok": true,  "blocking": 0,  "warnings": 0,  "issues": [    {      "severity": "block",      "code": "unused",      "message": "string",      "fix": {        "type": "usage",        "country": "string",        "arm": "paid"      }    }  ]}
{  "detail": {    "code": "string",    "message": "string"  }}