Skip to main content
POST
/
api2
/
v1
/
files
Upload file
curl --request POST \
  --url https://cloud.memsource.com/web/api2/v1/files \
  --header 'Authorization: <api-key>' \
  --header 'Content-Disposition: <content-disposition>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "url": "<string>"
}
'
{
  "uid": "<string>",
  "name": "<string>",
  "size": 123,
  "type": "<string>"
}

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

Content-Disposition
string
required

must match pattern ((inline|attachment); )?filename\*=UTF-8''(.+)

Body

file

url
string

Response

Created

uid
string
read-only
name
string
read-only
size
integer<int64>
read-only
type
string
read-only