---
title: "List inbound allow/block rules"
method: GET
path: "/email-rules"
tags: ["Email Rules"]
---

# List inbound allow/block rules

`GET /email-rules`

## Request

- Base URL: `https://sending.dev/api/v1`
- URL: `https://sending.dev/api/v1/email-rules`
- Auth: HTTP bearer

Required scope: `inbox:read`. (`inbox:*` scope cannot be assigned from the UI: it requires a full-access `*` key).

## Response `200`

Workspace rules.

- EmailRuleList
  - `rules` EmailRule[], required
    - `id` string, uuid, required
    - `action` string, required
    - `matchType` string, required
    - `value` string, required
    - `note` string, nullable
    - `createdAt` string, date-time

## Other responses

- `401`: Missing or invalid token.
- `403`: Insufficient scope.

---

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