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

# Get a post



## OpenAPI

````yaml /openapi.json get /posts/{id}
openapi: 3.1.0
info:
  title: Market or Die API
  version: 1.0.0
  description: >-
    Compose, schedule, and ship posts to every connected channel —
    programmatically.
servers:
  - url: https://api.marketordie.io/v1
    description: Production
security:
  - bearerAuth: []
tags:
  - name: Account
    description: Who the API key acts as.
  - name: Channels
    description: Connected accounts you can post to.
  - name: Media
    description: Upload images to attach to posts.
  - name: Posts
    description: Create, schedule, list, and delete posts.
  - name: Leaderboard
    description: Team standings by points.
paths:
  /posts/{id}:
    get:
      tags:
        - Posts
      summary: Get a post
      operationId: getPost
      parameters:
        - name: id
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    $ref: '#/components/schemas/Post'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '404':
          $ref: '#/components/responses/NotFound'
components:
  schemas:
    Post:
      type: object
      properties:
        id:
          type: string
        status:
          type: string
          enum:
            - draft
            - scheduled
            - publishing
            - published
            - failed
            - canceled
        channel:
          type: string
          nullable: true
          description: Platform slug.
        posts:
          type: array
          description: Ordered thread parts.
          items:
            type: object
            properties:
              text:
                type: string
        scheduled_for:
          type: string
          format: date-time
          nullable: true
        published_urls:
          type: array
          items:
            type: string
        error:
          type: string
          nullable: true
        created_at:
          type: string
          format: date-time
        updated_at:
          type: string
          format: date-time
    Error:
      type: object
      properties:
        error:
          type: object
          properties:
            code:
              type: string
            message:
              type: string
  responses:
    Unauthorized:
      description: Missing or invalid API key.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          example:
            error:
              code: unauthorized
              message: Invalid or revoked API key.
    NotFound:
      description: Resource not found.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          example:
            error:
              code: not_found
              message: Post not found.
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: >-
        Your API key as a bearer token: `Authorization: Bearer mod_live_…`. (You
        can also send it as `x-api-key`.)

````