Create project template
Creates a project template by copying the settings of an existing project referenced by project.uid. The source language, target languages, and workflow steps of that project are inherited by the new template and returned in the response — they cannot be set directly in this request.
To create a template with a specific source/target language or workflow, first create or find a project that already has those settings, then save it as a template via this endpoint. Alternatively, create the template with a placeholder project and then use PUT /projectTemplates/{projectTemplateUid} (or the v2 equivalent) to set sourceLang, targetLangs, and workFlowSettings directly, or PATCH /projectTemplates/{projectTemplateUid} to set sourceLang and targetLangs — no source project with those settings is required.
project.uid is required and must be the UID of an existing project; an unknown or placeholder value (for example "null") returns 404.
The name field in the request is stored and returned as templateName in the response. The response also contains a separate name field, which is inherited from the source project.
Authorizations
Get a token from auth/login endpoint and then pass it in the Authorization HTTP header in every subsequent API call. For more information visit our help center.
Body
Project template to create
Name of the template. Returned as templateName in the response.
255Reference to an object by its unique identifier
Pattern used to generate project names when useDynamicTitle is true
255Reference to an object by its unique identifier
When true, generated project names use the dynamic title pattern
Response
Created
Per-target-language provider assignments. Null when the template has workflow steps; use workflowSettings instead.
Date and time the template was created
Deprecated - use dateTimeModified field instead
"{ \"epochSeconds\": 1624619701, \"nano\": 0 }"
Date and time the template was last modified
Pattern used to generate project names when useDynamicTitle is true
Internal numeric identifier, encoded as a string
Reference to an object by its unique identifier
Name inherited from the source project the template was created from
Note inherited from the source project
Source language code, inherited from the project the template was created from. Cannot be set when creating a template.
Target language codes, inherited from the project the template was created from. Cannot be set when creating a template.
Name of the project template. This is the value supplied as name in the create request.
Unique identifier used in API paths
When true, generated project names use the dynamic title pattern
Per-workflow-step provider assignments and settings. Empty when the template has no workflow steps.
Workflow steps, inherited from the project the template was created from. Cannot be set when creating a template.