Smart Links

Update Smart Link

Changed on

Update cloaking or the event source URL override for this Smart Link. Omitted fields retain their current values.

put/api/smart-links/{smart_link_id}

Request

  • Base URL
    https://app.onlyfansapi.com
  • URL
    https://app.onlyfansapi.com/api/smart-links/{smart_link_id}
  • Auth
    HTTP bearer

Request body

cloaking_enabledboolean

Whether to filter automated visits before opening the destination.

event_source_urlstring

HTTP(S) page URL reported for this link’s pixel events, overriding the pixel URL. Send null to use the pixel or click URL.

Example request

{
  "cloaking_enabled": true,
  "event_source_url": "https://example.com/sofia"
}

Changes

    • info

      api operation id updateSmartLinkCloaking removed and replaced with updateSmartLink

    • info

      added the new optional request property

    • info

      request body became optional

    • info

      the request property became optional

    • info

      endpoint added