Does Smartsheet Form have any APIs?
Hi,
I'm trying to automate the form submission process for my team, I saw form submission seems to be calling https://forms.smartsheet.com/api/submit, just wondering if we have any APIs open for this like the api.smartsheet.com ones?
Thanks
Answers
-
Hi Dave,
Smartsheet does have a very robust and well-documented API, https://smartsheet-platform.github.io/api-docs/.
I am not 100% sure what your use case is, so forgive me if I'm not answering your question exactly. But if you are trying to automate form submissions, you should probably connect to a specific sheet via the API and use a PUT request to store the data into that sheet (since that is where the data is going on a form anyway).
-
Thanks Cody, I'll try "PUT" a new entry to the sheet! In my case upon the form submission there's a new unique ID created for the new entry in the sheet that the form is connected to, can this ID generation part also be covered by a "PUT" method to sheet?
-
So I would probably just make another column in the sheet with an "Auto-Numbering/System" column type (see pic). You can set it up pretty easily. Once you make the "PUT" request, the ID will automatically get associated with the incoming form submission (the new row). There are other ways you could go about it, of course, but that's one method I would probably go about it. Hope that helps!
-
Hi Cody,
Thanks the reply again!
The issue here is that I'm not the owner of the sheet, and I tried "post" a new row to the sheet and got an error "Cannot edit a locked column xxx", and this column is a mandatory field on the form, is there any way to get around this?
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 64K Get Help
- 412 Global Discussions
- 220 Industry Talk
- 459 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 138 Just for fun
- 57 Community Job Board
- 459 Show & Tell
- 31 Member Spotlight
- 1 SmartStories
- 299 Events
- 38 Webinars
- 7.3K Forum Archives