Attach a file to a note

Upload one file to a note, and download it again with a link that expires.

Attach a file

  1. Pick one of your notes. Only notes you wrote take files.
  2. Send the file as the body of PUT /api/notes/{id}/attachment?name=<file name>. It can be up to 10 MB.
  3. The answer shows the file's name and size, and the note lists them from then on.

Each note holds one file. Attaching another replaces the first, and the first is deleted.

Download it

  1. Ask for a link with GET /api/notes/{id}/attachment.
  2. Open the link within 5 minutes. After that it stops working; ask for a new one.

The link works for anyone who has it until it expires, so share it only with people who may see the file. The file always downloads; a browser never opens it as a page.

Who can reach your files

Only you can attach files to your notes or get links to them. In a team account, the files belong to the team you're working in. When your account or your team is deleted, its files are deleted with it.

The API reference lists every answer these requests can give.