Skip to main content
POST
/
api
/
v1
/
files
CreateFile
curl --request POST \
  --url https://stashy.example.com/api/v1/files \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: */*' \
  --data '"<string>"'
{
  "id": "<string>",
  "url": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

*/*

The body is of type file.

Response

200 - application/json

Success

id
string
required
url
string<uri>
required