Skip to main content
POST
/
accounts
/
{username}
/
content
Upload content
curl --request POST \
  --url https://studio-api.onlytraffic.com/api/external/v1/accounts/{username}/content \
  --header 'Content-Type: multipart/form-data' \
  --header 'X-API-Key: <api-key>' \
  --form 'files=<string>' \
  --form files.items='@example-file'
{
  "success": true,
  "data": {
    "uploaded": [
      {
        "id": 123,
        "thumbnail_url": "<string>"
      }
    ],
    "failed": [
      {
        "file": "<string>",
        "error": "<string>"
      }
    ]
  }
}

Limits

BucketMax files (per account)Max per file
preview50 (images only)10 MB
gg50 (images and videos)50 MB
Total storage cap across both buckets: 100 MB. Per-request limit: 10 files.

Authorizations

X-API-Key
string
header
required

Your API key from the Studio Dashboard

Path Parameters

username
string
required

OnlyFans username of the model owned by your account.

Maximum string length: 30
Pattern: ^[a-zA-Z0-9_.-]+$

Body

multipart/form-data
type
enum<string>
required
Available options:
preview,
gg
files
file[]
required

Up to 10 files per request. For type=preview: images only (jpeg/jpg/png/webp/heic/heif), max 10 MB each. For type=gg: images OR videos (mp4/mov added), max 50 MB each.

Required array length: 1 - 10 elements

Response

Uploaded

success
boolean
Example:

true

data
object