API Keys
Connect OnlyFans Account
Media Vault
Media Vault Lists
Payouts
Post Labels
Public Profiles
Statistics / Reach
Statistics / Statements
Tracking Links
Transactions
Users
Post Labels
Create Label
Create a new post label.
POST
/
api
/
{account}
/
posts
/
labels
curl --request POST \
--url https://app.onlyfansapi.com/api/{account}/posts/labels \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"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
}
}
}
Authorizations
You can retrieve your token by visiting the OnlyFansAPI Console and clicking API Keys -> Create API Key.
Path Parameters
The Account ID
Body
application/json
Response
200 - application/json
Success
The response is of type object
.
curl --request POST \
--url https://app.onlyfansapi.com/api/{account}/posts/labels \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"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
}
}
}
Assistant
Responses are generated using AI and may contain mistakes.