---
title: "Bulk replace transcript words"
method: POST
path: "/projects/{projectId}/transcript/corrections"
tags: ["Captions and Themes"]
---

# Bulk replace transcript words

`POST /projects/{projectId}/transcript/corrections`

## Request

- Base URL: `https://blitzreels.com/api/v1`
- URL: `https://blitzreels.com/api/v1/projects/{projectId}/transcript/corrections`
- Auth: API key in header `Authorization`

Bulk replace transcript words.

## Path parameters

- `projectId` string, required

## Request body

- object
  - `media_asset_id` string
  - `timeline_item_id` string
  - `replacements` object[]
    - `from` string, required
    - `to` string, required
    - `match_case` boolean
    - `match_whole_word` boolean
  - `phrase_replacements` object[]
    - `from_words` string[], required
    - `to_words` string[], required
    - `match_case` boolean

## Response `200`

Successful response

- object
  - `success` boolean, required
  - `asset_id` string, required
  - `updated_segments` number, required
  - `updated_words` number, required
  - `replacements_applied` number, required
  - `unmatched_phrase_replacements` object[], required
    - `from_words` string[], required
    - `to_words` string[], required
    - `match_case` boolean
  - `message` string

## Other responses

- `400`: Invalid input data
- `401`: Authorization not provided
- `403`: Insufficient access
- `500`: Internal server error

---

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