---
title: "Recent posts of an account (live from Meta)"
method: GET
path: "/accounts/{id}/posts"
tags: ["Accounts"]
---

# Recent posts of an account (live from Meta)

`GET /accounts/{id}/posts`

## Request

- Base URL: `https://social-automation.cresclab.com/api/v1`
- URL: `https://social-automation.cresclab.com/api/v1/accounts/{id}/posts`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/cresclab/apis/social-automation-api/docs/accounts/:id/posts/get.ts> (a function with typed inputs; its response is checked against the schema)

## Path parameters

- `id` string, uuid, required

## Query parameters

- `kind` 'posts' | 'story'

## Response `200`

OK

- object
  - `posts` Post[]
    - `id` string
    - `caption` string, nullable
    - `media_type` string, nullable
    - `timestamp` string, nullable
    - `permalink` string, nullable

## Other responses

- `400`: Invalid request (see error.field)
- `401`: Missing or invalid API key
- `403`: Insufficient scope, trial expired, contract expired or plan limit (see error.code and error.action_url)
- `429`: Rate limited
- `502`: Meta API error

---

[API](https://skmtc.dev/cresclab/apis/social-automation-api.md) - [All operations](https://skmtc.dev/cresclab/apis/social-automation-api/llms.txt) - [OpenAPI document](https://skmtc.dev/cresclab/apis/social-automation-api/revisions/1d4ea62ba46d?raw)
