Skip to navigation

List file uploads

Use this API to retrieve file uploads for the current bot integration, sorted by most recent first.

Headers

Notion-VersionstringRequired

The API version to use for this request. The latest version is <<latestNotionVersion>>.

Query parameters

statusenumOptional

Filter file uploads by specifying the status. Supported values are pending, uploaded, expired, failed.

Allowed values:
start_cursorstringOptional
If supplied, this endpoint will return a page of results starting after the cursor provided. If not supplied, this endpoint will return the first page of results.
page_sizeintegerOptionalDefaults to 100

The number of items from the full list desired in the response. Maximum: 100

Response

200

Errors

400
Bad Request Error