Skip to main content
PUT
/
v2
/
access
/
uploads
/
:mediaUploadId
Upload single-part media and finalize (No need to call /complete after upload if using this endpoint)
curl --request PUT \
  --url https://api-next.ofauth.com/v2/access/uploads/:mediaUploadId \
  --header 'apiKey: <api-key>'
{
  "mediaUploadId": "<string>",
  "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
      }
    }
  }
}

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

mediaUploadId
string
required
Minimum string length: 1

Response

Successful response

mediaUploadId
string
required
media
object