Documents

Get folder items

Retrieve the files and folders within a specified folder.

post/documents/v1/children

Request

  • Base URL
    https://api.mitti.com
  • Auth
    HTTP bearer

Request body

parent_idstring

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.

page_sizeinteger

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

page_tokenstring

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

include_media_urlboolean

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

archivedboolean

If true, only archived files will be returned.

Response

A successful response.

totalinteger

Total number of files and folders that match the search criteria.

next_page_tokenstring

The token used to retrieve the next page of results. Empty if there are no more items.

Changes

No recorded changes to this operation across all 2 revisions of this API.