TEASEDocs
API ReferenceStats & Attribution

Dry-run a domain link batch

Builds the domain's link plan from a config and diffs it against existing links, returning per-slot new/exists status and counts. Makes no writes. 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

domain*string

The funnel domain hostname.

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

POST
/api/admin/domains/{domain}/provision-links/preview
curl -X POST "https://example.com/api/admin/domains/string/provision-links/preview" \  -H "Content-Type: application/json" \  -d '{    "trial_countries": [      "US",      "GB",      "DE"    ],    "paid_countries": "rest",    "default_paid": true,    "trial_days": 30  }'
{  "domain": "links.example.com",  "would_create": 2,  "already_exist": 6,  "slots": [    {      "country": "US",      "arm": "paid",      "status": "exists"    },    {      "country": "DE",      "arm": "ftl",      "status": "new"    }  ]}
{  "detail": "Invalid or missing API key"}
{  "detail": {    "code": "domain_not_found",    "message": "Домен не найден"  }}