Outline Wiki icon

Outline Wiki

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

Attachment → Upload

AI-generated

Summary

Upload a binary file as an attachment to the Outline Wiki, optionally associating it with a specific document and overriding the filename.

Inputs

  • Binary Property (required) — Name of the binary property containing the file to upload.
  • Additional Fields — Optional parameters including Document ID to associate the attachment with, and Filename Override to specify a custom filename (with extension).

Output shape

a single JSON object confirming upload success with attachment metadata including ID, URL, filename, MIME type, and size.

Requires binary data in the specified binary property. Upload performs a two-step process: creates an attachment record to get a signed upload URL, then uploads the file to that URL. If any error occurs, it returns an error message in the output.

Examples

Example 1: Uploading a file binary from input with property 'fileData', associating it to a document UUID, and overriding the filename.

Set 'Binary Property' to 'fileData', add Document ID in additional fields, and specify a custom filename if desired.

Links

Discussion