---
title: "Create a new saved datapoint's filter"
method: POST
path: "/data-points/filters"
tags: ["Data Point Filters"]
---

# Create a new saved datapoint's filter

`POST /data-points/filters`

Creates a new DataPointFilter

## Request body

- object — Data Point Filter Model
  - `name` string, required — The filter name
  - `shared` boolean — Defines if the filter is shared or not
  - `directories` string[] — The list of directories for which the dataPoints should be filtered
  - `countries` string[] — The list of countries for which the dataPoints should be filtered
  - `dataPointTypes` string[] — The list of data point types (REVIEW or PHOTO) for which the dataPoints should be filtered
  - `ratings` integer[] — The list of ratings (1, 2, 3, 4 or 5) for which the dataPoints should be filtered
  - `labels` string[] — The list of labels for which the dataPoints should be filtered
  - `isRead` boolean — Flag to set when only datapoints should be shown that the current user already read
  - `hasReply` boolean — Flag to set when only datapoints with a reply should be shown
  - `hasText` boolean — Flag to set when only datapoints with text should be shown
  - `query` string — Any combination of words that should be checked in the dataPoints text, reply messages and author
  - `frequency` 'ALWAYS' | 'DAILY' | 'WEEKLY' | 'MONTHLY' | 'QUARTERLY' | 'NEVER' — The frequency of the email notifications.
  - `timeSpan` 'TODAY' | 'LAST_7_DAYS' | 'LAST_14_DAYS' | 'LAST_30_DAYS' | 'LAST_90_DAYS' | 'LAST_365_DAYS' | 'ALL_TIME' — The date range for which the dataPoints should be filtered.
  - `crossfeedFilterId` integer — The id of a filter saved by a user in the Feed
  - `businessIds` integer[] — The list of businesses IDs for which the dataPoints should be filtered
  - `dateEnd` string, date-time — The maximum date for which the dataPoints should be filtered
  - `dateStart` string, date-time — The minimum date for which the dataPoints should be filtered
  - `ownerId` integer — The id of the user that owns the filter
  - `ownerName` string — The name of the user that owns the filter
  - `salesPartnerId` integer — The sales partner to which the filter belongs
  - `subscriberIds` integer[] — The list of user's ids that are subscribed to the filter

## Response `200`

Success

## Other responses

- `400` — Bad Request - The request was invalid or cannot be otherwise served
- `401` — Unauthorized - Authentication credentials are missing or invalid
- `403` — Forbidden - The request is understood, but has been refused or access is not allowed
- `404` — Not Found - The requested resource could not be found
- `409` — Conflict - The request conflicts with current state of the server

---

[API](https://skmtc.dev/uberall/apis/uberall-api.md) · [All operations](https://skmtc.dev/uberall/apis/uberall-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/uberall/uberall-api/revisions/4e616f3c34a4/schema)
