Skip to content

Search folders

Request

Security
bearerAuth and apiKeyAuth
Bodyapplication/jsonrequired
querystring
folderIdsArray of strings
includeFolderboolean
assetClassesArray of strings(AssetClass)
Items Enum:"LOCATION_ACCOUNT""SYSTEM_USER_PAGE_ASSIGNMENT_REPORT""ACCOUNT_VIA_LINK""GUEST_USER""OAUTH_TOKEN""OAUTH_REFRESHABLE_TOKEN""OAUTH_API_USER""DISTRIBUTED_ASSET_GROUP""CLIENT_GROUP""CUSTOM_FIELD_GROUP"
excludeAssetClassesArray of strings(AssetClass)
Items Enum:"LOCATION_ACCOUNT""SYSTEM_USER_PAGE_ASSIGNMENT_REPORT""ACCOUNT_VIA_LINK""GUEST_USER""OAUTH_TOKEN""OAUTH_REFRESHABLE_TOKEN""OAUTH_API_USER""DISTRIBUTED_ASSET_GROUP""CLIENT_GROUP""CUSTOM_FIELD_GROUP"
moduleTypesArray of strings
sortListArray of objects(SearchRequestSort)
rangeConditionListArray of objects(Condition)
scopestring
autoCompleteboolean
rowsinteger, (int32)
startinteger, (int32)
filtersArray of objects(Filter_request)
includeAssetCountboolean
includeColorTagsboolean
assetFiltersArray of objects(Filter_request)
ignoreFolderChildShareToggleboolean
resolveUserFavouriteInfoboolean
considerSecondaryUsersForPermissionboolean
curl -i -X POST \
  https://api3.sprinklr.com/prod/api/v3/folder/search \
  -H 'Authorization: Bearer <YOUR_Token_HERE>' \
  -H 'Content-Type: application/json' \
  -H 'Key: YOUR_API_KEY_HERE' \
  -d '{
    "query": "string",
    "folderIds": [
      "string"
    ],
    "includeFolder": true,
    "assetClasses": [
      "LOCATION_ACCOUNT"
    ],
    "excludeAssetClasses": [
      "LOCATION_ACCOUNT"
    ],
    "moduleTypes": [
      "string"
    ],
    "sortList": [
      {
        "key": "string",
        "order": "string"
      }
    ],
    "rangeConditionList": [
      {
        "fieldName": "string",
        "start": 0.1,
        "end": 0.1
      }
    ],
    "scope": "string",
    "autoComplete": true,
    "rows": 0,
    "start": 0,
    "filters": [
      {
        "displayName": "string",
        "isCompoundFilter": true,
        "negativeFilter": true,
        "filterType": "FILTER",
        "field": "string",
        "values": [
          {}
        ],
        "accessibleValues": [
          {}
        ],
        "userFilter": true,
        "allValuesAllowed": true,
        "lockedWithValues": true,
        "hidden": true,
        "favourite": true,
        "mandatory": true,
        "locked": true,
        "ignoreAddingToDimensionFilter": true,
        "disabled": true,
        "details": {
          "property1": {},
          "property2": {}
        },
        "filters": [
          {}
        ],
        "advancedFilters": [
          {
            "filter": "string",
            "fieldInfo": {
              "property1": {
                "name": "string",
                "label": "string",
                "type": "LONG",
                "fieldType": "string",
                "header": "string"
              },
              "property2": {
                "name": "string",
                "label": "string",
                "type": "LONG",
                "fieldType": "string",
                "header": "string"
              }
            },
            "valueInfo": {
              "property1": {},
              "property2": {}
            },
            "type": "POST",
            "field": "string",
            "details": {
              "property1": {},
              "property2": {}
            },
            "label": "string",
            "value": "string",
            "additional": {
              "property1": {},
              "property2": {}
            }
          }
        ]
      }
    ],
    "includeAssetCount": true,
    "includeColorTags": true,
    "assetFilters": [
      {
        "displayName": "string",
        "isCompoundFilter": true,
        "negativeFilter": true,
        "filterType": "FILTER",
        "field": "string",
        "values": [
          {}
        ],
        "accessibleValues": [
          {}
        ],
        "userFilter": true,
        "allValuesAllowed": true,
        "lockedWithValues": true,
        "hidden": true,
        "favourite": true,
        "mandatory": true,
        "locked": true,
        "ignoreAddingToDimensionFilter": true,
        "disabled": true,
        "details": {
          "property1": {},
          "property2": {}
        },
        "filters": [
          {}
        ],
        "advancedFilters": [
          {
            "filter": "string",
            "fieldInfo": {
              "property1": {
                "name": "string",
                "label": "string",
                "type": "LONG",
                "fieldType": "string",
                "header": "string"
              },
              "property2": {
                "name": "string",
                "label": "string",
                "type": "LONG",
                "fieldType": "string",
                "header": "string"
              }
            },
            "valueInfo": {
              "property1": {},
              "property2": {}
            },
            "type": "POST",
            "field": "string",
            "details": {
              "property1": {},
              "property2": {}
            },
            "label": "string",
            "value": "string",
            "additional": {
              "property1": {},
              "property2": {}
            }
          }
        ]
      }
    ],
    "ignoreFolderChildShareToggle": true,
    "resolveUserFavouriteInfo": true,
    "considerSecondaryUsersForPermission": true
  }'

Responses

Success

Bodyapplication/json
dataobject
errorsArray of objects(Error)
metadataobject(ResponseMetadata)
Response
{ "data": {}, "errors": [ { … } ], "metadata": {} }