POST
/
storage
/
uploads
/
{filename}
curl
curl -X POST "https://api.notte.cc/storage/uploads/$filename" \
-H "Authorization: Bearer $NOTTE_API_KEY" \
-H "Content-Type: multipart/form-data" \
{
  "success": true
}

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Headers

x-notte-request-origin
string | null
x-notte-sdk-version
string | null

Body

multipart/form-data
file
file
required

Response

Successful Response

success
boolean
required

Whether the upload was successful