Skip to main content
GET
/
v2
/
access
/
posts
/
:postId
Get post
curl --request GET \
  --url https://api-next.ofauth.com/v2/access/posts/:postId \
  --header 'apiKey: <api-key>'
{
  "id": 123,
  "canDelete": true,
  "canEdit": true,
  "mediaCount": 123,
  "media": [
    {
      "id": 123,
      "type": "photo",
      "convertedToVideo": true,
      "canView": true,
      "hasError": true,
      "createdAt": "<string>",
      "isReady": true,
      "files": {
        "full": {
          "url": "<string>",
          "width": 123,
          "height": 123,
          "size": 123,
          "sources": [
            "<unknown>"
          ]
        },
        "thumb": {
          "url": "<string>",
          "width": 123,
          "height": 123,
          "size": 123
        },
        "preview": {
          "url": "<string>",
          "width": 123,
          "height": 123,
          "size": 123,
          "options": [
            "<unknown>"
          ]
        },
        "squarePreview": {
          "url": "<string>",
          "width": 123,
          "height": 123,
          "size": 123
        }
      },
      "duration": 123,
      "releaseForms": [
        {
          "id": 123,
          "name": "<string>",
          "partnerSource": "<string>",
          "type": "<string>",
          "user": {
            "view": "<string>",
            "id": 123,
            "name": "<string>",
            "username": "<string>",
            "isVerified": true,
            "avatar": "<string>",
            "avatarThumbs": {
              "c50": "<string>",
              "c144": "<string>"
            },
            "ivStatus": "<string>",
            "isFromGuest": true
          }
        }
      ],
      "hasCustomPreview": true,
      "videoSources": {
        "240": "<string>",
        "720": "<string>"
      }
    }
  ],
  "canViewMedia": true,
  "author": {
    "id": 123,
    "_view": "<string>"
  },
  "responseType": "<string>",
  "postedAt": "<string>",
  "postedAtPrecise": "<string>",
  "isMarkdownDisabled": true,
  "isOpened": true,
  "canToggleFavorite": true,
  "tipsAmount": "<string>",
  "isMediaReady": true,
  "canEditText": true,
  "canEditMedia": true,
  "canEditSchedule": true,
  "canEditVote": true,
  "price": 123,
  "releaseForms": [
    {
      "id": 123,
      "name": "<string>",
      "partnerSource": "<string>",
      "type": "<string>",
      "user": {
        "view": "<string>",
        "id": 123,
        "name": "<string>",
        "username": "<string>",
        "isVerified": true,
        "avatar": "<string>",
        "avatarThumbs": {
          "c50": "<string>",
          "c144": "<string>"
        },
        "ivStatus": "<string>",
        "isFromGuest": true
      }
    }
  ],
  "preview": [
    123
  ]
}

Authorizations

apiKey
string
header
required

Headers

x-connection-id
string

Connection ID for managed sessions

x-of-user-id
string

OnlyFans user id for direct sessions (optional override)

OnlyFans cookie header for direct sessions (must include auth_id and fp values)

x-of-bc
string

OnlyFans x-bc header for direct sessions (optional override)

x-of-user-agent
string

User agent to use when proxying requests (required when not using x-connection-id)

Path Parameters

postId
string
required
Minimum string length: 1

Response

Successful response

id
number
required
canDelete
boolean
required
canEdit
boolean
required
mediaCount
number
required
media
object[]
required
canViewMedia
boolean
required
author
object
required
responseType
string
required
postedAt
string
required
postedAtPrecise
string
required
isMarkdownDisabled
boolean
required
isOpened
boolean
required
canToggleFavorite
boolean
required
tipsAmount
string
required
isMediaReady
boolean
required
canEditText
boolean
required
canEditMedia
boolean
required
canEditSchedule
boolean
required
canEditVote
boolean
required
price
number
releaseForms
object[]
preview
number[]