---
title: "Get specific posts from a topic"
method: GET
path: "/t/{id}/posts.json"
tags: ["Topics"]
---

# Get specific posts from a topic

`GET /t/{id}/posts.json`

## Path parameters

- `id` string, required

## Headers

- `Api-Key` string, required
- `Api-Username` string, required

## Request body

- object
  - `post_ids[]` integer, required

## Response `200`

specific posts

- object
  - `post_stream` object
    - `posts` object[]
      - `id` integer
      - `name` string, nullable
      - `username` string
      - `avatar_template` string
      - `created_at` string
      - `cooked` string
      - `post_number` integer
      - `post_type` integer
      - `updated_at` string
      - `reply_count` integer
      - `reply_to_post_number` string, nullable
      - `quote_count` integer
      - `incoming_link_count` integer
      - `reads` integer
      - `readers_count` integer
      - `score` number
      - `yours` boolean
      - `topic_id` integer
      - `topic_slug` string
      - `display_username` string, nullable
      - `primary_group_name` string, nullable
      - `flair_name` string, nullable
      - `flair_url` string, nullable
      - `flair_bg_color` string, nullable
      - `flair_color` string, nullable
      - `version` integer
      - `can_edit` boolean
      - `can_delete` boolean
      - `can_recover` boolean
      - `can_wiki` boolean
      - `read` boolean
      - `user_title` string, nullable
      - `actions_summary` object[]
        - `id` integer
        - `can_act` boolean
      - `moderator` boolean
      - `admin` boolean
      - `staff` boolean
      - `user_id` integer
      - `hidden` boolean
      - `trust_level` integer
      - `deleted_at` string, nullable
      - `user_deleted` boolean
      - `edit_reason` string, nullable
      - `can_view_edit_history` boolean
      - `wiki` boolean
      - `reviewable_id` integer
      - `reviewable_score_count` integer
      - `reviewable_score_pending_count` integer
  - `id` integer

---

[API](https://skmtc.net/discourse/apis/discourse-api-documentation.md) · [All operations](https://skmtc.net/discourse/apis/discourse-api-documentation/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/discourse/discourse-api-documentation/versions/fb966f5bb63e/schema)
