v8

latestOpenAPI 3.0.3raw.githubusercontent.com2026-05-2526602.8 MB
Posts

Unarchive Post

Unarchive a post from your account.

post/api/{account}/posts/{post_id}/unarchive

Query parameters

private_archiveboolean

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

Example:true

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

Response

Success

Example response

{
  "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
    }
  }
}