---
title: "Register an XMTP topic for mobile push notifications"
method: POST
path: "/xmtp/topics/register"
tags: ["Chat"]
---

# Register an XMTP topic for mobile push notifications

`POST /xmtp/topics/register`

Handles registration of XMTP topics to associate with mobile device tokens to receive push notifications

## 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`

Registration successful

## Other responses

- `403` — Notification 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)
