OnlyFans API
Post labels

Create Label

Create a new post label.

POST
/api/{account}/posts/labels
AuthorizationBearer <token>

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

In: header

Path Parameters

accountstring

The Account ID

namestring

The name of your new label

Response Body

curl -X POST "https://app.onlyfansapi.com/api/string/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
    }
  }
}