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

# Update Smart Link Pixel

`PATCH /api/smart-links/{smart_link_id}/pixels/{pixel_id}`

## Request

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

Update a connected Team pixel. Changes apply to every Smart Link using the pixel.

## Request body

- object
  - `label` string, nullable: Display label. Omit or send an empty value to keep the current label. Must not be greater than 100 characters.
  - `pixel_id` string, nullable: Replacement platform pixel ID. Omit or send an empty value to keep the current ID.
  - `pixel_access_token` string, nullable: Replacement platform access token. Omit or send an empty value to keep the current token.
  - `event_source_url` string, nullable: Replacement event source URL. Send null to clear it. Must be a valid URL. Must not be greater than 2048 characters.
  - `event_click` string, nullable: Replacement platform event name. Send null to clear it. Must not be greater than 100 characters.
  - `event_new_subscriber` string, nullable: Replacement platform event name. Send null to clear it. Must not be greater than 100 characters.
  - `event_first_transaction` string, nullable: Replacement platform event name. Send null to clear it. Must not be greater than 100 characters.
  - `event_new_transaction` string, nullable: Replacement platform event name. Send null to clear it. Must not be greater than 100 characters.
  - `event_message_received_from_fan` string, nullable: Replacement platform event name. Send null to clear it. Must not be greater than 100 characters.
  - `event_fan_sent_1_message` string, nullable: Replacement platform event name. Send null to clear it. Must not be greater than 100 characters.
  - `event_fan_sent_3_messages` string, nullable: Replacement platform event name. Send null to clear it. Must not be greater than 100 characters.
  - `event_page_view` string, nullable: Replacement platform event name. Send null to clear it. Must not be greater than 100 characters.
  - `event_new_follower` string, nullable: Replacement platform event name. Send null to clear it. Must not be greater than 100 characters.
  - `supercharged_events` string[]: Must not be greater than 100 characters.

## Response `200`

Success

- object
  - `data` object
    - `id` integer
    - `platform` string
    - `platform_label` string
    - `label` string
    - `pixel_id` string
    - `event_source_url` string, nullable
    - `event_click` string
    - `event_new_subscriber` string
    - `event_first_transaction` string
    - `event_new_transaction` string
    - `event_message_received_from_fan` string, nullable
    - `event_fan_sent_1_message` string
    - `event_fan_sent_3_messages` string
    - `event_page_view` string
    - `status` string
    - `traffic_source_ids` unknown[]
      - unknown
    - `traffic_sources` unknown[]
      - unknown
    - `created_at` string
    - `updated_at` string
  - `_meta` object
    - `_credits` object
      - `used` integer
      - `balance` integer
      - `note` string
    - `_cache` object
      - `is_cached` boolean
      - `note` string

## Changes

- **2026-10-17** `b3968f1bc1f0`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/onlyfansapi/apis/onlyfans-api/changes/api/smart-links/:smart_link_id/pixels/:pixel_id/patch.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)
