curl --request POST \
--url https://api-next.ofauth.com/v2/access/uploads/check \
--header 'Content-Type: application/json' \
--header 'apiKey: <api-key>' \
--data '
{
"etag": "<string>",
"size": 1
}
'{
"exists": true,
"media": {
"id": 123,
"type": "<string>",
"files": {
"full": {
"url": "<string>",
"width": 123,
"height": 123
},
"thumb": {
"url": "<string>",
"width": 123,
"height": 123
},
"preview": {
"url": "<string>",
"width": 123,
"height": 123
},
"squarePreview": {
"url": "<string>",
"width": 123,
"height": 123
}
}
}
}Check if media already exists in vault
curl --request POST \
--url https://api-next.ofauth.com/v2/access/uploads/check \
--header 'Content-Type: application/json' \
--header 'apiKey: <api-key>' \
--data '
{
"etag": "<string>",
"size": 1
}
'{
"exists": true,
"media": {
"id": 123,
"type": "<string>",
"files": {
"full": {
"url": "<string>",
"width": 123,
"height": 123
},
"thumb": {
"url": "<string>",
"width": 123,
"height": 123
},
"preview": {
"url": "<string>",
"width": 123,
"height": 123
},
"squarePreview": {
"url": "<string>",
"width": 123,
"height": 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)
Successful response
Show child attributes
Show child attributes
Was this page helpful?