Filters endpoints allow you to review or manage filters. You can define a filter with multiple rules for asynchronous messages. You may have one filter defined per subscription. Learn about filters.
You can retrieve, create, update, or delete filters.
Get subscription filters
Retrieve a list of filter rules applied to the specified subscription. You may only apply one filter to a subscription, but the filter may have multiple rules defined.
- payloadobject
- filtersArray of object
Contains an array of filter instances.
- idstring
Displays the unique ID of the filter.
Format: uuid - filterVersioninteger
Displays the numeric version of the filter. A new filter version is created whenever the filter is modified.
- createdAtstring
Displays a timestamp of when the filter was initially created.
- updatedAtstring
Displays a timestamp of when the filter was last updated.
- versionstring
Displays the API schema version used for this filter instance.
- namestring
Displays the filter's human-readable name.
- organizationIdinteger
Identifies the Redox organization that the filter belongs to.
- environmentIdstring
Identifies the environment that the filter belongs to.
- actionstring
Indicates the action to be performed when the filter rules are met.
Possible Values:send
,block-all
- creatingUserIdinteger
Displays the unique ID of the user that created the filter.
- lastUpdatingUserIdinteger
Displays the unique ID of the user that most recently updated the filter.
- deletedAtstring
Displays a timestamp of when the filter was deleted. If the filter hasn't been deleted, this field is populated with a null value.
- deletingUserIdinteger
Displays the unique ID of the user that deleted the filter. If the filter hasn't been deleted, this field is populated with a null value.
- rulesArray of object
Contains a list of rules that determine when the filter is applied to a message. A filter is only applied if ALL rules are met.
- pathstring
Specifies the path to the field(s) that should be evaluated when the filter is applied. This should be a
jsonpath
value. - valuesArray of string
Contains an array of string values that are matched against the path value when the rule is evaluated.
- allowListboolean
Indicates whether the rule is an allow-list (matches when the value at the specified path is in the values array) or a deny-list (matches when the value at the specified path is NOT in the values array). Defaults to true (allow-list).
- filterLinksArray of object
Contains an array of filter links, which indicate which connection(s), data models, and event types the filter is used for. Usually filters are only used in one place, so this array will usually have just one entry.
- idstring
Displays the unique ID of this filter link.
Format: uuid - createdAtstring
Displays a timestamp of when the filter link was initially created.
- updatedAtstring
Displays a timestamp of when the filter link was last updated.
- versionstring
Displays the API schema version used for this filter link.
- organizationIdinteger
Identifies the Redox organization that the filter link belongs to.
- creatingUserIdinteger
Displays the unique ID of the user that initially created the filter link.
- lastUpdatingUserIdinteger
Displays the unique ID of the user that last updated the filter link.
- dataModelstring
Displays the data model that the filter link is applied to.
- eventTypestring
Displays the specific event type that the filter link is applied to, if any.
- deletedAtstring
Displays a timestamp of when the filter link was deleted. If the filter link hasn't been deleted, this field is populated with a null value.
- deletingUserIdinteger
Displays the unique ID of the user that deleted the filter link. If the filter link hasn't been deleted, this field is populated with a null value.
- destinationIdstring
Displays the unique ID of the destination that the filter link is applied to.
Format: uuid - sourceIdstring
Displays the unique ID of the source that the filter link is applied to.
Format: uuid - filterSettingsIdstring
Displays the unique ID of the filter that is being applied by the filter link.
Format: uuid
- pathTypestring
Specifies the format of the field paths defined for this filter's rules. Both FHIR and data model filters use the
jsonpath
path type.Value:jsonpath