Skip to main content
POST
Import source/translation files (write)

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

projectId
string
required

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

Query Parameters

branch
string

Target an open translation branch instead of main. Required when the project's main branch is protected.

Body

application/json
format
string
required
Minimum string length: 1
files
object[]
required
Minimum array length: 1

Response

Counts of what the import added, updated, and skipped.

success
boolean
required
data
object
required