/documents/v1/children

Use this endpoint to retrieve the files and folders within a specified folder in Documents. When no folder ID is provided, the root folder's children are returned. Results are limited to the items you have access to and are paginated. You can also include temporary media URLs for downloading files and filter results to show only archived files.

Requirements

Body Params

Request to get the children (files and folders) of a specified folder.

Request to get the children (files and folders) of a specified folder.

string

The ID of the folder whose children (files and folders) you want to retrieve.
Leave empty to retrieve the root folder's children.
To get the parent_id, open the folder in the SafetyCulture web app and copy the last part of the URL.

int32

The number of items (files and folders combined) to return.
Max value is 25. Defaults to 25 if not provided.

string

The token to retrieve the next page of results.
Use the value returned in the `next_page_token`` from the previous response.

boolean

If true, includes a temporary media URL for each file so it can be downloaded.

boolean

If true, only archived files will be returned.

Responses

Language
Credentials
Bearer
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json