v2

latestOpenAPI 3.0.42026-08-088161,1253.1 MB
Assets

Verifies an audio file and returns a product that you can purchase to publish the audio file.

post/v1/audio/verify

Request body

namestring

Gets or sets the name of the audio asset.

filestring

File to be uploaded. Formatted as a base64 string.

groupIdinteger

Gets or sets the ID of the group if applicable. Optional.

paymentSourcestring

Gets or sets the payment source. 'User' or 'Group'. Required if Group ID is set.

fileSizeinteger

Gets or sets the size of the audio file in bytes.

durationnumber double

Gets or sets the duration of the audio in seconds.

Response

OK

namestring

Name of the audio file.

priceinteger

Price in robux to publish the audio file.

balanceinteger

User's current Robux balance.

canAffordboolean

Boolean, true if the user can afford to purchase the publishing of the audio file.