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

Update Social Media Button

Updates a social media button from the account

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

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

In: header

Path Parameters

accountstring

The Account ID

button_idstring

The ID of the social media button to update

labelstring

The new label for the button

Response Body

curl -X PUT "https://app.onlyfansapi.com/api/string/settings/social-media-buttons/string" \
  -H "Content-Type: application/json" \
  -d '{
    "label": "Instagram"
  }'
{
  "data": [
    {
      "id": 3384764,
      "sort": 0,
      "label": "new",
      "username": "test",
      "socialMedia": "instagram",
      "link": "",
      "url": "https://instagram.com/test",
      "isValid": true,
      "clicks": 0
    },
    {
      "id": 3385711,
      "sort": 1,
      "label": "X",
      "username": "test",
      "socialMedia": "x",
      "link": "",
      "url": "https://twitter.com/test",
      "isValid": true,
      "clicks": 0
    }
  ],
  "_meta": {
    "_credits": {
      "used": 1,
      "balance": 999999905,
      "note": "Always"
    },
    "_cache": {
      "is_cached": false,
      "note": "Cache disabled for this endpoint"
    },
    "_rate_limits": {
      "limit_minute": 1000,
      "limit_day": 50000,
      "remaining_minute": 995,
      "remaining_day": 49993
    }
  }
}