---
title: "Attach audio"
method: POST
path: "/v1/transcripts/{data_id}/audio"
tags: ["Transcripts"]
---

# Attach audio

`POST /v1/transcripts/{data_id}/audio`

Attach an already-uploaded audio file to the live transcript on a data
entry. The transcript node currently being written to via
`appendLiveTranscriptUtterance` or `setLiveTranscript` is wrapped in
an audio/video block carrying the supplied `file_id`, giving the
editor audio playback + transcript-sync.

Idempotent for the same `file_id` (returns 200). Returns 409 if the
transcript is already wrapped with a different `file_id`. Returns 404
if the data entry does not exist.

## Path parameters

- `data_id` string, required

## Request body

- object
  - `file_id` string, required — ID of an already-uploaded audio file to attach.

## Response `200`

200

- object
  - `data` object, required

## Other responses

- `400` — 400
- `401` — 401
- `403` — 403
- `404` — 404
- `409` — 409
- `422` — 422
- `429` — 429
- `500` — 500

---

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