The Dropbox API supports characters in the Unicode Basic Multilingual Plane for naming files and folders. Attempting to create files or folders with characters outside the Unicode Basic Multilingual Plane, such as emoji, will fail.
You can find information on how to properly encode characters when uploading/downloading via the API on this reference page.
I also recommend reviewing this help article which covers general guidelines and restrictions for naming files and folders on Dropbox.