---
title: "Save Targeting Rules"
method: POST
path: "/api/v2/app/targeting/rules"
tags: ["v2-studio"]
---

# Save Targeting Rules

`POST /api/v2/app/targeting/rules`

## Request

- Base URL: `https://api.getle.ad` (the document declares no server; this is the origin it was published from)
- URL: `https://api.getle.ad/api/v2/app/targeting/rules`
- Auth: none declared

Save the account-wide rules, and decide what happens to what already exists.

Enforcement itself lives in `build_pool()`, which every path to the
warehouse goes through, so saving is enough to bind every future build and
every Autopilot refill. `apply` only decides how far back the rules reach.

## Request body

- RulesRequest
  - `token` string, required
  - `rules` object
  - `apply` string

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/getle/apis/lead-generator-pro-api.md) · [All operations](https://skmtc.dev/getle/apis/lead-generator-pro-api/llms.txt) · [OpenAPI document](https://skmtc.dev/getle/apis/lead-generator-pro-api/revisions/041155e6d905?raw)
