Smart Links
Create Smart Link Pixel
Changed onCreate a Team pixel and connect it to a Smart Link
post/api/smart-links/{smart_link_id}/pixels
Request
- Base URLhttps://app.onlyfansapi.com
- URLhttps://app.onlyfansapi.com/api/smart-links/{smart_link_id}/pixels
- AuthHTTP bearer
Request body
Example request
{
"platform": "meta",
"label": "Main Meta Pixel",
"pixel_id": "1234567890",
"pixel_access_token": "platform-access-token",
"event_source_url": "https://example.com/prelander",
"supercharged_events": [
"gudl"
]
}Response
Success
Example response
{
"data": {
"id": 123,
"platform": "meta",
"platform_label": "Meta Ads",
"label": "Main Meta Pixel",
"pixel_id": "1234567890",
"event_source_url": "https://example.com/prelander",
"event_click": "ViewContent",
"event_new_subscriber": "Subscribe",
"event_first_transaction": "Purchase",
"event_new_transaction": "Purchase",
"event_message_received_from_fan": null,
"event_fan_sent_1_message": "Contact",
"event_fan_sent_3_messages": "Lead",
"event_page_view": "PageView",
"status": "healthy",
"traffic_source_ids": [],
"traffic_sources": [],
"created_at": "2026-07-24T08:00:00+00:00",
"updated_at": "2026-07-24T08:00:00+00:00"
},
"_meta": {
"_credits": {
"used": 0,
"balance": 999999,
"note": "Free endpoint"
},
"_cache": {
"is_cached": false,
"note": "Cache disabled for this endpoint"
}
}
}Changes
- info
endpoint added
- info