Post Labels
Create Label
Create a new post label.
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
name*string
The name of your new label
Response Body
application/json
curl -X POST "https://app.onlyfansapi.com/api/acct_XXXXXXXXXXXXXXX/posts/labels" \ -H "Content-Type: application/json" \ -d '{ "name": "My new label" }'{
"data": {
"id": 123,
"name": "My new label",
"type": "custom",
"isClearInProgress": false,
"postsCount": 0,
"posts": []
},
"_meta": {
"_credits": {
"used": 1,
"balance": 999999941,
"note": "Always"
},
"_cache": {
"is_cached": false,
"note": "Cache disabled for this endpoint"
},
"_rate_limits": {
"limit_minute": 1000,
"limit_day": 50000,
"remaining_minute": 998,
"remaining_day": 49988
}
}
}