We just released our native n8n integration!ยป Try now
OnlyFans API
Posts

Unarchive Post

Unarchive a post from your account.

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

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

In: header

Path Parameters

account*string

The Account ID

post_id*integer

The ID of the post

Query Parameters

private_archive?boolean

Set to true if this post is currently in the Private Archive.

Response Body

application/json

curl -X POST "https://app.onlyfansapi.com/api/acct_XXXXXXXXXXXXXXX/posts/1234567890/unarchive?private_archive=true"
{
  "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
    }
  }
}