We just released our native n8n integration!» Try now
OnlyFans API

Add Social Media Button

Adds a new social media button to the account

POST
/api/{account}/settings/social-media-buttons
AuthorizationBearer <token>

Get your API Key from OnlyFansAPI Console - https://app.onlyfansapi.com/api-keys

In: header

Path Parameters

accountstring

The Account ID

labelstring

The button label

typestring

The button type

Value in"instagram" | "x" | "facebook" | "youtube" | "tiktok" | "snapchat" | "amazon" | "twitch" | "discord" | "patreon" | "pinterest" | "etsy" | "bereal" | "kick" | "depop" | "poshmark" | "vsco" | "threads" | "throne" | "shopltk" | "oftv" | "bluesky"
valuestring

The button value, either a username or link.

Response Body

curl -X POST "https://app.onlyfansapi.com/api/string/settings/social-media-buttons" \
  -H "Content-Type: application/json" \
  -d '{
    "label": "Instagram",
    "type": "Instagram",
    "value": "example_user"
  }'
{
  "data": [
    {
      "id": 123,
      "sort": 0,
      "label": "Amazon",
      "username": "",
      "socialMedia": "amazon",
      "link": "https://amazon.com/example",
      "url": "https://amazon.com/example",
      "isValid": true,
      "clicks": 0
    }
  ],
  "_meta": {
    "_credits": {
      "used": 1,
      "balance": 999999959,
      "note": "Always"
    },
    "_cache": {
      "is_cached": false,
      "note": "Cache disabled for this endpoint"
    },
    "_rate_limits": {
      "limit_minute": 1000,
      "limit_day": 50000,
      "remaining_minute": 999,
      "remaining_day": 49986
    }
  }
}