---
title: "Upload audio files for AVQI analysis"
method: POST
path: "/api/assignFileId"
tags: ["Voice Quality Metrics"]
---

# Upload audio files for AVQI analysis

`POST /api/assignFileId`

## Request

- Base URL: `https://platform.vocametrix.com`
- URL: `https://platform.vocametrix.com/api/assignFileId`
- Auth: API key in header `X-API-Key`

## Response `200`

Successful response

- object
  - `fileId` string: ID of the uploaded file for use with the calculate-avqi endpoint

## Other responses

- `400`: Bad request — missing or invalid parameter
- `401`: Unauthorized — missing or invalid API key
- `429`: Rate limit exceeded
- `500`: Server error

---

[API](https://skmtc.dev/vocametrix/apis/vocametrix-api.md) · [All operations](https://skmtc.dev/vocametrix/apis/vocametrix-api/llms.txt) · [OpenAPI document](https://skmtc.dev/vocametrix/apis/vocametrix-api/revisions/8a54d01bcc81?raw)
