Import a link-in-bio page
Fetch an external link-in-bio URL and return an editable preview of its profile, mapped buttons, and headers. Rate-limited per account and per target domain. Requires a write-scoped key.
Authorization
bearerAuth Your al_live_<prefix>_<secret> API key. Mint and manage keys in the dashboard.
In: header
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/import" \ -H "Content-Type: application/json" \ -d '{ "url": "https://linktr.ee/somecreator" }'{ "profile": { "name": "Some Creator", "avatar_url": "https://cdn.example.com/a.jpg", "bio": "links below", "platform": "linktree" }, "buttons": [ { "text_value": "OnlyFans", "url": "https://onlyfans.com/somecreator", "icon": "of.svg", "segment_name": null, "price_hint": null, "source_index": 0 } ], "headers": [ "My links" ], "needs_review": false, "warnings": [], "anchor_count": 1}{ "detail": { "code": "import_failed", "message": "Could not fetch the page" }}{ "detail": "auth required"}{ "detail": { "code": "rate_limited", "message": "Слишком много запросов импорта. Попробуйте через минуту." }}Delete an uploaded icon
Delete one of your own uploaded icons. Built-in icons cannot be deleted, and an icon currently used by a button cannot be removed. Requires a write-scoped key.
Commit imported buttons
Persist a (possibly edited) import preview as draft buttons on one of your domains. The target domain must belong to your account. Requires a write-scoped key.