Edit a destination of a policy smart link
Edits one applied destination: switch it in or out of routing ('active'), replace its URL, or relabel it. Scoped to a destination that belongs to this smart link. 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 destination id from the inventory list.
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
curl -X PATCH "https://example.com/api/admin/smartlinks/0/inventory/0" \ -H "Content-Type: application/json" \ -d '{}'{ "id": 0, "arm": "paid", "country": "string", "url": "http://example.com", "active": true, "name": "string"}{ "detail": { "code": "string", "message": "string" }}{ "detail": { "code": "string", "message": "string" }}Add a destination to a policy smart link
Adds one of your own destination links to this smart link for an (arm, country) pair — e.g. your single subscription link (leave country empty to make it the arm-wide default) or a new per-country trial link. The new destination starts active and is served by the public /r/<slug> route immediately. Requires a write-scoped key. Never contacts OnlyFans.
See where a policy smart link is used
Read-only "used in": the landing buttons that point at this smart link, together with the audiences (geo-segments) those buttons belong to and the countries each audience routes here. Requires a read-scoped key.