A beta version of the new Box developer documentation site is launching soon! Updated Developer Guides, modern API Reference, and AI-powered search are on the way to help you build with Box faster. Stay tuned for more updates.
To restore a file that has been moved to the trash, but has not yet been
purged, make a POST request to the /files/:file_id endpoint. This will
place the file in the original folder if it is still available, or you
optionally can specify a parent folder.