---
title: "Create sender block rule"
method: POST
path: "/api/sender-rules"
tags: ["Sender Rules"]
---

# Create sender block rule

`POST /api/sender-rules`

## Request

- Base URL: `https://arc-relay.com`
- URL: `https://arc-relay.com/api/sender-rules`
- Auth: HTTP bearer

## Request body

- object
  - `sender_pattern` string, required
  - `action` 'block', required
  - `domain_id` string, uuid

## Response `200`

Rule created

---

[API](https://skmtc.dev/arc-relay/apis/arc-relay-api.md) · [All operations](https://skmtc.dev/arc-relay/apis/arc-relay-api/llms.txt) · [OpenAPI document](https://skmtc.dev/arc-relay/apis/arc-relay-api/revisions/1743ed2c49bc?raw)
