---
title: "List block entries"
method: GET
path: "/v1/email/blocks"
tags: ["Email"]
---

# List block entries

`GET /v1/email/blocks`

## Request

- Base URL: `https://api.samva.dev`
- URL: `https://api.samva.dev/v1/email/blocks`
- Auth: API key in header `x-api-key`

Returns block entries, newest first, optionally filtered by block type and active state. Pass `nextCursor` back as `cursor` for the next page; it is null on the last page.

## Query parameters

- `blockType` 'email' | 'domain', nullable
- `isActive` string, nullable
- `limit` string, nullable
- `cursor` string

## Response `200`

BlockPage

- BlockPage
  - `items` object[], required
    - `id` string, required
    - `blockType` 'email' | 'domain', required
    - `blockValue` string, required
    - `reason` string, required
    - `notes` string, nullable, required
    - `isActive` boolean, required
    - `blockCount` integer, required
    - `lastBlockedAt` string, nullable, required
    - `expiresAt` string, nullable, required
    - `createdAt` string, required
  - `nextCursor` string, nullable, required

## Other responses

- `401`: UnauthorizedError
- `403`: ForbiddenError
- `422`: ValidationError
- `500`: InternalError
- `504`: GatewayTimeoutError

---

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