Vault
OnlyFans vault of a creator: media, categories, search, release forms, file download and streaming. Requires access to the creator's OnlyFans profile or the "Modify Creator Settings" permission (media endpoints also accept "See Vault in the Dashboard"), unless an endpoint states otherwise.
Search vault media
Searches media by label (case-insensitive, partial match), sorted by date. Body: text (required, blank = empty result), page (starts at 0), size (required, 1 to 48) and direction (required, ASC or DESC; DESC = newest first). Request the next page while hasNext is true. A page can hold fewer than size items when media was deleted on OnlyFans. Items are media objects like retrieveMedia.
path Parameters
creatorIdID of the creator
Search vault media › Request Body
textText to search across media labels
pagePage number (0-based)
sizePage size, 1 to 48
directionSort direction
Search vault media › Responses
Page of matches
Matching media objects, as returned by retrieveMedia
hasNextWhether a next page exists
Search vault media (unpaginated)
Deprecated, use searchMediaV2. Searches media by label (case-insensitive, partial match) and by words in the transcription. Body: text. Not paginated: medias holds media objects like retrieveMedia, missingMediaIds the IDs of matches returned without details (load them with retrieveMedia).
path Parameters
creatorIdID of the creator
Search vault media (unpaginated) › Request Body
textText to search in media labels and transcriptions
validSearch vault media (unpaginated) › Responses
Matches
Matching media objects, as returned by retrieveMedia
missingMediaIdsIDs of matching vault media returned without details; load them with retrieveMedia
Get vault media
Returns one vault media object, with CreatorHero attributes (e.g. label) in mediaAttributes. Download the file URLs under files with downloadFileV3.
path Parameters
creatorIdID of the creator
mediaIdID of the vault media
Get vault media › Responses
Media
List vault categories
Returns one page of vault categories. All body fields are optional: offset (categories to skip), limit (categories per page), query (search text) and view (main). Increase offset by the number of categories received while hasMore is true.
Categories created by the creator have type custom. all holds the counts of the whole vault, sort and order the current category sorting.
path Parameters
creatorIdID of the creator
List vault categories › Request Body
offsetNumber of categories to skip
viewCategory list view, e.g. main
limitNumber of categories per page
query(optional) The search query
List vault categories › Responses
Page of categories
Categories on this page
Counts and preview media of the whole vault
hasMoreWhether more categories follow this page
canCreateVaultListsWhether the creator can create categories
orderCurrent category sort order: asc or desc
sortCurrent category sorting, e.g. default, name or custom
Get category sorting
How the vault categories are sorted on OnlyFans: sort (e.g. default, name or custom) and order (asc or desc).
path Parameters
creatorIdID of the creator
Get category sorting › Responses
Category sorting
orderSort order: asc or desc
sortSorting, e.g. default, name or custom
Sort vault categories
Changes how the vault categories are sorted on the OnlyFans account. Body: sort (e.g. default or name) and order (asc or desc), both required. Returns the result as a JSON object; the status is 200 also when the change fails, so check the body.
path Parameters
creatorIdID of the creator
Sort vault categories › Request Body
orderSort order: asc or desc
sortSorting, e.g. default or name
Sort vault categories › Responses
Result
Set custom category order
Puts the vault categories on the OnlyFans account in the given order and sets the sorting to custom. Body: customOrder, the category IDs in the wanted order. Returns the result as a JSON object; the status is 200 also when the change fails, so check the body.
path Parameters
creatorIdID of the creator
Set custom category order › Request Body
customOrderThe custom given order for the categories
Set custom category order › Responses
Result
Add media to category
Adds vault media to a category on OnlyFans. Body: categoryId and mediaIds. Returns the updated category. Requires the "OnlyFans - Edit Vault" permission instead of the default ones.
path Parameters
creatorIdID of the creator
Add media to category › Request Body
categoryIdID of the vault category
mediaIdsIDs of the vault media to add
Add media to category › Responses
Updated category
idOnlyFans vault category ID; 0 for the whole vault
typeCategory type; custom for categories created by the creator, main for the whole vault
nameCategory name
hasMediaWhether the category contains media
canDeleteWhether the category can be deleted
canUpdateWhether the category can be updated
videosCountNumber of videos in the category
photosCountNumber of photos in the category
gifsCountNumber of GIFs in the category
audiosCountNumber of audios in the category
Preview media of the category
Remove media from category
Removes media from a category on OnlyFans; the media stays in the vault. Returns the updated category. Requires the "OnlyFans - Edit Vault" permission instead of the default ones.
path Parameters
creatorIdID of the creator
query Parameters
categoryIdID of the category
mediaIdsIDs of the vault media, comma-separated or repeated
Remove media from category › Responses
Updated category
idOnlyFans vault category ID; 0 for the whole vault
typeCategory type; custom for categories created by the creator, main for the whole vault
nameCategory name
hasMediaWhether the category contains media
canDeleteWhether the category can be deleted
canUpdateWhether the category can be updated
videosCountNumber of videos in the category
photosCountNumber of photos in the category
gifsCountNumber of GIFs in the category
audiosCountNumber of audios in the category
Preview media of the category
Create vault category
Creates a category in the vault on OnlyFans. Body: name. Returns the result as a JSON object. Requires the "OnlyFans - Edit Vault" permission instead of the default ones.
path Parameters
creatorIdID of the creator
Create vault category › Request Body
The name of the vault categoryName of the vault category, not empty
invalidCreate vault category › Responses
Result
Get vault category
Returns one category with its counts and preview medias. categoryId 0 returns the whole vault (name main): there only audiosCount and medias are filled, use all from listCategories for the other counts.
path Parameters
creatorIdID of the creator
categoryIdID of the category, 0 = whole vault
Get vault category › Responses
Category
idOnlyFans vault category ID; 0 for the whole vault
typeCategory type; custom for categories created by the creator, main for the whole vault
nameCategory name
hasMediaWhether the category contains media
canDeleteWhether the category can be deleted
canUpdateWhether the category can be updated
videosCountNumber of videos in the category
photosCountNumber of photos in the category
gifsCountNumber of GIFs in the category
audiosCountNumber of audios in the category
Preview media of the category
Rename vault category
Renames the category on OnlyFans. Body: name. Returns the result as a JSON object. Requires the "OnlyFans - Edit Vault" permission instead of the default ones.
path Parameters
creatorIdID of the creator
categoryIdID of the category
Rename vault category › Request Body
nameThe new category name
Rename vault category › Responses
Result
Download vault file
Returns the content of a vault file. chUrl is a file URL from a media object (https://of-assets.creatorhero.com/...); its query parameters are ignored. The response Content-Type is the file's type, e.g. image/jpeg or video/mp4.
path Parameters
creatorIdID of the creator
query Parameters
chUrlFile URL from a media object, URL-encoded
Download vault file › Responses
File content
List vault medias
This endpoint allows you to retrieve the Creator's Vault media.
path Parameters
creatorIdThe creator id
query Parameters
limitoffsetfieldsortlisttypebeforePublishDateYou can sort by before published date
You can sort by before published date
releaseFormIdFilter by release form tag ID. When provided, returns only media tagged with this user/tag from our DB instead of fetching from OF
Filter by release form tag ID. When provided, returns only media tagged with this user/tag from our DB instead of fetching from OF
List vault medias › Responses
The vault medias
hasMoreList release forms of media
Returns the release forms tagged on the given vault media as one flat list; a form tagged on several of the media is listed once per media. Empty when media_ids is missing or empty.
path Parameters
creatorIdID of the creator
query Parameters
media_idsComma-separated IDs of vault media
List release forms of media › Responses
Release forms
idRelease form ID; for type user, the OnlyFans user ID of the tagged user
nameRelease form name
partnerSourceSource of the release form partner
typeRelease form type
tokenToken of a guest release form
approve_dateApproval date of the release form
codeRelease form code
dateRelease form date
signatureRelease form signature
statusApproval status of the release form
Tagged OnlyFans user; set only for type user
Stream vault media
Streams the full-size media file for a token from createSignature. Needs no authentication: the token authorizes the request and can be reused for 60 minutes, so the URL works directly as a video or image source. Send a Range header to get part of the file.
path Parameters
signTokensignature returned by createSignature
Stream vault media › Responses
Whole file
Create stream token
Returns a signature token for streamV2 to play the media's full-size file. The token is valid for 60 minutes.
path Parameters
creatorIdID of the creator
query Parameters
mediaIdID of the vault media
Create stream token › Responses
Stream token
signaturesignToken for streamV2, valid for 60 minutes
Delete vault media
Removes media from the creator's vault on OnlyFans. Body: mediaIds, at least one. Also requires the "OnlyFans - Edit Vault" and "OnlyFans - Delete Media" permissions.
path Parameters
creatorIdID of the creator
Delete vault media › Request Body
mediaIdsIDs of the vault media to delete, at least one
invalidDelete vault media › Responses
Media deleted
Delete vault category
Deletes the category on OnlyFans. With clearMedia true its media is deleted from the vault as well. Returns the result as a JSON object; the status is 200 also when the deletion fails, so check the body. Requires the "OnlyFans - Edit Vault" permission instead of the default ones, plus "OnlyFans - Delete Media" when clearMedia is true.
path Parameters
creatorIdID of the creator
categoryIdID of the category
clearMediatrue also deletes the category's media from the vault
Delete vault category › Responses
Result
