Translation

Queue files for translation

Enqueue uploaded source files for background translation. Max 100 files per request. The response shape depends on the requested gt-api-version.

post/v2/project/translations/enqueue

Headers

gt-api-version'2025-01-01.v0' | '2025-11-03.v1' | '2026-02-18.v1' | '2026-03-06.v1'

API contract version. Defaults to the oldest supported version.

API contract version. Defaults to the oldest supported version.

gt-project-idstring

Target project ID when no project ID is present in the path. Project API keys default to their bound project. If supplied, the header must match both the path target and the key’s bound project.

Target project ID when no project ID is present in the path. Project API keys default to their bound project. If supplied, the header must match both the path target and the key’s bound project.

Request body

targetLocalesstring[]
sourceLocalestring
forceboolean
modelProvider'ANTHROPIC' | 'OPENAI' | 'XAI' | 'GOOGLE'
publishboolean

Response

Enqueued translations. Shape depends on gt-api-version (legacy before 2025-11-03.v1).

OR

Changes

Changed in 7 of the 15 revisions of this API.81341

    • ○

      the endpoint scheme security UserBearerAuth was removed from the API

      api-security-removed

    This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

  • d2afdba8c62b11See the full diff
    • ●

      added the new SRT enum value to the /// response property for the response status

      response-property-enum-value-added

    • ○

      added the new SRT enum value to the request property //

      request-property-enum-value-added

    • ○

      the endpoint scheme security UserBearerAuth was added to the API

      api-security-added

    This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

  • 451f820cc197235See the full diff
    • ▲

      removed the enum value APPLE_STRINGS of the request property //

      request-property-enum-value-removed

    • ▲

      removed the enum value APPLE_STRINGSDICT of the request property //

      request-property-enum-value-removed

    • ●

      added the new ANDROID_STRINGS enum value to the /// response property for the response status

      response-property-enum-value-added

    • ●

      added the new DOT_STRINGS enum value to the /// response property for the response status

      response-property-enum-value-added

    • ●

      added the new DOT_STRINGSDICT enum value to the /// response property for the response status

      response-property-enum-value-added

    • ○

      added the new ANDROID_STRINGS enum value to the request property //

      request-property-enum-value-added

    • ○

      added the new DOT_STRINGS enum value to the request property //

      request-property-enum-value-added

    • ○

      added the new DOT_STRINGSDICT enum value to the request property //

      request-property-enum-value-added

    • ○

      removed the APPLE_STRINGS enum value from the /// response property for the response status

      response-property-enum-value-removed

    • ○

      removed the APPLE_STRINGSDICT enum value from the /// response property for the response status

      response-property-enum-value-removed

    • ●

      added the new APPLE_STRINGS enum value to the /// response property for the response status

      response-property-enum-value-added

    • ●

      added the new APPLE_STRINGSDICT enum value to the /// response property for the response status

      response-property-enum-value-added

    • ○

      added the new APPLE_STRINGS enum value to the request property //

      request-property-enum-value-added

    • ○

      added the new APPLE_STRINGSDICT enum value to the request property //

      request-property-enum-value-added

    • ○

      added the required property /// to the response with the status

      response-required-property-added

    • ●

      added the new XCSTRINGS enum value to the /// response property for the response status

      response-property-enum-value-added

    • ○

      added the new XCSTRINGS enum value to the request property //

      request-property-enum-value-added

  • 367cd605d0906629See the full diff
    • ▲

      request property // was restricted to a list of enum values

      request-property-became-enum

    • ▲

      the // request property's minLength was increased from 0 to 1

      request-property-min-length-increased

    • ▲

      the // request property's minLength was increased from 0 to 1

      request-property-min-length-increased

    • ▲

      the // request property's minLength was increased from 0 to 1

      request-property-min-length-increased

    • ▲

      the response's body type changed from object to no type for status

      response-body-type-changed

    • ▲

      the response's body type changed from object to no type for status

      response-body-type-changed

    • ●

      removed the optional property from the response with the status

      response-optional-property-removed

    • ●

      removed the optional property from the response with the status

      response-optional-property-removed

    • ●

      removed the optional property from the response with the status

      response-optional-property-removed

    • ●

      removed the optional property from the response with the status

      response-optional-property-removed

    • ●

      removed the optional property from the response with the status

      response-optional-property-removed

    • ●

      removed the optional property from the response with the status

      response-optional-property-removed

    • ○

      api operation id enqueueTranslations removed and replaced with enqueueFileTranslations

      api-operation-id-removed

    • ○

      the endpoint scheme security BearerAuth was added to the API

      api-security-added

    • ○

      added the new GTJSON enum value to the request property //

      request-property-enum-value-added

    • ○

      added the new HTML enum value to the request property //

      request-property-enum-value-added

    • ○

      added the new JS enum value to the request property //

      request-property-enum-value-added

    • ○

      added the new JSON enum value to the request property //

      request-property-enum-value-added

    • ○

      added the new LOTTIE enum value to the request property //

      request-property-enum-value-added

    • ○

      added the new MD enum value to the request property //

      request-property-enum-value-added

    • ○

      added the new MDX enum value to the request property //

      request-property-enum-value-added

    • ○

      added the new PO enum value to the request property //

      request-property-enum-value-added

    • ○

      added the new POT enum value to the request property //

      request-property-enum-value-added

    • ○

      added the new SVG enum value to the request property //

      request-property-enum-value-added

    • ○

      added the new TS enum value to the request property //

      request-property-enum-value-added

    • ○

      added the new TWILIO_CONTENT_JSON enum value to the request property //

      request-property-enum-value-added

    • ○

      added the new TXT enum value to the request property //

      request-property-enum-value-added

    • ○

      added the new YAML enum value to the request property //

      request-property-enum-value-added

    • ○

      added subschema #2 to the response body anyOf list for the response status

      response-body-any-of-added

    • ○

      added subschema #1 subschema #2 to the response body anyOf list for the response status

      response-body-any-of-added

    • ○

      added the media type text/html for the response with the status

      response-media-type-added

    • ○

      added the media type text/html for the response with the status

      response-media-type-added

    • ○

      added the media type text/html for the response with the status

      response-media-type-added

    • ○

      added the media type text/html for the response with the status

      response-media-type-added

    • ○

      added the non-success response with the status

      response-non-success-status-added

    • ○

      added the non-success response with the status

      response-non-success-status-added

    • ○

      added the non-success response with the status

      response-non-success-status-added

    • ○

      added the non-success response with the status

      response-non-success-status-added

    • ○

      the response property became required for the status

      response-property-became-required

    • ○

      the response property became required for the status

      response-property-became-required

    • ○

      the response property became required for the status

      response-property-became-required

    This revision also has 5 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog