---
title: "List posts"
method: GET
path: "/api/v1/posts"
tags: ["Posts"]
---

# List posts

`GET /api/v1/posts`

## Request

- Base URL: `https://app.tryadeli.com`
- URL: `https://app.tryadeli.com/api/v1/posts`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/adeli/apis/adeli-api/docs/api/v1/posts/get.ts> (a function with typed inputs; its response is checked against the schema)

## Query parameters

- `platform` 'instagram' | 'tiktok' | 'tiktok_ads' | 'facebook' | 'meta_ads' | 'whatsapp' | 'youtube' | 'x' | 'bluesky' | 'linkedin' | 'linkedin_ads'
- `accountId` string, uuid
- `profileId` string, uuid

## Response `200`

Success

- object
  - `status` 'complete' | 'partial', required
  - `posts` object[], required
    - `id` string, required
    - `platform` 'instagram' | 'tiktok' | 'facebook' | 'youtube' | 'x' | 'bluesky' | 'linkedin', required
    - `accountId` string, uuid, required
    - `profileId` string, uuid, required
    - `providerId` string, required
    - `caption` string, nullable, required
    - `media` object[], required
      - `type` string, required
      - `url` string, nullable, required
      - `thumbnailUrl` string, nullable, required
    - `permalink` string, nullable, required
    - `engagement` object, required
      - `likes` number, nullable, required
      - `comments` number, nullable, required
      - `shares` number, nullable
      - `views` number, nullable
      - `reach` number, nullable
    - `publishedAt` string, date-time, nullable, required
  - `errors` object[], required
    - `platform` 'instagram' | 'tiktok' | 'tiktok_ads' | 'facebook' | 'meta_ads' | 'whatsapp' | 'youtube' | 'x' | 'bluesky' | 'linkedin' | 'linkedin_ads', required
    - `accountId` string, required
    - `code` string, required
    - `message` string, required
    - `details` unknown

## Other responses

- `207`: Success
- `400`: Invalid request or provider failure
- `401`: Missing or invalid API key
- `402`: Billing is required: a card is needed to connect more accounts or use X (`billing_required`, `x_billing_required`), or the workspace has used its free monthly allowance (`usage_limit_reached`)
- `403`: The connection lacks a permission or provider-confirmed resource
- `404`: Profile, account, or object not found
- `409`: The request conflicts with existing state
- `422`: The connected account cannot perform this operation
- `429`: Provider quota or rate limit exhausted
- `502`: Invalid request or provider failure
- `503`: The platform is temporarily unavailable

---

[API](https://skmtc.dev/adeli/apis/adeli-api.md) - [All operations](https://skmtc.dev/adeli/apis/adeli-api/llms.txt) - [OpenAPI document](https://skmtc.dev/adeli/apis/adeli-api/revisions/ed680dfa9033?raw)
