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 Your al_live_<prefix>_<secret> API key. Mint and manage keys in the dashboard.
In: header
Path Parameters
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
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": "Домен не найден" }}Add one funnel link to a domain
Adds a single (country, arm) funnel link to the domain and stamps it onto the matching button. Idempotent: re-adding an existing slot reuses its row. Requires a write-scoped key.
Provision a domain's funnel links
Creates the domain's configured funnel links (paid tracking + free-trial), stamps them onto the buttons, and returns a summary plus the refreshed link list. Idempotent. Requires a write-scoped key.