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

# Get post

> Get one post by ID, with its details and media information when available.

**Required scope:** `posts:read`



## OpenAPI

````yaml /openapi/v3.json get /v3/access/posts/:postId
openapi: 3.1.0
info:
  title: OFAuth API
  version: 1.0.0
  description: >-
    OFAuth V3 API for linking accounts, making OnlyFans API requests, and
    receiving events.
  contact:
    email: support@ofauth.com
    url: https://ofauth.com/
servers:
  - url: https://api.ofauth.com
security:
  - ExternalOAuth: []
tags:
  - name: Link
    description: Link accounts, get and refresh tokens, and end access.
  - name: Linked accounts
    description: The linked accounts of one authorization, and their settings.
  - name: Access
    description: Make OnlyFans API requests for a linked account.
  - name: Analytics
    description: 'Access: charts, rankings, and performance data.'
  - name: Earnings
    description: 'Access: earnings charts, transactions, and chargebacks.'
  - name: Messages
    description: 'Access: messaging, chats, queue, and mass messaging.'
  - name: Posts
    description: 'Access: create, edit, list, and manage posts.'
  - name: Promotions
    description: 'Access: promotions, trials, and bundles.'
  - name: Users
    description: 'Access: user profiles, subscriptions, and actions.'
  - name: Vault
    description: 'Access: vault folders, media, and management.'
  - name: Upload
    description: 'Access: media upload and processing.'
  - name: Self
    description: 'Access: linked account profile and settings.'
  - name: Stories
    description: 'Access: stories listing and management.'
  - name: Subscriptions
    description: 'Access: subscription offers, discounts, and management.'
  - name: Realtime
    description: Webhook event formats, including OnlyFans activity events.
externalDocs:
  description: OFAuth Developer Documentation
  url: https://docs.ofauth.com
