> ## 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.

# Fetches item(s) by fullnames, url, or subreddits

> Fetches item(s) by fullnames, url, or subreddits via Posttu's Reddit REST API (POST /api/v1/reddit/info) and MCP server.



## OpenAPI

````yaml openapi.json POST /api/v1/reddit/info
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/info:
    post:
      tags:
        - Reddit
      summary: Fetches item(s) by fullnames, url, or subreddits
      description: |-
        Fetches item(s) by fullnames, url, or subreddits
        Requires API key scope: `reddit:read`.
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/RedditGetUserInfoInput'
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RedditUserInfoResponse'
        '401':
          description: Error response
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                required:
                  - error
      security:
        - ApiKeyAuth: []
components:
  schemas:
    RedditGetUserInfoInput:
      type: object
      properties:
        channelId:
          type: string
        fullnames:
          type: array
          items:
            type: string
        url:
          type: string
        subreddits:
          type: array
          items:
            type: string
    RedditUserInfoResponse:
      type: object
      properties:
        success:
          type: boolean
          description: Success status
        data:
          $ref: '#/components/schemas/RedditInfoResponseData'
      required:
        - success
        - data
    RedditInfoResponseData:
      type:
        - object
        - 'null'
      properties:
        items:
          type: array
          items:
            $ref: '#/components/schemas/RedditInfoItem'
        count:
          type: number
      required:
        - items
        - count
      description: The RedditInfoResponseData.
    RedditInfoItem:
      anyOf:
        - $ref: '#/components/schemas/RedditInfoSubmission'
        - $ref: '#/components/schemas/RedditInfoComment'
        - $ref: '#/components/schemas/RedditInfoSubreddit'
        - type: object
          properties:
            kind:
              type: string
              enum:
                - unknown
          required:
            - kind
          additionalProperties: {}
    RedditInfoSubmission:
      type: object
      properties:
        kind:
          type: string
          enum:
            - submission
        id:
          type: string
        fullname:
          type: string
        title:
          type: string
        body:
          type: string
        selftext:
          type: string
        url:
          type: string
        author:
          type: string
        score:
          type: number
        num_comments:
          type: number
        numComments:
          type: number
        num_crossposts:
          type: number
        numCrossposts:
          type: number
        upvote_ratio:
          type:
            - number
            - 'null'
        upvoteRatio:
          type:
            - number
            - 'null'
        created_utc:
          type: number
        createdUtc:
          type: number
        over_18:
          type: boolean
        over18:
          type: boolean
        pinned:
          type: boolean
        spoiler:
          type: boolean
        subreddit:
          type: string
        subreddit_type:
          type:
            - string
            - 'null'
        subredditType:
          type:
            - string
            - 'null'
        permalink:
          type: string
      required:
        - kind
        - id
        - fullname
        - title
        - body
        - selftext
        - url
        - author
        - score
        - num_comments
        - numComments
        - created_utc
        - createdUtc
        - over_18
        - over18
        - pinned
        - spoiler
        - subreddit
        - permalink
      additionalProperties: {}
    RedditInfoComment:
      type: object
      properties:
        kind:
          type: string
          enum:
            - comment
        id:
          type: string
        fullname:
          type: string
        author:
          type: object
          properties:
            id:
              type:
                - string
                - 'null'
            name:
              type: string
            avatar:
              type:
                - string
                - 'null'
          required:
            - id
            - name
            - avatar
        body:
          type: string
        score:
          type: number
        created_utc:
          type: number
        createdUtc:
          type: number
        permalink:
          type: string
        parent_id:
          type:
            - string
            - 'null'
        parentId:
          type:
            - string
            - 'null'
        is_submitter:
          type: boolean
        subreddit:
          type: string
      required:
        - kind
        - id
        - fullname
        - author
        - body
        - score
        - created_utc
        - createdUtc
        - permalink
        - subreddit
      additionalProperties: {}
    RedditInfoSubreddit:
      type: object
      properties:
        kind:
          type: string
          enum:
            - subreddit
        id:
          type:
            - string
            - 'null'
        fullname:
          type:
            - string
            - 'null'
        name:
          type: string
        display_name:
          type: string
        title:
          type: string
        description:
          type: string
        public_description:
          type: string
        subscribers:
          type: number
        over18:
          type: boolean
        over_18:
          type: boolean
        icon_img:
          type: string
        created_utc:
          type:
            - number
            - 'null'
        createdUtc:
          type:
            - number
            - 'null'
        prefixed_name:
          type: string
        url:
          type: string
      required:
        - kind
        - name
        - display_name
        - title
        - prefixed_name
        - url
      additionalProperties: {}
  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.