---
title: "Update Smart Link"
method: PUT
path: "/api/smart-links/{smart_link_id}"
tags: ["Smart Links"]
---

# Update Smart Link

`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

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

## Request body

- object
  - `cloaking_enabled` boolean: Whether to filter automated visits before opening the destination.
  - `event_source_url` string: HTTP(S) page URL reported for this link’s pixel events, overriding the pixel URL. Send null to use the pixel or click URL.

## Changes

- **2026-11-02** `122c36386896`: 4 info
  - api operation id `updateSmartLinkCloaking` removed and replaced with `updateSmartLink`
  - added the new optional request property `event_source_url`
  - request body became optional
  - the request property `cloaking_enabled` became optional
- **2026-10-17** `b3968f1bc1f0`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/onlyfansapi/apis/onlyfans-api/changes/api/smart-links/:smart_link_id/put.md)

---

[API](https://skmtc.dev/onlyfansapi/apis/onlyfans-api.md) - [All operations](https://skmtc.dev/onlyfansapi/apis/onlyfans-api/llms.txt) - [OpenAPI document](https://skmtc.dev/onlyfansapi/apis/onlyfans-api/revisions/122c36386896?raw)
