Export excel file via API
I want to use the API to export an Excel file. While reviewing the latest documentation, I couldn’t find any reference to this functionality. However, I discovered in historical posts that using the Accept: application/vnd.ms-excel
header can achieve this. I tested it with the API, and it worked successfully.
Could you please confirm:
- Is this method officially supported, or has it been deprecated?
- Is it safe to rely on this approach for our processes?
Additionally, I noticed that historical posts referenced documentation related to this feature, but those links are no longer valid. If this method is officially supported, would it be possible to reinstate it in the current documentation for clarity?
FYI:
https://community.smartsheet.com/discussion/5140/download-sheet-data-via-api
https://stackoverflow.com/questions/21941525/smartsheet-download-sheet-as-excel-file-using-api
Best Answer
-
Hi @Buren,
The Get Sheet method is supported, and you can find an example of using this method to get a sheet as an Excel file under the Get Sheet section of the current API documentation, here.
The links you’ve found to the section in the API documentation are old resources, which is why it links you to the top of the current, new documentation site, however the Excel example is still shown in the right hand panel for Get Sheet:
Smartsheet Support does not handle SDK-related inquiries. If you’ve tested and found an issue with the SDK, please report it on the relevant GitHub page. You can access the links to these pages here: Smartsheet API Documentation.
You may also find the following related Community threads helpful:
Thanks,
Georgie
Join us for Jumpstart 2025 with Community on January 23 (in two time zones)! 🎉 Register here.
Answers
-
FYI:
https://stackoverflow.com/questions/21941525/smartsheet-download-sheet-as-excel-file-using-api -
Hi @Buren,
The Get Sheet method is supported, and you can find an example of using this method to get a sheet as an Excel file under the Get Sheet section of the current API documentation, here.
The links you’ve found to the section in the API documentation are old resources, which is why it links you to the top of the current, new documentation site, however the Excel example is still shown in the right hand panel for Get Sheet:
Smartsheet Support does not handle SDK-related inquiries. If you’ve tested and found an issue with the SDK, please report it on the relevant GitHub page. You can access the links to these pages here: Smartsheet API Documentation.
You may also find the following related Community threads helpful:
Thanks,
Georgie
Join us for Jumpstart 2025 with Community on January 23 (in two time zones)! 🎉 Register here.
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 65K Get Help
- 443 Global Discussions
- 140 Industry Talk
- 472 Announcements
- 5K Ideas & Feature Requests
- 129 Brandfolder
- 150 Just for fun
- 70 Community Job Board
- 497 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 35 Webinars
- 7.3K Forum Archives