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

Reorder Social Media Buttons

Changes the order of social media buttons for the account

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

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

In: header

Path Parameters

accountstring

The Account ID

button_idsarray<string>

The new order of the buttons

Response Body

curl -X POST "https://app.onlyfansapi.com/api/string/settings/social-media-buttons/reorder" \
  -H "Content-Type: application/json" \
  -d '{
    "button_ids": [
      123,
      456
    ]
  }'
{
  "data": [
    {
      "id": 123,
      "sort": 0,
      "label": "Amazon",
      "username": "",
      "socialMedia": "amazon",
      "link": "https://amazon.com/example",
      "url": "https://amazon.com/example",
      "isValid": true,
      "clicks": 0
    },
    {
      "id": 1234,
      "sort": 0,
      "label": "Instagram",
      "username": "example_user",
      "socialMedia": "instagram",
      "link": "",
      "url": "https://instagram.com/example_user",
      "isValid": true,
      "clicks": 0
    }
  ],
  "_meta": {
    "_credits": {
      "used": 1,
      "balance": 999999969,
      "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": 49996
    }
  }
}