Upload new files to the OnlyFans vault with the VENUZ API — in batches
API v1 is being retired. API v2 was published on 2026-11-09. v1 stops answering on 2026-12-07 (2026-12-21 if your agency asks for the extension), earlier only if no key uses it and announced at least 7 days before (Versioning); the
Sunsetheader of each v1 response is the date that applies to your key. Migrate from v1 to v2.
To put new files in the OnlyFans vault of an account, upload each one with messages.upload, then call vault.upload with their upload_ids, a preview first. Each file comes back with its status and the of_media_id of the new vault piece. Your key needs vault:write and chats:write.
Before you start: the house fan
OnlyFans has no way to add a file to the vault without sending it. VENUZ does what its vault screen does: vault.upload sends each file, in its own message, as a locked PPV of 5 USD with no text, to the house fan of the account, and OnlyFans keeps it in the vault.
- You choose the house fan freely: any fan, and VENUZ validates nothing. That fan receives every file as a locked PPV of 5 USD and could buy them, so we recommend an account of your own agency. A message that went out can only be taken back with
messages.unsend. - The house fan is the linked fan of
vault.settings; save it withvault.settings_manage(linked_fan_of_id). That call is a full replace: send your currentdefault_sort,default_viewandhide_viewed_contenttoo, or they go back to their defaults (recent,grid,false). Read them first withvault.settings. - Without a house fan,
vault.uploadanswers409 vault_fan_not_linkedand sends nothing.
Step 1: Upload each file
Call messages.upload with the file name, type and size, then send the bytes with ONE PUT to the upload_url it returns. When the PUT answers uploaded, the file can be used for 1 hour.
curl -X POST "https://open.venuz.ai/v1/accounts/ACCOUNT_ID/uploads" \
-H "Authorization: Bearer $VENUZ_API_KEY" -H "Idempotency-Key: $(uuidgen)" \
-H "Content-Type: application/json" \
-d '{"file_name":"set-01.jpg","mime_type":"image/jpeg","size_bytes":482113}'
curl -X PUT "UPLOAD_URL" -H "Content-Type: image/jpeg" --data-binary @set-01.jpg
Step 2: Preview
Call vault.upload with dry_run=true, up to 20 upload_ids and house_fan_of_id: the id of linked_fan in vault.settings. Nothing is sent. The preview names the house fan, the price and how many files. If the saved fan is not the one you sent, or it changes before you run the call, you get 409 state_conflict (house_fan_changed) and nothing is sent: read vault.settings and preview again.
curl -X POST "https://open.venuz.ai/v1/accounts/ACCOUNT_ID/vault/uploads?dry_run=true" \
-H "Authorization: Bearer $VENUZ_API_KEY" \
-H "Content-Type: application/json" \
-d '{"house_fan_of_id":"HOUSE_FAN_ID","upload_ids":["UPLOAD_ID_1","UPLOAD_ID_2"]}'
Step 3: Put them in the vault
Repeat the request without dry_run, with preview_id and an Idempotency-Key header. The files go one at a time, in order. Each one comes back with its status:
in_vault: it is in the vault.of_media_idis the new piece (null if OnlyFans did not give it back: find it withvault.of_browse).unknown: it may have gone out. It is never sent again; askmessages.statuswith itsexecution_id.not_sent: nothing went out (reasonsays why). The upload comes back and can be used in a new call, except withreasonof_rejected: OnlyFans refused the file and the upload is spent, so upload the file again.not_attempted: not started, because 25 seconds had passed or an earlier file stopped the batch. Call again with these uploads and a newIdempotency-Key.
A retry with the same Idempotency-Key returns the same answer and sends nothing.
Step 4: Choose the folder
The folder cannot be chosen when uploading. Put the new pieces in a vault list afterwards with vault.of_lists_media, all the of_media_ids in one call.
Step 5: See a new piece right away
Call vault.media_url with the of_media_id of a new piece to get a download link at once. A piece VENUZ does not keep a copy of yet is read from OnlyFans by its id at that moment: the answer says source: onlyfans instead of store. If many new pieces of the same account are asked in the same minute, some answer 404 with details.reason not_synced_yet and a Retry-After header: wait that many seconds and ask again. A video with DRM answers 404 with details.reason drm_protected; ask variant=thumb for its image.
A file that came in a chat (not one in the vault) goes by media.get, with the ids of its chat and message.
Good to know
- Up to 20 files per call and one batch at a time per account (a second one gets
account_busywithRetry-After). - At the usual speed about 14 files fit in one call; the rest come back
not_attempted. - Daily limits: 50 calls per account and 2,000 per key (see Daily limits).
- An upload is used once: a file that went out, or may have, is never sent again, also not with another
Idempotency-Key.
VENUZ is independent software for agencies. It is not affiliated with, endorsed or sponsored by OnlyFans. OnlyFans is a trademark of its owner.