Skip to main content
POST
/
api
/
v1
/
files
/
upload
Upload a file
curl --request POST \
  --url https://backyard.posthoot.com/api/v1/api/v1/files/upload \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: multipart/form-data' \
  --form file=@example-file
{}

Authorizations

Authorization
string
header
required

Enter the token with the Bearer: prefix, e.g. "Bearer abcde12345".

Body

multipart/form-data
file
file
required

File to upload

Response

File uploaded successfully

The response is of type object.