Create a Folder, Upload, and Copy Files
Learn how to create a new folder and upload and copy a file using the Dropbox API.
In this lesson, we’ll start another namespace called files
, and we’ll explore some of its important endpoints. Most of this namespace’s endpoints require us to enable the files.content.write
and files.content.read
permissions.
In this lesson, we’ll learn about the following three endpoint operations:
create_folder_v2
upload
copy_v2
Create a new folder
The /files/create_folder_v2
endpoint creates a new folder at the path specified. It uses an HTTP POST
request and Bearer
authorization.
Request parameters
Let’s take a look at some of the important parameters for our request, their descriptions, and their formats in the table below:
Get hands-on with 1200+ tech skills courses.