Skip to main content
POST
Upload file (async)

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

Internal numeric ID of the connector

folder
string
required

Hex-encoded remote folder path

fileName
string
required

Hex-encoded remote file name

Query Parameters

mimeType
string

Mime type of the file to upload

Body

multipart/form-data
file
file
required

Translated file to upload

Response

OK

action
enum<string>

Type of the async file operation, e.g. API_DOWNLOAD or API_UPLOAD

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
createdBy
object
dateCreated
string<date-time>

Timestamp when the async task was created

fileName
string

Name of the file

id
string

Internal numeric ID of the async task, encoded as a string