curl --request GET \
--url https://api-next.ofauth.com/v2/access/posts/:postId \
--header 'apiKey: <api-key>' \
--header 'x-connection-id: <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,
"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
}
}
],
"duration": 123,
"hasCustomPreview": true,
"videoSources": {
"240": "<string>",
"720": "<string>"
},
"files": {
"full": {
"url": "<string>",
"sources": [
{
"url": "<string>",
"width": 123,
"height": 123,
"type": "<string>"
}
],
"width": 123,
"height": 123,
"size": 123
},
"thumb": {
"url": "<string>",
"width": 123,
"height": 123,
"size": 123
},
"preview": {
"url": "<string>",
"options": [
{
"url": "<string>",
"width": 123,
"height": 123,
"type": "<string>"
}
],
"width": 123,
"height": 123,
"size": 123
},
"squarePreview": {
"url": "<string>",
"width": 123,
"height": 123,
"size": 123
}
}
}
],
"canViewMedia": true,
"responseType": "<string>",
"postedAt": "<string>",
"postedAtPrecise": "<string>",
"isMarkdownDisabled": true,
"isOpened": true,
"canToggleFavorite": true,
"tipsAmount": "<string>",
"isMediaReady": true,
"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
}
}
],
"canEditText": true,
"canEditMedia": true,
"canEditSchedule": true,
"canEditVote": true,
"preview": [
123
],
"author": {
"id": 123,
"_view": "<string>"
},
"price": 123
}Get post
Permission Required: posts:read
curl --request GET \
--url https://api-next.ofauth.com/v2/access/posts/:postId \
--header 'apiKey: <api-key>' \
--header 'x-connection-id: <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,
"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
}
}
],
"duration": 123,
"hasCustomPreview": true,
"videoSources": {
"240": "<string>",
"720": "<string>"
},
"files": {
"full": {
"url": "<string>",
"sources": [
{
"url": "<string>",
"width": 123,
"height": 123,
"type": "<string>"
}
],
"width": 123,
"height": 123,
"size": 123
},
"thumb": {
"url": "<string>",
"width": 123,
"height": 123,
"size": 123
},
"preview": {
"url": "<string>",
"options": [
{
"url": "<string>",
"width": 123,
"height": 123,
"type": "<string>"
}
],
"width": 123,
"height": 123,
"size": 123
},
"squarePreview": {
"url": "<string>",
"width": 123,
"height": 123,
"size": 123
}
}
}
],
"canViewMedia": true,
"responseType": "<string>",
"postedAt": "<string>",
"postedAtPrecise": "<string>",
"isMarkdownDisabled": true,
"isOpened": true,
"canToggleFavorite": true,
"tipsAmount": "<string>",
"isMediaReady": true,
"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
}
}
],
"canEditText": true,
"canEditMedia": true,
"canEditSchedule": true,
"canEditVote": true,
"preview": [
123
],
"author": {
"id": 123,
"_view": "<string>"
},
"price": 123
}Requires a connection via the x-connection-id header.
OnlyFans post ID
1Successful response
Show child attributes
Show child attributes
Show child attributes
Was this page helpful?