---
title: "Posts list view used by /posts."
method: GET
path: "/api/v1/posts"
tags: ["Posts"]
---

# Posts list view used by /posts.

`GET /api/v1/posts`

## Request

- Base URL: `https://api.avatarfactory.io` (the document declares no server; this is the origin it was published from)
- URL: `https://api.avatarfactory.io/api/v1/posts`
- Auth: one of:
  - API key in cookie `session`
  - HTTP bearer

<br/>Scoped to the caller in SQL via `scope_query`: every user, admins<br/>included, sees only their own posts (default-own scoping, spec<br/>§3.5, 2026-08-11).

## Query parameters

- `status` string
- `avatar_id` integer, nullable
- `all` integer

## Response `200`

OK

- PostListView
  - `avatars` AvatarChoice[], required
    - `id` integer, required
    - `name` string, required
  - `posts` PostCard[], required
    - `avatar_desc` string, nullable
    - `avatar_face` string, nullable
    - `avatar_face_focus` FaceFocusPoint: Where a square or circular crop of a face image has to look. Percentages of the FULL stored frame, so the SPA can hand them straight to a CSS ``object-position``. Written by ``app.modules.avatars.face_focus``; absent (``None``) when no face was detected, and the shared `AvatarFace` component then falls back to its upper-third default.
      - `x` number, required
      - `y` number, required
    - `avatar_id` integer, nullable
    - `avatar_name` string, nullable
    - `duration_seconds` integer, nullable
    - `final_video_file` string, nullable
    - `id` integer, required
    - `ig_caption` string, required
    - `notes` string, nullable
    - `script_text` string, nullable
    - `status` string, nullable
    - `status_changed_at` string, date-time, nullable
    - `thumbnail_file` string, nullable
    - `video_id` integer, nullable
    - `video_title` string, nullable
  - `social_accounts` object, required

## Other responses

- `422`: Unprocessable Entity

---

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