POST
/
files
/
v1
/
sync
/
upload-file
Upload file to file storage synchronously
curl --request POST \
  --url https://eu.phrase.com/bifrost/files/v1/sync/upload-file \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{}'
{
  "uid": "DRZMMKMO0jOZvqnCD6rOI3",
  "expiration": "DAY",
  "origin": "bifrost",
  "sha256": "a80657bc2c3cd671207f239851ca2147c6fc93b813d8e53fcde66778ab618d4a",
  "size": 47,
  "customer": {
    "organization": "bifrost",
    "user": "bifrost"
  }
}

Authorizations

Authorization
string
header
required

Authorization token. The value is received by using the /authenticate endpoint. Example: OLi6jKa0VVyJqC5Ojv5LH2myTckP5N8Eb0rrWvdTOxCkJjT14E1AEj63bvzZ7CKM5

Headers

X-ActionId
string

Body

application/json

Response

200 - application/json

OK

The response is of type object.