Skip to main content
POST
Get an upload URL

Authorizations

Authorization
string
header
required

A Nemonist key (sk-nm-...) as a bearer token in the Authorization header.

Path Parameters

id
string
required

The folder's id (fld_...), as GET /folders lists it.

Body

application/json

The file to upload.

path
string
required

The file's path: letters, digits, . _ - and /, at most 200 characters.

Response

The upload URL.

A signed upload URL.

url
string

Where to PUT the file's bytes, within the hour.

path
string

The uploaded file's path in the folder.

method
string

Always PUT.

expiresAt
string

When the upload URL stops working (ISO 8601).

maxBytes
integer

The largest file this URL takes; larger files use POST /folders/{id}/multipart.