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.
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
application/json
curl -X POST "https://example.com/api/admin/domains/string/links" \ -H "Content-Type: application/json" \ -d '{ "country": "US", "arm": "paid", "trial_days": 30 }'{ "id": 42, "country": "US", "arm": "paid", "provider_id": "a1b2c3", "url": "https://onlyfans.com/action/trial/xyz", "name": "US paid", "active": true, "stamped": true, "source": "segment", "hidden": false, "domain": "links.example.com", "display_name": "US paid", "code": "", "revenue_cents": 0, "spenders": 0, "fans": 0, "clicks": 0}{ "detail": { "code": "trial_days_invalid", "message": "trial_days должен быть одним из [3, 7, 14, 30]" }}{ "detail": "Invalid or missing API key"}{ "detail": { "code": "domain_not_found", "message": "Домен не найден" }}List a domain's funnel links
Lists the static funnel links (paid tracking + free-trial) configured for a domain, with per-link revenue/spenders/fans and whether each link is currently live on a button. Requires a read-scoped key.
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.