---
title: "Set Filter"
method: POST
path: "/watch_filters/add"
tags: ["filter"]
---

# Set Filter

`POST /watch_filters/add`

## Request body

- AddFilterIn
  - `address` string, required
  - `contract_address` string, nullable
  - `with_approval` boolean, nullable

## Response `200`

Successful Response

- AddFilterOut
  - `filter_id` string, required

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/watchdata/apis/fastapi.md) · [All operations](https://skmtc.dev/watchdata/apis/fastapi/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/watchdata/fastapi/revisions/1f56b91b44f0/schema)
