---
title: "Registers an anonymous chat user"
method: POST
path: "/chat/register"
tags: ["Internal", "Chat"]
---

# Registers an anonymous chat user

`POST /chat/register`

## Headers

- `X-Forwarded-User` string

## Request body

- object
  - `displayName` string

## Response `200`

Anonymous user information

- AnonymousUser
  - `id` string
  - `accessToken` string
  - `displayName` string

## Other responses

- `400` — Bad request

## Changes

- **2024-07-02** `618b7ae59cc5` — 1 info
  - endpoint added
- **2021-09-23** `02fef72d775b` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/owncast/apis/owncast-apis/changes/chat/register/post.md)

---

[API](https://skmtc.dev/owncast/apis/owncast-apis.md) · [All operations](https://skmtc.dev/owncast/apis/owncast-apis/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/owncast/owncast-apis/revisions/e2ce1f2fcdfa/schema)
