CData Python Connector for Smartsheet

Build 25.0.9454

UploadAttachment

Upload a file attachment in one of your Smartsheet sheets.

Input

Name Type Required Description
SheetId String True The unique identifier of the sheet where the file attachment will be uploaded. Omitting both CommentId and RowId parameters, will result in the attachment being uploaded in sheet level.
RowId String False The unique identifier of a row in the sheet, if you want to attach the file in row level.
CommentId String False The unique identifier of a comment in the sheet, if you want to attach the file in comment level.
Name String True The name of the attachment.
FilePath String False The absolute path of the file in your system to upload as the new attachment.

Result Set Columns

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

Copyright (c) 2025 CData Software, Inc. - All rights reserved.
Build 25.0.9454