---
title: "Update a translation request"
method: PATCH
path: "/translation-requests/{id}"
tags: ["TranslationRequests"]
---

# Update a translation request

`PATCH /translation-requests/{id}`

## Request

- Base URL: `https://enterprise.knak.io/api/published/v1`
- URL: `https://enterprise.knak.io/api/published/v1/translation-requests/{id}`
- Auth: none declared
- TypeScript: <https://skmtc.dev/knak/apis/knak-enterprise-api/docs/translation-requests/:id/patch.ts> (a function with typed inputs; its response is checked against the schema)

Update the status of a [translation request](#tag/translation_request).

## Path parameters

- `id` string, required

## Request body

- object
  - `status` 'processing' | 'completed' | 'failed' | 'cancelled'

## Response `200`

OK

- TranslationRequest
  - `type` string
  - `id` string
  - `attributes` TranslationRequestAttributes
    - `id` string
    - `language_code` string: The language code of the translation target
    - `source_language_code` string, nullable: The language code of the translation source. If not set, the value will be null
    - `status` 'cancelled' | 'completed' | 'deleted' | 'failed' | 'manually_translating' | 'processing' | 'reopened' | 'requested' | 're_requested'
    - `base_asset_id` string: The ID of the Asset that should be translated
    - `asset_version_id` string: The ID of the Asset Version that should be translated
    - `integration_id` string: The ID of the integration that was used to request the translation
    - `user` User
      - `id` string
      - `name` string
      - `email` string
      - `roles` string[]: The roles for the user. Can be any of the roles defined for the company including custom roles.
    - `notes` string, nullable: Any notes or context relating to the translation request. If not set, the value will be null
    - `due_date` string, nullable: The date the translation is due. If not set, the value will be null
    - `created_at` string
    - `updated_at` string

## Other responses

- `400`: Bad Request
- `401`: Unauthenticated
- `403`: Unauthorized
- `404`: Not Found

---

[API](https://skmtc.dev/knak/apis/knak-enterprise-api.md) - [All operations](https://skmtc.dev/knak/apis/knak-enterprise-api/llms.txt) - [OpenAPI document](https://skmtc.dev/knak/apis/knak-enterprise-api/revisions/31d2c94edfcc?raw)
