We recently started using the Trados Cloud platform. I am trying to upload the Perfect Match files (.sdlxliff) via the REST API. Creating a project and uploading the files (via API) works, but Perfect Match is then skipped in the workflow for the files.
Unfortunately, the API reference does not provide quite as much information as it should for the whole thing to work.
I upload the files using the “Add Source File” endpoint: api.eu.cloud.trados.com/.../v1/projects/{projectId}/source-files
The question is, what exactly should the properties look like? Currently, they look like this:
var bilingualUploadProps = Newtonsoft.Json.JsonConvert.SerializeObject(new{ name = sdlxliffname, role = "reference", type = "sdlxliff", language = sourceLanguageShort});
Are role and type correct?
Unfortunately, that doesn't seem to be enough.
Do I now have to create a “PerfectMatch Mapping” using the API? If so, how do I do that for the .sdlxliff files? By default the PerfectMatch Mapping want to have "matchingProjects" but we don't have these yet. We want to use the older sdlxliff files.
Thanks for the help.
Removed AI Suggestion
[edited by: André at 3:04 PM (GMT 0) on 26 Jan 2026]

Translate