---
title: "Report and block an inbound message"
method: POST
path: "/v1/messages/{id}/report"
tags: ["messages"]
---

# Report and block an inbound message

`POST /v1/messages/{id}/report`

## Request

- Base URL: `https://api.replylayer.ai`
- URL: `https://api.replylayer.ai/v1/messages/{id}/report`
- Auth: HTTP bearer

## Path parameters

- `id` string, required

## Response `200`

Success

- object
  - `already_blocked` boolean, required
  - `already_blocklisted` boolean, required
  - `blocked` boolean, required
  - `message_id` string, required
  - `pattern_type` string, nullable, required
  - `sender_blocklisted` string, nullable, required
  - `state` string, required

## Other responses

- `400`: Validation error
- `401`: Missing or invalid API key
- `403`: Forbidden (code: MAILBOX_ACCESS_DENIED)
- `404`: Not found
- `409`: Conflict
- `422`: Unprocessable entity
- `429`: Rate limited
- `500`: Internal error (code: INTERNAL_ERROR)

---

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