---
title: "Create Rule"
method: POST
path: "/api/v1/master/brands/{brand_id}/rules"
tags: ["master-rules"]
---

# Create Rule

`POST /api/v1/master/brands/{brand_id}/rules`

## Request

- Base URL: `https://teraads.co` (the document declares no server; this is the origin it was published from)
- URL: `https://teraads.co/api/v1/master/brands/{brand_id}/rules`
- Auth: none declared

Create a new smart rule.

## Path parameters

- `brand_id` string, required

## Request body

- RuleCreate
  - `category` string
  - `name` string, required
  - `description` string
  - `conditions` unknown[]
    - unknown
  - `action` object
  - `threshold_source` string
  - `is_active` boolean
  - `grace_period_hours` integer
  - `cooldown_hours` integer
  - `priority` integer

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/teraads/apis/tera-ads-api.md) · [All operations](https://skmtc.dev/teraads/apis/tera-ads-api/llms.txt) · [OpenAPI document](https://skmtc.dev/teraads/apis/tera-ads-api/revisions/fb2526b5cf3c?raw)
