TEASEDocs
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

GET
/api/admin/buttons/{domain}/{tier}
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"  }}