Posts

Unarchive Post

Returns an archived post to the live feed. Set private=true if the post sits in the Private Archive — sending the wrong value leaves the post exactly where it is. Requires permission api_posts_unarchive.

https://public-api.buffmetrics.com
POST/v1/{account_id}/posts/{post_id}/unarchive
Bearer

Authorization

default
AuthorizationBearer <token>

Send your FansMetric API key as a Bearer token in the Authorization header.

In: header

Path Parameters

  • account_id*integer

    OnlyFans numeric account ID.

  • post_id*integer

    The post ID. Numeric.

Query Parameters

  • privatestring

    Set to true if the post currently sits in the Private Archive rather than the regular Archive. Sending the wrong value leaves the post where it is.

curl --request POST "https://public-api.buffmetrics.com/v1/acct_XXXXX/posts/sample_post_id/unarchive?private=sample_private" \
  --header "Authorization: Bearer YOUR_API_KEY"

Response

200
{
"data":{
"labelStates":[
0:{
"id":"private_archived"
"name":"Private Archive"
"type":"private_archived"
"isClearInProgress":false
"postsCount":76
}
1:{
"id":"archived"
"name":"Archive"
"type":"archived"
"isClearInProgress":false
"postsCount":1
}
]
"counters":{
"audiosCount":0
"photosCount":279
"videosCount":18
"mediasCount":297
"postsCount":280
"streamsCount":0
"archivedPostsCount":1
"privateArchivedPostsCount":76
}
}
"_meta":{
"_credits":{
"used":1
}
"_rate_limits":{
"limit_minute":1000
"remaining_minute":999
"limit_day":50000
"remaining_day":49999
}
}
}