---
title: "Verifies an audio file and returns a product that you can purchase to publish the audio file."
method: POST
path: "/v1/audio/verify"
tags: ["Assets"]
---

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

`POST /v1/audio/verify`

## Request body

- RobloxPublishApiVerifyAudioRequest — Request model to publish an audio asset.
  - `name` string — Gets or sets the name of the audio asset.
  - `file` string — File to be uploaded. Formatted as a base64 string.
  - `groupId` integer — Gets or sets the ID of the group if applicable. Optional.
  - `paymentSource` string — Gets or sets the payment source. 'User' or 'Group'. Required if Group ID is set.
  - `fileSize` integer — Gets or sets the size of the audio file in bytes.
  - `duration` number, double — Gets or sets the duration of the audio in seconds.

## Response `200`

OK

- RobloxPublishApiVerifyAudioResponse — Response model for verify audio endpoint.
  - `name` string — Name of the audio file.
  - `price` integer — Price in robux to publish the audio file.
  - `balance` integer — User's current Robux balance.
  - `canAfford` boolean — Boolean, true if the user can afford to purchase the publishing of the audio file.

## Other responses

- `400` — 3: The request did not contain a file to be uploaded. 4: The file in the request is too large. 5: The duration of the audio file is too long. 7: Failed to parse the file. 8: The file type is not supported. 9: The file is corrupted 18: Too many requests. Try again later.
- `401` — 0: Authorization has been denied for this request. 1: The request did not include an authorization.
- `403` — 0: Token Validation Failed

---

[API](https://skmtc.net/roblox/apis/roblox-api.md) · [All operations](https://skmtc.net/roblox/apis/roblox-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/roblox/roblox-api/versions/e15802062270/schema)
