---
title: "Block an XMTP conversation"
method: POST
path: "/xmtp/topics/block"
tags: ["Chat"]
---

# Block an XMTP conversation

`POST /xmtp/topics/block`

Block the specified XMTP topics and report as spam

## Request body

- SerializedRegistrationPost
  - `ownerAddress` string — Domain owner public wallet address
  - `signedPublicKey` string — XMTP account public key
  - `registrations` SerializedTopicPost[]
    - `accept` boolean — Indicates whether user has accepted the chat request
    - `block` boolean — Indicates whether user is reporting this topic as spam
    - `topic` string — Topic ID to be registered
    - `peerAddress` string — Peer wallet address associated with this conversation
    - `signature` string — Topic ID signed with the XMTP account private key

## Response `200`

Accept successful

## Other responses

- `403` — Accept not authorized
- `404` — Not found

---

[API](https://skmtc.net/unstoppabledomains/apis/messaging-api.md) · [All operations](https://skmtc.net/unstoppabledomains/apis/messaging-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/unstoppabledomains/messaging-api/versions/076f597bfa5f/schema)
