---
title: "Get private messages token"
method: GET
path: "/private-messages/token"
tags: ["Private Messages"]
---

# Get private messages token

`GET /private-messages/token`

Generates a LiveKit token for accessing private messages.
This endpoint checks user privacy settings and generates appropriate credentials.
Requires Signed Fetch authentication from dcl:explorer.
Must include the complete identity header chain: x-identity-auth-chain-0, x-identity-auth-chain-1, x-identity-auth-chain-2, x-identity-timestamp, and x-identity-metadata.

## Response `200`

Private messages token generated successfully

- object
  - `adapter` string, required — LiveKit connection URL for private messages

## Other responses

- `401` — Unauthorized - Invalid authentication or blacklisted user
- `500` — Internal server error

---

[API](https://skmtc.net/decentraland/apis/realm-provider-api.md) · [All operations](https://skmtc.net/decentraland/apis/realm-provider-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/decentraland/realm-provider-api/revisions/d94e0e0f1821/schema)
