Files
Upload a file
Queues a localization file for import and returns a <code>202</code> or <code>302</code> response along with a <a href="#object-queued-processes">Queued process</a> object. <a href="https://docs.lokalise.com/developer-docs/uploading-files" target="`_new`">Learn more</a>. Requires Upload files admin right. <a href="https://docs.lokalise.com/supported-file-formats" target=_new>Supported file types</a>.
Please note that the <code>302</code> response code is not currently used, but in the future it will be returned if the same file is already in the upload queue.
Requires <code>write_files</code> OAuth access scope.
post/projects/{project_id}:{branch}/files/upload
Request
- Base URLhttps://api.lokalise.com/api2
- URLhttps://api.lokalise.com/api2/projects/{project_id}:{branch}/files/upload
- AuthAPI key in header X-Api-Token
Path parameters
project_idstring required
A unique project identifier
branchstring required
Branch name
Request body
Response
OK
Changes
No recorded changes to this operation across all 1 revision of this API.