---
title: "Reprocess Text"
method: PUT
path: "/v1/texts/{text_id}"
tags: ["Text Emotion API"]
---

# Reprocess Text

`PUT /v1/texts/{text_id}`

## Request

- Base URL: `https://api.imentiv.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.imentiv.ai/v1/texts/{text_id}`
- Auth: one of:
  - API key in header `X-API-Key`
  - HTTP bearer

Reprocesses a text that has either failed or completed.
You can trigger the reprocessing by setting reprocess to True.
This will reanalyze the image and provide updated insights

## Path parameters

- `text_id` string, required: The unique ID of the text.

## Request body `application/x-www-form-urlencoded`

- BodyReprocessTextV1TextsTextIdPut
  - `callback_url` string, nullable: The url to notify when text processing is completed. Must be an https URL on a publicly reachable host.
  - `reprocess` boolean: Set to 'True' to reprocess an already processed text; defaults to 'False'.

## Response `200`

Successful Response

- TextReprocessResponse: Response model for reprocessing a text analysis request. Attributes: message (str): Additional information about the reprocessing result.
  - `id` string, required
  - `status` string, required
  - `message` string, required

## Other responses

- `422`: Validation Error

## Changes

- **2026-08-20** `74ceee4a5c98`: 1 info
  - request property `callback_url` list-of-types was widened by adding types `null` to media type `application/x-www-form-urlencoded`

[Operation history](https://skmtc.dev/imentiv/apis/welcome-to-imentiv-ai/changes/v1/texts/:text_id/put.md)

---

[API](https://skmtc.dev/imentiv/apis/welcome-to-imentiv-ai.md) - [All operations](https://skmtc.dev/imentiv/apis/welcome-to-imentiv-ai/llms.txt) - [OpenAPI document](https://skmtc.dev/imentiv/apis/welcome-to-imentiv-ai/revisions/bc15cec7e794?raw)
