Create a filter
Create a filter within a directory
Authentication
AuthorizationToken
Your API key, sent as Authorization: Token <your API key>
Path parameters
directoryId
ID of the directory containing the filter
Request
This endpoint expects an object.
id
type
name
slug
order
parentFilterId
parentFilterSlug
multipleSelectFromDashboard
multipleSelectFromDirectory
userAssignable
displayInDirectory
displayInInternalDirectory
displayInEntryProfile
displayInInternalEntryProfile
displayInEntryProfileMainArea
required
overrides
Visibility rule of the filter, or null when it has none.
assignmentDescription
multipleLimit
isLocation
Whether this is one of the Country, Region and City filters, which visitors pick from as one Location filter.
Response
Details of the filter
name
order
assignmentDescription
multipleSelectFromDashboard
multipleLimit
multipleSelectFromDirectory
userAssignable
displayInDirectory
displayInInternalDirectory
displayInEntryProfile
displayInInternalEntryProfile
displayInEntryProfileMainArea
required
overrides
A filter’s visibility rule, in the same shape as a form field’s overrides: when the conditions are met the filter takes the hidden value, otherwise the opposite one.
Errors
400
Bad Request Error