> ## Documentation Index
> Fetch the complete documentation index at: https://docs.posttu.com/llms.txt
> Use this file to discover all available pages before exploring further.

# List Reddit posts

> List Reddit posts via Posttu's Reddit REST API (POST /api/v1/reddit/posts/list) and MCP server.



## OpenAPI

````yaml openapi.json POST /api/v1/reddit/posts/list
openapi: 3.1.0
info:
  title: Posttu API
  version: 1.0.0
  description: >-
    Posttu V1 REST API — Workflow automation, social-media post management,
    inbox, tags, and calendar.
servers:
  - url: https://posttu.com
    description: Production
security: []
paths:
  /api/v1/reddit/posts/list:
    post:
      tags:
        - Reddit
      summary: List Reddit posts
      description: |-
        List Reddit posts
        Requires API key scope: `reddit:read`.
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/RedditListPostsInput'
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RedditPostListResponse'
        '401':
          description: Error response
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                required:
                  - error
      security:
        - ApiKeyAuth: []
components:
  schemas:
    RedditListPostsInput:
      type: object
      properties:
        channelId:
          type: string
          description: Reddit channel ID
          example: ch_rd123
        limit:
          type: number
          default: 10
        cursor:
          type: string
      required:
        - channelId
    RedditPostListResponse:
      type: object
      properties:
        success:
          type: boolean
          description: Success status
        data:
          $ref: '#/components/schemas/RedditPostsListResponse'
      required:
        - success
        - data
    RedditPostsListResponse:
      type:
        - object
        - 'null'
      properties:
        posts:
          type: array
          items:
            $ref: '#/components/schemas/RedditPostSummary'
        nextCursor:
          type:
            - string
            - 'null'
        hasMore:
          type: boolean
        total:
          type: number
        raw:
          type: array
          items: {}
      required:
        - posts
        - nextCursor
        - hasMore
        - total
        - raw
      description: The RedditPostsListResponse.
    RedditPostSummary:
      type: object
      properties:
        id:
          type: string
        platform:
          type: string
          enum:
            - reddit
        title:
          type: string
        text:
          type: string
        mediaUrls:
          type: array
          items:
            type: string
        url:
          type: string
        createdAt:
          type: string
        stats:
          type: object
          properties:
            comments:
              type: number
        raw: {}
      required:
        - id
        - platform
        - mediaUrls
        - url
        - stats
  securitySchemes:
    ApiKeyAuth:
      type: http
      scheme: bearer
      description: 'Pass your API key via the Authorization header: `Bearer <api-key>`'

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.