API Keys
Banking
Connect OnlyFans Account
Mass Messaging
Media Vault
Media Vault Lists
Notifications
Payouts
Post Comments
Post Labels
Posts
Public Profiles
Saved For Later (Messages)
Saved For Later (Posts)
Statistics | Reach
Statistics | Statements
Tracking Links
Transactions
Trial Links
Users
Posts
Unarchive Post
Unarchive a post from your account.
POST
/
api
/
{account}
/
posts
/
{post_id}
/
unarchive
Unarchive Post
Copy
curl --request POST \
--url https://app.onlyfansapi.com/api/{account}/posts/{post_id}/unarchive \
--header 'Authorization: Bearer <token>'
Copy
{
"data": {
"labelStates": [
{
"id": "archived",
"name": "Archive",
"type": "archived",
"isClearInProgress": false,
"postsCount": 0,
"posts": []
}
],
"counters": {
"audiosCount": 0,
"photosCount": 0,
"videosCount": 0,
"mediasCount": 0,
"postsCount": 2,
"streamsCount": 0,
"archivedPostsCount": 0,
"privateArchivedPostsCount": 0
}
},
"_meta": {
"_credits": {
"used": 1,
"balance": 999999903,
"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": 49919
}
}
}
Authorizations
You can retrieve your token by visiting the OnlyFansAPI Console and clicking API Keys -> Create API Key.
Query Parameters
Set to true
if this post is currently in the Private Archive.
Example:
true
Response
200 - application/json
Success
The response is of type object
.
Unarchive Post
Copy
curl --request POST \
--url https://app.onlyfansapi.com/api/{account}/posts/{post_id}/unarchive \
--header 'Authorization: Bearer <token>'
Copy
{
"data": {
"labelStates": [
{
"id": "archived",
"name": "Archive",
"type": "archived",
"isClearInProgress": false,
"postsCount": 0,
"posts": []
}
],
"counters": {
"audiosCount": 0,
"photosCount": 0,
"videosCount": 0,
"mediasCount": 0,
"postsCount": 2,
"streamsCount": 0,
"archivedPostsCount": 0,
"privateArchivedPostsCount": 0
}
},
"_meta": {
"_credits": {
"used": 1,
"balance": 999999903,
"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": 49919
}
}
}
Assistant
Responses are generated using AI and may contain mistakes.