Create, List, and Get File Requests

Learn how to create, list, and get the total number of file requests.

In this lesson, we’ll see some important endpoints of the file_requests namespace. These endpoints require us to enable the file_requests.read and file_requests.write permissions. We’ll discuss the following endpoint operations:

  • create
  • list
  • count

Create a file request

We’ll first explore the /file_requests/create endpoint. It initiates a request to create a file for the user whose access token is being passed in the request’s headers parameter. This is an HTTP POST request.

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.