---
title: "Create a new issue"
method: POST
path: "/issues"
tags: ["Issues"]
---

# Create a new issue

`POST /issues`

Report a problem with a TTS generation by creating a new issue. Issues are tracked internally by the Deepdub team and used to improve voice quality. The `problemAudioFile` field can optionally include base64-encoded audio attached to the issue, and `problemSeconds` indicates the timestamp in the audio where the problem appears.

## Headers

- `x-api-key` string, required

## Request body

- ModelCreateIssueRequest — Payload for creating a new issue against a TTS generation
  - `generationId` string, required — ID of the generation that has the problem
  - `generatedText` string, required — Text that was passed to the TTS endpoint
  - `problemWord` string, required — Word (or phrase) that was generated incorrectly
  - `voicePromptId` string, required — ID of the voice prompt used in the generation
  - `additionalComments` string — Free-form comments describing the problem
  - `problemAudioFile` string — Optional base64-encoded audio clip to attach to the issue
  - `problemSeconds` number — Seconds in the audio where the problem appears

## Response `201`

Issue created

- ModelIssueResponse — Issue details
  - `id` string
  - `state` string — Current state of the issue (e.g., open, in progress, resolved)
  - `createdAt` string, date-time
  - `updatedAt` string, date-time
  - `generationId` string
  - `generatedText` string
  - `problemWord` string
  - `voicePromptId` string
  - `additionalComments` string
  - `problemSeconds` number

## Other responses

- `400` — Bad request — missing required fields
- `401` — Unauthorized — invalid or missing API key
- `500` — Internal server error

---

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