---
title: "Create a Chat Room Membership"
method: POST
path: "/{id}/memberships/"
---

# Create a Chat Room Membership

`POST /{id}/memberships/`

## Path parameters

- `id` string, required

## Request body

- object
  - `profile_id` string — profile_id field must be null if you want to join the chatroom, if profile_id field is provided then that profile will be added to the chatroom provided the user who is adding is already a member of that chatroom

## Response `201`

201

- object
  - `id` string
  - `url` string
  - `created_at` string
  - `profile` object
    - `id` string
    - `url` string
    - `created_at` string
    - `nickname` string
    - `custom_data` string
    - `badges` unknown[]
      - unknown
    - `badges_url` string
    - `subscribe_channel` string
    - `reported_count` integer
    - `chat_room_memberships_url` string

## Other responses

- `400` — 400
- `403` — 403
- `409` — 409

---

[API](https://skmtc.net/livelike/apis/engagement-suite.md) · [All operations](https://skmtc.net/livelike/apis/engagement-suite/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/livelike/engagement-suite/versions/f3171d1c30f7/schema)
