medias_fetch_media_content
Fetch lists of files and folders from a GoHighLevel location, supporting filters, sorting, pagination, and fetching all items.
Instructions
Get List of Files/ Folders
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | Yes | Type | |
| altId | No | location Id Defaults to GHL_LOCATION_ID when omitted. | |
| limit | No | Number of files to show in the listing | |
| query | No | Query text | |
| offset | No | Number of files to skip in listing | |
| sortBy | Yes | Field to sorting the file listing by | |
| altType | No | AltType Defaults to GHL_LOCATION_ID when omitted. | |
| fetchAll | No | Fetch all files or folders | |
| parentId | No | parent id or folder id | |
| sortOrder | Yes | Direction in which file needs to be sorted |