Skip to main content
Call this API to create a global filter on the specified worksheet of a DingTalk Spreadsheet and define the filter range. This is suitable for scenarios that require record-level filtering of spreadsheet data, such as displaying only data for a specific region or status in a sales report.

API call description

  • After the call succeeds, you can call the API for setting filter criteria to configure filter rules for each column. Records that do not meet the criteria are automatically hidden.
  • Each worksheet can have only one global filter. If a filter already exists, an error is returned.

Request

Basic information

Request header

Path parameter

Query parameter

Request body

Request example

HTTP
Java
Python
PHP
Go
Node.js
C#

Response

Response body

Response body example

Error codes

If an error is returned when you call this API, find the solution in the Global error codes document based on the error message.