Linq icon

Linq

Interact with Linq API (community-built; not affiliated with Linq App Inc.)

Attachment → Request Upload

AI-generated

Summary

Request a presigned upload URL for a file attachment.

Inputs

  • fileName (required) — Name of the file to be uploaded.
  • fileSize (required) — Size of the file in bytes.
  • contentType (required) — MIME type of the file (e.g., image/jpeg).

Output shape

A JSON object containing the upload URL and related metadata.

The response includes a presigned URL that can be used with a PUT request; the URL is ready for file upload, other fields may vary by API version.

Examples

Example 1: Upload a document to a chat message

Set Resource to Attachment, Operation to Request Upload, fill in File Name, File Size, Content Type, and optionally Chat ID; the node returns a presigned URL for uploading the file.

Links

Discussion