Skip to main content
POST
Create a string

Authorizations

x-api-key
string
header
required

Path Parameters

projectId
string
required
Maximum string length: 128

Body

application/json
key
string
required
Required string length: 1 - 1000
sourceText
string
required
Required string length: 1 - 100000
context
string | null
Maximum string length: 10000
type
string | null
Maximum string length: 64
maxLength
integer | null
Required range: 1 <= x <= 100000
hidden
boolean
default:false
filePath
string | null

Path of an existing project source file.

Maximum string length: 2048
customMetadata
object

Your own text on the string, by key, such as a ticket or a source system's ID. Only the API reads and writes it. Linguists and machine translation don't see it, so put guidance for translators in context.

Response

Created string.

string
object
required