paths:
  /v3/access/posts/:postId:
    get:
      tags:
        - Posts
      summary: Get post
      description: >-
        Get one post by ID, with its details and media information when
        available.


        **Required scope:** `posts:read`
      operationId: access.posts.get
      parameters:
        - name: x-linked-account-id
          in: header
          required: true
          description: >-
            The linked account to use. The user must have shared it with your
            app. A missing account returns `linked_account_required`; an account
            outside your access returns `linked_account_not_granted`.
          schema:
            type: string
            example: conn_example123
        - schema:
            type: string
            nullable: true
            minLength: 1
            description: OnlyFans post ID
          required: false
          description: OnlyFans post ID
          name: postId
          in: path
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                type: object
                properties:
                  author:
                    type: object
                    properties:
                      id:
                        type: number
                    additionalProperties: true
                    required:
                      - id
                  canComment:
                    type: boolean
                  canDelete:
                    type: boolean
                  canEdit:
                    type: boolean
                  canEditExpire:
                    type: boolean
                  canEditMedia:
                    type: boolean
                  canEditSchedule:
                    type: boolean
                  canEditText:
                    type: boolean
                  canEditVote:
                    type: boolean
                  canReport:
                    type: boolean
                  canToggleFavorite:
                    type: boolean
                  canViewMedia:
                    type: boolean
                  commentsCount:
                    type: number
                  expiredAt:
                    type: string
                  favoritesCount:
                    type: number
                  fundRaising:
                    type: object
                    properties:
                      presets:
                        type: array
                        items:
                          type: string
                      target:
                        type: number
                      targetProgress:
                        type: number
                    additionalProperties: true
                    required:
                      - presets
                      - target
                      - targetProgress
                  hasLockedVoting:
                    type: boolean
                  hasVoting:
                    type: boolean
                  id:
                    type: number
                  isFavorite:
                    type: boolean
                  isMarkdownDisabled:
                    type: boolean
                  isMediaReady:
                    type: boolean
                  isOpened:
                    type: boolean
                  isPublishedWithPeriod:
                    type: boolean
                  labelStates:
                    type: array
                    items:
                      type: object
                      properties:
                        id:
                          type: number
                        isClearInProgress:
                          type: boolean
                        name:
                          type: string
                        postsCount:
                          type: number
                        type:
                          type: string
                      additionalProperties: true
                      required:
                        - id
                        - isClearInProgress
                        - name
                        - postsCount
                        - type
                  media:
                    type: array
                    items:
                      type: object
                      properties:
                        canView:
                          type: boolean
                        convertedToVideo:
                          type: boolean
                        createdAt:
                          type: string
                        duration:
                          type: number
                        files:
                          type: object
                          properties:
                            full:
                              type: object
                              properties:
                                height:
                                  type: number
                                size:
                                  type: number
                                sources:
                                  type: array
                                  items: {}
                                url:
                                  type: 'null'
                                width:
                                  type: number
                              additionalProperties: true
                              required:
                                - height
                                - size
                                - sources
                                - url
                                - width
                            preview:
                              type: 'null'
                            squarePreview:
                              type: 'null'
                            thumb:
                              type: 'null'
                          additionalProperties: true
                          required:
                            - full
                            - preview
                            - squarePreview
                            - thumb
                        hasCustomPreview:
                          type: boolean
                        hasError:
                          type: boolean
                        id:
                          type: number
                        isReady:
                          type: boolean
                        releaseForms:
                          type: array
                          items: {}
                        type:
                          type: string
                      additionalProperties: true
                      required:
                        - canView
                        - convertedToVideo
                        - createdAt
                        - duration
                        - files
                        - hasCustomPreview
                        - hasError
                        - id
                        - isReady
                        - releaseForms
                        - type
                  mediaCount:
                    type: number
                  postedAt:
                    type: string
                  postedAtPrecise:
                    type: string
                  rawText:
                    type: string
                  responseType:
                    type: string
                  text:
                    type: string
                  tipsAmount:
                    type: string
                  tweetSend:
                    type: boolean
                  voting:
                    type: object
                    properties:
                      finishedAt:
                        type: string
                      options:
                        type: array
                        items:
                          type: object
                          properties:
                            count:
                              type: number
                            id:
                              type: number
                            isCorrect:
                              type: boolean
                            isVoted:
                              type: boolean
                            name:
                              type: string
                          additionalProperties: true
                          required:
                            - count
                            - id
                            - isCorrect
                            - isVoted
                            - name
                      total:
                        type: number
                    additionalProperties: true
                    required:
                      - finishedAt
                      - options
                      - total
                  votingType:
                    type: number
                additionalProperties: true
                required:
                  - author
                  - canComment
                  - canDelete
                  - canEdit
                  - canEditExpire
                  - canEditMedia
                  - canEditSchedule
                  - canEditText
                  - canEditVote
                  - canReport
                  - canToggleFavorite
                  - canViewMedia
                  - commentsCount
                  - expiredAt
                  - favoritesCount
                  - fundRaising
                  - hasLockedVoting
                  - hasVoting
                  - id
                  - isFavorite
                  - isMarkdownDisabled
                  - isMediaReady
                  - isOpened
                  - isPublishedWithPeriod
                  - labelStates
                  - media
                  - mediaCount
                  - postedAt
                  - postedAtPrecise
                  - rawText
                  - responseType
                  - text
                  - tipsAmount
                  - tweetSend
                  - voting
                  - votingType
        '400':
          description: Bad Request
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '429':
          description: Rate Limit Exceeded
        '500':
          description: Internal Server Error
        '502':
          description: Bad Gateway
      deprecated: false
      security:
        - ExternalOAuth: []
          LinkedAccountId: []
components:
  securitySchemes:
    ExternalOAuth:
      type: http
      scheme: bearer
      bearerFormat: opaque
      description: Link access token for one Sandbox, Test, or Live authorization.
    LinkedAccountId:
      type: apiKey
      name: x-linked-account-id
      in: header
      description: >-
        Selects one of the authorization's linked accounts via the
        x-linked-account-id header.

````

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