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
]
}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
]
}Connection ID for managed sessions
OnlyFans user id for direct sessions (optional override)
OnlyFans cookie header for direct sessions (must include auth_id and fp values)
OnlyFans x-bc header for direct sessions (optional override)
User agent to use when proxying requests (required when not using x-connection-id)
1Successful response
Show child attributes
photo, video, gif, audio Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Was this page helpful?