OF Chat Audio
Audio files of a creator in CreatorHero for use in chats: upload, list, stream, edit and delete. audioId is the id of an audio (UUID). Requires access to the creator's OnlyFans profile.
Edit audio
Changes the name and/or description of the audio. A field that is omitted or null stays unchanged; a blank name is ignored. At least one of the two fields must be set.
path Parameters
creatorIdID of the creator
audioIdID of the audio
Edit audio › Request Body
nameThe audio name
descriptionThe audio description
Edit audio › Responses
Updated
List all audios
Deprecated, use getAudiosPaged. Returns all audios of the creator, unpaged.
path Parameters
creatorIdID of the creator
List all audios › Responses
Audios
idID of the audio (UUID)
nameName of the audio, unique per creator
descriptionDescription of the audio; empty string when not set
contentTypeMIME type of the audio file: audio/mp3, audio/wave or audio/ogg
durationLength of the audio in seconds, rounded to 2 decimals
Upload audio
Send multipart/form-data with the parts file (audio/mpeg, audio/mp3, audio/wav, audio/wave or audio/ogg, max 10 MB), name (not empty) and optionally description; any other part is rejected. A creator can store at most 200 audios, and both the name and the file content must be unique per creator. Only one upload per creator runs at a time.
path Parameters
creatorIdID of the creator
Upload audio › Responses
Uploaded audio
idID of the audio (UUID)
nameName of the audio, unique per creator
descriptionDescription of the audio; empty string when not set
contentTypeMIME type of the audio file: audio/mp3, audio/wave or audio/ogg
durationLength of the audio in seconds, rounded to 2 decimals
Stream audio file
Returns the audio file as binary with the audio's contentType as Content-Type (audio/mp3, audio/wave or audio/ogg) and an inline Content-Disposition carrying the audio name.
path Parameters
creatorIdID of the creator
audioIdID of the audio
Stream audio file › Responses
Audio file
List audios
Returns one page of the creator's audios: content holds the audios, totalElements, totalPages, number and last describe the paging. Without sort the order is not defined.
path Parameters
creatorIdID of the creator
query Parameters
pagePage number, starts at 0; default 0
sizeAudios per page; default 20, max 2000
sortname, description, contentType or duration, optionally followed by ,asc or ,desc; repeat the parameter to sort by more fields
List audios › Responses
Page of audios
totalElementstotalPagessizenumberfirstlastnumberOfElementsempty