Skip to main content
Saved Filters

Create a saved filter

Creates a saved filter. criteria takes the filter's fields, in the shape GET /saved-filters/{kind} returns. Needs a key with the sparrow.write scope.

POST
/saved-filters/{kind}
Authorizationstringheaderrequired

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

kindenum<string>required

Which saved filters: conversation, review or prediction.

Available options: conversation, review, prediction

Body

application/json
criteriaobject

Filter fields to set, such as {"ApplyStatusFilter": true, "StatusOpen": true}. GET /saved-filters/{kind} shows the fields.

namestringrequired

Filter name, up to 200 characters.

Response

application/json

Success

dataany
metaobject