# List attachments Gets a list of all attachments that are on the sheet, including sheet, row, and discussion-level attachments. > Note: For pagination guidance, refer to Pagination. Endpoint: GET /sheets/{sheetId}/attachments Version: 2.0.0 Security: APIToken, OAuth2 ## Path parameters: - `sheetId` (number, required) ID of the sheet being accessed. ## Header parameters: - `Authorization` (string) API Access Token used to authenticate requests to Smartsheet APIs. - `smartsheet-integration-source` (string) Uses the following metadata to distinguish between human-initiated API requests and third-party service-initiated calls by AI Connectors or ITSM: - Integration source type - Organization name - Integration source name Format: TYPE,OrgName,SourceName Examples: AI,SampleOrg,My-AI-Connector-v2 SCRIPT,SampleOrg2,Accounting-updater-script APPLICATION,SampleOrg3,SheetUpdater Example: "AI,SampleOrg,My-AI-Connector-v2" ## Query parameters: - `page` (number) Which page to return. Defaults to 1 if not specified. If you specify a value greater than the total number of pages, the last page of results is returned. - `pageSize` (number) The maximum number of items to return per page. Unless otherwise stated for a specific endpoint, defaults to 100. If only page is specified, defaults to a page size of 100. For reports, the default is 100 rows. If you need larger sets of data from your report, returns a maximum of 10,000 rows per request. - `includeAll` (boolean) If true, include all results, that is, do not paginate. Mutually exclusive with page and pageSize (they are ignored if includeAll=true is specified). ## Response 200 fields (application/json): - `pageNumber` (number) The current page in the full result set that the data array represents. NOTE when a page number greater than totalPages is requested, the last page is instead returned. Example: 1 - `pageSize` (number,null) The number of items in a page. Omitted if there is no limit to page size (and hence, all results are included). Unless otherwise specified, this defaults to 100 for most endpoints. Example: 50 - `totalPages` (number) The total number of pages in the full result set. Example: 25 - `totalCount` (number) The total number of items in the full result set. Example: 136 - `data` (array) list of attachments - `data.id` (number) Attachment ID. - `data.parentId` (number) The ID of the parent. - `data.attachmentType` (string) Attachment type. Note--Dropbox, Egnyte, and Evernote are not supported for Smartsheet.gov accounts. Enum: "BOX_COM", "DROPBOX", "EGNYTE", "EVERNOTE", "FILE", "GOOGLE_DRIVE", "LINK", "ONEDRIVE", "TRELLO" - `data.attachmentSubType` (string) Attachment sub type. Note--Folder type is for EGNYTE values and the rest are GOOGLE_DRIVE values. Enum: "DOCUMENT", "DRAWING", "FOLDER", "PDF", "PRESENTATION", "SPREADSHEET" - `data.mimeType` (string) Attachment MIME type. Example: "PNG" - `data.parentType` (string) The type of object the attachment belongs to. Enum: "COMMENT", "PROOF", "ROW", "SHEET" - `data.createdAt` (any) - `data.createdBy` (object) User object containing name and email of the user who created this attachment. - `data.createdBy.email` (string) Example: "jane.doe@smartsheet.com" - `data.createdBy.name` (string) Example: "Jane Doe" - `data.name` (string) Attachment name. - `data.sizeInKb` (number) The size of the file, if the attachmentType is FILE. - `data.url` (string) Attachment temporary URL (files only). - `data.urlExpiresInMillis` (number) Attachment temporary URL time to live (files only).