SuperOps icon

SuperOps

Interact with the SuperOps MSP GraphQL API

Ticket → Upload Attachment

AI-generated

Summary

Uploads a file from the incoming item's binary data to a SuperOps ticket as either a conversation attachment or a note attachment.

Inputs

  • ticketId (required) — Numeric SuperOps ticket ID (e.g. 7928838372746166987)
  • binaryPropertyName (required) — Name of the binary field on the incoming item that contains the file to upload (typically "data")
  • attachmentModule (required) — Determines which type of ticket entity the file will be associated with. Use Conversation Attachment for replies/forwards and Note Attachment for internal notes.

Output shape

A single record containing metadata for the uploaded file (including fileName, originalFileName, and fileSize) and an array of attachment objects.

The uploaded file is associated with the specified ticket. Use the returned metadata in the 'attachments' array with the 'Upload Attachment' operation when creating tickets, notes, or conversations.

Examples

Example 1: Upload a screenshot to a ticket conversation as a reply

Set Ticket ID, binary field to 'data', and Attachment Module to 'Ticket Conversation Attachment'

Example 2: Attach a diagnostic log to a ticket note

Set Ticket ID, binary field to 'data', and Attachment Module to 'Ticket Note Attachment'

Links

Discussion