Skip to main content
Create or replace a saved filter

Authorizations

token
string
query
required

Standard authorization for most API calls. This token identifies the logged-in user and their permissions. It is obtained either as a temporary token after a successful login or as a long-term API key.

Body

application/json
name
string
required

Name to save the search under. It is also what identifies it, so saving under a name that is already taken replaces that one.

Minimum string length: 1
Example:

"Recent contracts"

q
required

The search itself, as the query the client replays when the filter is picked. It may be sent as an object or as the same thing already written out as text; it is stored as text either way.

Example:
iconClass
string

Icon to show next to the saved search in the navigation.

Minimum string length: 1
Example:

"filter"

Response

The filter was stored.

status
string

Outcome of the operation, reported as a status type constant.

Example:

"SUCCESS"