---
title: "Add Avoid Expression"
method: POST
path: "/api/resonance/voice-dna/learned-rules/add-avoid"
tags: ["Resonance Engine"]
---

# Add Avoid Expression

`POST /api/resonance/voice-dna/learned-rules/add-avoid`

## Request

- Base URL: `https://api.soeru.biz` (the document declares no server; this is the origin it was published from)
- URL: `https://api.soeru.biz/api/resonance/voice-dna/learned-rules/add-avoid`
- Auth: none declared. Required headers: `authorization`

Manually add an expression to the avoids list.

Master-write model: if the shop is synced from another, the avoid is
added to the master shop so it propagates to the whole Voice Link group.

## Headers

- `x-shop-id` string, nullable: Optional shop ID
- `authorization` string, required: Bearer <token>

## Request body

- UpdateLearnedRuleRequest: Update or delete a specific learned rule.
  - `action` string, required
  - `instruction` string, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/soeru/apis/soeru-api.md) · [All operations](https://skmtc.dev/soeru/apis/soeru-api/llms.txt) · [OpenAPI document](https://skmtc.dev/soeru/apis/soeru-api/revisions/63f8d371abed?raw)
