Upload new context
Changed onVisual Context provides a visual representation of the source content to Translators and Editors as they are performing their work, and is a very effective way to ensure high-quality translations. Visual Context is displayed in the Smartling CAT Tool - the environment in which translations are performed.
The following context types are supported via the Smartling API:
- HTML: HTML files or files with content type text/html
- IMAGE: Image files
- VIDEO:
- Video file
- Link to video, such as:
- YouTube link
- Vimeo link
- Direct link to an .mp4 file
Context type is not specified directly, but rather, inferred via analyzing the request body.
This endpoint accepts multipart/form-data request body.
Request
- Base URLhttps://api.smartling.com
- AuthHTTP bearer
Path parameters
Unique identifier of a Smartling project — 9 lowercase alphanumeric characters.
A unique project identifier. This can be found in the Smartling Dashboard under Account Settings > API.
Request body multipart/form-data
Response
OK
Example response
{
"response": {
"data": {
"created": "2026-01-15T10:00:00Z"
}
}
}Changes
- breaking
added the pattern
^[a-z0-9]{9}$to thepathrequest parameterprojectId - breaking
the response property
///became nullable for the status - breaking
the response property
///became nullable for the status - breaking
the response property
///became nullable for the status - breaking
the response property
///became nullable for the status - breaking
the response property
///became nullable for the status - breaking
the response property
///became nullable for the status - breaking
the response property
///became nullable for the status - breaking
the response property
///became nullable for the status - info
for the
pathrequest parameterprojectId, the format was generalized fromuuidto no format
- breaking