Code Assist MCP for Smartsheet

Build 25.0.9539

UploadAttachmentVersion

Uploads a new attachment version to a file attachment in one of your Smartsheet sheets.

Stored Procedure-Specific Information

Use this stored procedure to re-upload a file attachment, which creates a new version of the attachment. Note that file attachments located in comment level cannot be re-uploaded.

You can also query the Info_AttachmentVersions table to read data on the versions of an attachment. However, if the attachment is not a file attachment (such as a link attachment), only one version is returned for that attachment.

To execute this procedure, enter:

EXEC UploadAttachmentVersion SheetId='8449165781585796', AttachmentId='5642314839789444', Name='my_attachment_v2.png', FilePath='C:/Files/my_attachment.jpg'

Input

Name Type Required Description
SheetId String True The unique identifier of the sheet containing the file attachment.
AttachmentId String True The unique identifier of the file attachment.
Name String True The name of the attachment in the new version.
FilePath String False The path of the file to upload as the new attachment version.

Result Set Columns

Name Type Description
Success Boolean Boolean value indicating whether the upload operation was successful. Returns 'true' if the new attachment version was created successfully, and 'false' otherwise.

Copyright (c) 2026 CData Software, Inc. - All rights reserved.
Build 25.0.9539