v1

latestOpenAPI 3.0.32026-08-061874701.5 MB
attachments

Attach new version

Uploads a new version of a file to a sheet or row. This operation can be performed using a simple upload or a multipart upload.

Important: The file size limit is 30mb.

post/sheets/{sheetId}/attachments/{attachmentId}/versions

Headers

Content-Typestring

Required for POST and PUT requests. Defines the structure for the request body.

Response

SUCCESS

message'PARTIAL_SUCCESS' | 'SUCCESS'

Message that indicates the outcome of the request. (One of SUCCESS or PARTIAL_SUCCESS.)

resultCode0 | 3
  • '0' Success
  • '3' Partial Success of Bulk Operation
versionnumber nullable

New version of the sheet. Applicable only for operations which update sheet data.

Example response

{
  "message": "SUCCESS",
  "result": {
    "mimeType": "PNG",
    "createdBy": {
      "email": "jane.doe@smartsheet.com",
      "name": "Jane Doe"
    }
  }
}