API ReferenceLandings
List buttons in a segment
List the draft buttons in one segment of a domain, ordered by position. The `tier` path parameter carries the segment id. 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 domain hostname.
tier*string
The segment id whose buttons to list.
Response Body
application/json
application/json
application/json
curl -X GET "https://example.com/api/admin/buttons/string/string"{ "tier": "s_1a2b3c4d", "domain": "links.creator.com", "items": [ { "button_id": "b_9f8e7d6c", "domain": "links.creator.com", "tier": "s_1a2b3c4d", "position": 0, "label": "Free trial", "url": "https://onlyfans.com/creator/trial", "icon": "of.svg", "text_filename": "label_42_a1b2c3d4.svg", "text_value": "Free trial", "hidden": false, "match": null, "variants": null } ]}{ "detail": "auth required"}{ "detail": { "code": "segment_unknown", "message": "Сегмент 's_1a2b3c4d' не найден в домене links.creator.com" }}Reorder geo-segments
Set the evaluation/tab order of a domain's segments. The id list must exactly match the domain's current segment set. Requires a write-scoped key.
Create a button
Create a draft button in a segment. The button id is generated automatically when omitted, and the SVG label is rendered from `text_value`. Requires a write-scoped key.