---
title: "Get attachment"
method: GET
path: "/sheets/{sheetId}/attachments/{attachmentId}"
tags: ["attachments"]
---

# Get attachment

`GET /sheets/{sheetId}/attachments/{attachmentId}`

Fetches a temporary URL that allows you to download an attachment. The urlExpiresInMillis attribute tells you how long the URL is valid.

## Response `200`

SUCCESS

- Attachment — Attachment Object
  - `id` number — Attachment ID.
  - `parentId` number — The ID of the parent.
  - `attachmentType` 'BOX_COM' | 'DROPBOX' | 'EGNYTE' | 'EVERNOTE' | 'FILE' | 'GOOGLE_DRIVE' | 'LINK' | 'ONEDRIVE' | 'TRELLO' — Attachment type. Note--Dropbox, Egnyte, and Evernote are not supported for Smartsheet.gov accounts.
  - `attachmentSubType` 'DOCUMENT' | 'DRAWING' | 'FOLDER' | 'PDF' | 'PRESENTATION' | 'SPREADSHEET' — Attachment sub type. Note--Folder type is for EGNYTE values and the rest are GOOGLE_DRIVE values.
  - `mimeType` string — Attachment MIME type.
  - `parentType` 'COMMENT' | 'PROOF' | 'ROW' | 'SHEET' — The type of object the attachment belongs to.
  - `createdAt` union
    - string, date-time
    - number
  - `createdBy` MiniUser — MiniUser Object
    - `email` string, email
    - `name` string
  - `name` string — Attachment name.
  - `sizeInKb` number — The size of the file, if the attachmentType is FILE.
  - `url` string — Attachment temporary URL (files only).
  - `urlExpiresInMillis` number — Attachment temporary URL time to live (files only).

---

[API](https://skmtc.net/smartsheet/apis/smartsheet-openapi-reference.md) · [All operations](https://skmtc.net/smartsheet/apis/smartsheet-openapi-reference/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/smartsheet/smartsheet-openapi-reference/versions/b4afda95fb51/schema)
