Skip to main content

GET an Attachment

URL: http://{{server-url}}/api/v1/files/download/{refFileName}

You can call the above endpoint to upload a file in the ServiceOps system. When you upload a file, you get a reference filename, which you can pass in the body while creating or updating a request ticket; this associates the file with the ticket.

You need the following key-values:

Header

KeyDescription
AuthorizationBearer/API Key {access token obtained after authorization}

Body

KeyDescription
fileAttachment

Example (Request & Response)

Request

Upload an Attachment

Response

You will receive a dialog to save the file.