Skip to main content
POST
/
api2
/
v2
/
connectors
/
{connectorId}
/
folders
/
{folder}
/
files
/
{fileName}
/
upload
Upload file (async)
curl --request POST \
  --url https://cloud.memsource.com/web/api2/v2/connectors/{connectorId}/folders/{folder}/files/{fileName}/upload \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: multipart/form-data' \
  --header 'Memsource: <memsource>' \
  --form file='@example-file'
{
  "id": "<string>",
  "createdBy": {
    "firstName": "<string>",
    "lastName": "<string>",
    "userName": "<string>",
    "email": "<string>",
    "role": "SYS_ADMIN",
    "id": "<string>",
    "uid": "<string>"
  },
  "dateCreated": "2023-11-07T05:31:56Z",
  "fileName": "<string>",
  "action": "GUI_UPLOAD"
}

Documentation Index

Fetch the complete documentation index at: https://developers.phrase.com/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

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.

Headers

Memsource
string<application/json>
required
Content-Type
enum<string>
required
Available options:
multipart/form-data

Path Parameters

connectorId
string
required
folder
string
required
fileName
string
required

Query Parameters

mimeType
string

Mime type of the file to upload

Body

multipart/form-data
file
file
required

Translated file to upload

Response

successful operation

id
string
createdBy
object
dateCreated
string<date-time>
fileName
string
action
enum<string>
Available options:
GUI_UPLOAD,
GUI_DOWNLOAD,
GUI_REIMPORT,
GUI_REIMPORT_TARGET,
CJ_UPLOAD,
CJ_DOWNLOAD,
APC_UPLOAD,
APC_DOWNLOAD,
API_UPLOAD,
API_DOWNLOAD,
SUBMITTER_PORTAL_DOWNLOAD