Welcome to the Smartsheet Forum Archives
The posts in this forum are no longer monitored for accuracy and their content may no longer be current. If there's a discussion here that interests you and you'd like to find (or create) a more current version, please Visit the Current Forums.
Adding attachment via the API
Hey, I'm using the API to create a sheet and I want to attach a pdf to each row. It looks like I would need to first create the row, then get its rowId before I can add an attachment to it.
is there a way to include the attachment as part part of the row creation? Basically, is the rowId mandatory, or is there a way around that?
Best,
Gareth.
Comments
-
Hi Gareth,
We don't have a method to add a new row to a sheet and include an attachment via the API. To attach a file to a row requires the rowId, so the row would need to exist first and then have the file attached after its creation.
-
Ok, thanks for the info!
This discussion has been closed.
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 66.1K Get Help
- 430 Global Discussions
- 149 Industry Talk
- 490 Announcements
- 5.2K Ideas & Feature Requests
- 85 Brandfolder
- 154 Just for fun
- 74 Community Job Board
- 499 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 305 Events
- 36 Webinars
- 7.3K Forum Archives