Skip to main content
Version: 2021-04-15

Search Object Records

POST 

/objects/:schemaKey/records/search

Supported Objects are custom objects and standard objects like "business". Documentation Link - https://doc.clickup.com/8631005/d/h/87cpx-277156/93bf0c2e23177b0/87cpx-379336

Request​

Version stringrequired

API Version

Available options2021-04-15
schemaKey stringrequired

The key of the Custom Object / Standard Object Schema. For custom objects, the key must include the “custom_objects.” prefix; standard objects use their own key, e.g. business.email for a company’s email.

application/json

Bodyrequired

    locationIdstringrequired

    Location Id

    pagenumber

    Page. Optional when using cursor pagination (searchAfter)

    pageLimitnumberrequired

    Page Limit

    querystringrequired

    Pass this query parameter to search using your searchable properties. For example, if you have a custom object called “Pets” and have configured “name” as a searchable property, you can pass name:Buddy to search for pets with the name “Buddy.”

    searchAfterstring[]required

    Cursor for paginating through search results using the last sort value from the previous page

    modestring

    Search mode. assigned_to_me returns tasks assigned to the caller within the caller's accessible-list set. Requires an authenticated user context.

    Available optionsassigned_to_me
application/json

Successful response

Schema
    recordsobject[]

    Records matching the search query

    totalnumberrequired

    Total Number of records

    aggregationsobject

    Aggregation results