---
title: "One post"
method: GET
path: "/posts/{id}"
---

# One post

`GET /posts/{id}`

## Request

- Base URL: `https://govir.app/api/v1`
- URL: `https://govir.app/api/v1/posts/{id}`
- Auth: HTTP bearer

Scope: `read`.

## Path parameters

- `id` string, uuid, required

## Response `200`

OK

- Post
  - `id` string, uuid
  - `status` 'draft' | 'scheduled' | 'publishing' | 'published' | 'partially_published' | 'failed' | 'needs_review' | 'deleted'
  - `account_id` string, uuid
  - `group_id` string, uuid, nullable
  - `scheduled_at` string, date-time, nullable
  - `published_at` string, date-time, nullable
  - `permalink` string, nullable
  - `topic` string, nullable
  - `reply_control` string, nullable
  - `part_numbers` string
  - `quote` object, nullable
    - `post_id` string, uuid
    - `permalink` string, nullable
    - `username` string
  - `error_code` string, nullable
  - `created_at` string, date-time
  - `updated_at` string, date-time
  - `parts` object[]
    - `position` integer
    - `text` string
    - `link_attachment` string, nullable
    - `poll_options` string[], nullable
    - `text_attachment` object, nullable
      - `text` string
      - `link_url` string, nullable
    - `gif` object, nullable
      - `id` string
      - `title` string
      - `width` integer
      - `height` integer
      - `url` string
    - `published` boolean
    - `media` object[]
      - `id` string, uuid
      - `kind` string
      - `url` string, nullable
      - `alt_text` string, nullable

## Other responses

- `401`: No key, a wrong key, or a revoked one
- `404`: Not found in your workspace
- `429`: Too many requests; see Retry-After

---

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