Posts
Pin Post
Pins a post to the top of the creator's profile, or unpins it. This endpoint is a toggle — a second call reverses the first. The response only confirms success, so read the resulting state back from List Posts with pinned=true. Requires permission api_posts_pin.
https://public-api.buffmetrics.comPOST/v1/{account_id}/posts/{post_id}/pin
Bearer
Authorization
defaultAuthorizationBearer <token>Send your FansMetric API key as a Bearer token in the Authorization header.
In: header
Path Parameters
account_id*integerOnlyFans numeric account ID.
post_id*integerThe post ID. Numeric.
curl --request POST "https://public-api.buffmetrics.com/v1/acct_XXXXX/posts/sample_post_id/pin" \
--header "Authorization: Bearer YOUR_API_KEY"Response
200{
"data":{
"success":true
}
"_meta":{
"_credits":{
"used":1
}
"_rate_limits":{
"limit_minute":1000
"remaining_minute":999
"limit_day":50000
"remaining_day":49999
}
}
}