Skip to main content
GET
/
api
/
calendar
/
posts
/
archived
List archived (soft-deleted) social posts
curl --request GET \
  --url https://app.puffle.ai/api/calendar/posts/archived \
  --header 'Authorization: Bearer <token>'
{
  "posts": [
    {
      "id": "pst_archive_1",
      "calendar_id": "cal_1111",
      "title": "Old draft",
      "content": "Never ended up shipping this one",
      "hashtags": [],
      "channels": [
        "linkedin"
      ],
      "scheduled_at": null,
      "account_ids": [
        "aaaa1111-1111-1111-1111-111111111111"
      ],
      "status": "draft",
      "late_post_id": null,
      "media_items": [],
      "archived_at": "2026-04-15T18:22:00Z",
      "account_profile_picture": "https://…/jane.jpg",
      "account_display_name": "Jane Doe"
    }
  ]
}

Overview

Returns every post in the caller’s calendar with a non-null archived_at, ordered by archive time (newest first). Each row is enriched with the first linked account’s profile picture and display name. Archived posts are either recoverable via restoreSocialPost, or permanently deletable via permanentDeleteSocialPost.

AI agent notes

This is the only endpoint that surfaces archived posts — listSocialPosts filters them out. Use this specifically when rendering a “trash” or “recently deleted” view.

Authorizations

Authorization
string
header
required

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

Response

Archived posts (possibly empty).

posts
object[]
required