Skip to main content
POST
Create a translation memory

Authorizations

Authorization
string
header
required

API token: tsu_pat_… (PAT) or tsu_proj_… (project token). The token's granted RBAC permissions determine access; see each operation's x-permission.

Path Parameters

orgId
string
required

Organization id (UUID) or id-embedded path slug.

Body

application/json
name
string
required

Human-readable name for the translation memory.

Required string length: 1 - 100
Example:

"Marketing TM"

description
string

Optional free-text description.

Maximum string length: 500
Example:

"Reusable copy for marketing surfaces."

sourceLanguage
string

BCP-47 code of the TM's source language — matches are keyed off it.

Maximum string length: 10
Example:

"en"

scope
enum<string>

all = every project may leverage it; selected = only assigned projects. Defaults to all.

Available options:
all,
selected
Example:

"all"

approvalRequired
boolean

When true, entry translations by non-approvers are stored as proposals.

Example:

false

approvalBypassAdmins
boolean

When true, org admins' edits are auto-approved even while approval is required.

Example:

false

minMatchPercentage
integer

Minimum match % below which fuzzy matches are not surfaced (floor 40, default 75).

Required range: 40 <= x <= 100
Example:

75

penalties
object

Per-difference score deductions applied to near-exact matches.

Response

The newly created translation memory.

success
boolean
required
data
object
required