Add Social Media Button
Adds a new social media button to the account
Authorization
default AuthorizationBearer <token>
Get your API Key from OnlyFansAPI Console - https://app.onlyfansapi.com/api-keys
In: header
Path Parameters
account*string
The Account ID
Request Body
application/json
label*string
The button label
type*string
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"value*string
The button value, either a username or link.
Response Body
application/json
curl -X POST "https://app.onlyfansapi.com/api/acct_XXXXXXXXXXXXXXX/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
}
}
}