Skip to navigation

Unarchive posts

Requires posts:write. Restores up to 100 archived posts on the team, by postIds and/or links. Only posts that are currently archived change; any other post is rejected with not_archived. Same body, response, and rate class as /content/posts/archive.

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

OR
X-Api-Keystring
API Key authentication via header

Request

This endpoint expects an object.
postIdslist of stringsOptional

Post ids on the target team (from GET /posts)

teamIdstringOptional

Enterprise keys only — a sub-team of the key’s enterprise

Response

Unarchive applied. Restored posts have status complete.

dataobjectOptional
metaobjectOptional

Errors

400
Bad Request Error
403
Forbidden Error
404
Not Found Error
429
Too Many Requests Error