Filter endpoints allow you to review and manage filters for async messages. A filter can contain multiple rules, but you can only create one filter per subscription. Learn about filters.
You can retrieve, create, update, or delete filters.
Beta users may also use the endpoints for reviewing and managing filter links.
Get environment filters (beta)
Retrieve a list of existing filters for a specific environment within a Redox organization. You can only retrieve a list from one environment per query.
cURL request example
Path Parameters
- filterIdrequired, string
Displays the unique identifier of the filter.
Query Parameters
- _pagenumber
Indicates a specific page of results to return. This value typically comes from a previous response's
page
object. - _countnumber
Defines the number of results to return per page. The maximum value per page is 50.
- namestring
Specifies the name of the filter. This can be a partial name.
- connectionIdstring
Specifies the unique identifier of the connection where the filter is linked.
- dataModelstring
Identifies the Redox data model or FHIR resource that the filter is linked to.
- sourceIdstring
Specifies the unique identifier of the source that the filter is linked to.
- destinationIdstring
Specifies the unique identifier of the destination that the filter is linked to.
- showDeletedboolean
Indicates that any previously deleted filters (including older versions of filters) should be included in the query response.
- metaobject
Contains metadata about paginated results of returned data.
- versionstring
Lists the major and minor version number for the format of the returned payload. The payload format or shape may change between minor versions, like including additional or extended fields in later versions. We include the version data in each response so that you have the option to handle the signaled differences.
- linksobject
- selfstring
Links to the current page of results.
- nextstring
Links to the next page of results.
- prevstring
Links to the previous page of results, which returns the page based on the current page you're on.
- firststring
Links to the first page of results.
- laststring
Links to the last page of results.
- totalRecordsnumber
Specifies the total number of records across all pages for the result set.
- currentPagenumber
Specifies the current page number.
- pageTypestring
Describes the pagination algorithm.
Value:offest
- pageSizenumber
Describes the number of records included in each page of the current result set.
- payloadobject
- filtersArray of object
Contains an array of filters.
- idstring
Contains the unique identifier of the asset.
Format: uuid - namestring
Contains the human-readable name of the asset.
- 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).
- usageArray of object
Contains details about where the filter is being used.
- linkIdstring
Contains the unique identifier of the link for a specified asset.
Format: uuid - organizationobject
Describes the Redox organization that the asset belongs to.
- idnumber
Contains the unique identifier of the Redox organization.
- namenullable, string
Contains the human-readable name of the Redox organization.
- connectingOrganizationobject
Specifies the organization the asset is connected to when the subscription relates to a partner organization.
- idnumber
Contains the unique identifier of the Redox organization.
- namenullable, string
Contains the human-readable name of the Redox organization.
- subscriptionobject
- idstring
Contains the unique identifier of the subscription.
Format: uuid - dataModelstring
Specifies the Redox data model that the link applies to or should apply to.
- sourceobject
Specifies the source of the subscription that an asset is or should be linked to.
- idrequired, string
Contains the unique identifier of the source.
Format: uuid - namenullable, string
Specifies the name of the source.
- destinationobject
Specifies the destination of the subscription that an asset is or should be linked to.
- idrequired, string
Contains the unique identifier of the destination.
Format: uuid - namenullable, string
Specifies the name of the destination.
- filterIdstring
Contains the unique identifier of the asset being linked.
Format: uuid - versionstring
Contains the API schema version used for this asset.
- eventTypenullable, string
Specifies the specific event type for a data model that the link applies to or should apply to.
- createdAtstring
Displays the date and time that the asset was originally created in ISO 8601 format.
- createdByobject
Contains the metadata about the user who created the asset.
- idnumber
Contains the unique identifier of the user.
- namenullable, string
Displays the user's full name.
- updatedAtstring
Displays the date and time that the asset was last updated in ISO 8601 format.
- updatedByobject
Contains the metadata about the user who last updated the asset.
- idnumber
Contains the unique identifier of the user.
- namenullable, string
Displays the user's full name.
- deletedAtnullable, string
Displays the date and time that the asset was deleted. Returns a
null
value if the asset hasn't been deleted. - deletedBynullable, object
Contains the metadata about the user who deleted the asset.
- idnumber
Contains the unique identifier of the user.
- namenullable, string
Displays the user's full name.
- actionstring
Defines what action should be performed when the filter is applied to a message.
Possible Values:block-all
,send
- 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
- versionstring
Contains the API schema version used for this asset.
- filterVersionnumber
Contains the numeric version of the asset. Version numbers start at 1 and increment in whole numbers whenever the asset is updated.
- createdAtstring
Displays the date and time that the asset was originally created in ISO 8601 format.
- createdByobject
Contains the metadata about the user who created the asset.
- idnumber
Contains the unique identifier of the user.
- namenullable, string
Displays the user's full name.
- updatedAtstring
Displays the date and time that the asset was last updated in ISO 8601 format.
- updatedByobject
Contains the metadata about the user who last updated the asset.
- idnumber
Contains the unique identifier of the user.
- namenullable, string
Displays the user's full name.
- deletedAtnullable, string
Displays the date and time that the asset was deleted. Returns a
null
value if the asset hasn't been deleted. - deletedBynullable, object
Contains the metadata about the user who deleted the asset.
- idnumber
Contains the unique identifier of the user.
- namenullable, string
Displays the user's full name.
- environmentobject
Describes the Redox environment that the asset belongs to.
- idstring
Contains the unique identifier of the Redox environment.
Format: uuid
- organizationobject
Describes the Redox organization that the asset belongs to.
- idnumber
Contains the unique identifier of the Redox organization.
- namenullable, string
Contains the human-readable name of the Redox organization.