Create, List, and Get File Requests

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

In this lesson, we’ll see some of the important endpoints of the file_requests namespace. These endpoints require us to enable the 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, so let’s see its parameters in the table below.

Request parameters

The various parameters required for a request are outlined in the table below.

Get hands-on with 1200+ tech skills courses.