The Dropbox API doesn't currently offer a way to create shortcuts like this programmatically, but I'll pass this along as a feature request. I can't promise if or when that might be implemented though.
(Just uploading the same kind of JSON as the API would export won't work; Dropbox itself needs to specially set it as a shortcut. That's not something currently available to do via the API.)
We love to learn from the educators who use Dropbox. Whether you teach kids, teens, adults or a combination of all three, we want to know what apps and integrations you use with Dropbox to help with teaching. Which of the ones below is your favorite, or most used tool?