Outline Wiki icon

Outline Wiki

Interact with the Outline Wiki API — documents, collections, comments, attachments, users, shares

Attachment → Upload

AI-generated

Summary

Upload a file as an attachment to the Outline Wiki using binary data from a specified binary property.

Inputs

  • Binary Property (required) — Name of the binary property containing the file to upload.
  • Additional Fields — Optional fields to associate the attachment with a specific document by Document ID and/or override the filename.

Output shape

A JSON object containing the upload result with attachment ID, URL, name, content type, and file size.

Performs a two-step process: first creates an attachment record and obtains a signed upload URL, then uploads the binary file to that URL via a multipart/form-data POST. Throws error if binary property is missing.

Links

Discussion