OnlyFans API
Posts

Pin/Unpin Post

Pin or unpin a post to your account.

POST
/api/{account}/posts/{post_id}/pin
AuthorizationBearer <token>

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

In: header

Path Parameters

accountstring

The Account ID

post_idinteger

The ID of the post

Response Body

curl -X POST "https://app.onlyfansapi.com/api/string/posts/0/pin"
{
  "data": {
    "success": true
  },
  "_meta": {
    "_credits": {
      "used": 1,
      "balance": 999999883,
      "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": 49892
    }
  }
}