Getting Attachment Content

This method allows you to download the contents of an attachment on a ticket. The standard ticket view returns information about attachments within the updates variable.

URL

/api/v2/tickets/attachment

Access

This method can be accessed by account tokens and user tokens where the associated user has access to the ticket.

Supported Parameters

  • ticket - the reference for the ticket which the attachment belongs to
  • attachment - the ID of the attachment which you wish to download

Returned Data

The returned data will be the full data for the attachment along with the appropriate content type set in the HTTP headers.

Proudly powered by Katapult. Running on 100% renewable energy.