Skip to main content
GET
/
api
/
v1
/
post-history-import
/
posts
Get imported posts with analytics for a social account
curl --request GET \
  --url https://api.bundle.social/api/v1/post-history-import/posts \
  --header 'x-api-key: <api-key>'
{
  "posts": [
    {
      "id": "<string>",
      "socialAccountId": "<string>",
      "type": "POST",
      "internal": true,
      "createdAt": "2023-11-07T05:31:56Z",
      "updatedAt": "2023-11-07T05:31:56Z",
      "analytics": [
        {
          "id": "<string>",
          "profilePostId": "<string>",
          "impressions": 123,
          "impressionsUnique": 123,
          "views": 123,
          "viewsUnique": 123,
          "likes": 123,
          "dislikes": 123,
          "comments": 123,
          "shares": 123,
          "saves": 123,
          "forced": true,
          "createdAt": "2023-11-07T05:31:56Z",
          "updatedAt": "2023-11-07T05:31:56Z",
          "raw": "<unknown>",
          "deletedAt": "2023-11-07T05:31:56Z"
        }
      ],
      "postId": "<string>",
      "externalId": "<string>",
      "title": "<string>",
      "description": "<string>",
      "smallThumbnail": "<string>",
      "thumbnail": "<string>",
      "permalink": "<string>",
      "subreddit": "<string>",
      "publishedAt": "2023-11-07T05:31:56Z",
      "deletedAt": "2023-11-07T05:31:56Z"
    }
  ],
  "total": 123,
  "limit": 123,
  "remainingCapacity": 123
}

Authorizations

x-api-key
string
header
required

Query Parameters

teamId
string
required
socialAccountType
enum<string>
required
Available options:
FACEBOOK,
INSTAGRAM,
THREADS,
TIKTOK,
YOUTUBE,
LINKEDIN,
PINTEREST,
REDDIT,
MASTODON,
BLUESKY
limit
number
default:50
Required range: 1 <= x <= 100
offset
number | null
default:0
Required range: x >= 0

Response

200

posts
object[]
required
total
number
required
limit
number
required
remainingCapacity
number
required