---
title: "Test a block"
method: POST
path: "/v2/blocks/test"
tags: ["Blocks"]
---

# Test a block

`POST /v2/blocks/test`

Evaluates the block configuration against a test payload without persisting any changes. Returns the rendered output and any validation errors.

## Request body

- BlockCheckRequest
  - `list_type` 'CIDR' | 'EMAIL_DOMAIN' | 'NORMALIZED_EMAIL' | 'USER_AGENT', required
  - `value` string, required

## Response `200`

Successful response

- BlockCheckResponse
  - `block_Id` string, nullable, required
  - `result` 'BLACKLISTED' | 'NOT_LISTED' | 'WHITELISTED', required

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `402` — Payment Required
- `403` — Forbidden
- `415` — Unsupported Media Type
- `429` — Too Many Requests

---

[API](https://skmtc.net/extole/apis/integration-api-server-to-extole.md) · [All operations](https://skmtc.net/extole/apis/integration-api-server-to-extole/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/extole/integration-api-server-to-extole/revisions/c16e62e66755/schema)
