---
title: "Update a Chat Room Invitation"
method: PATCH
path: "/{id}/"
---

# Update a Chat Room Invitation

`PATCH /{id}/`

## Request

- Base URL: `https://cf-blast.livelikecdn.com/api/v1/chat-room-invitations`
- URL: `https://cf-blast.livelikecdn.com/api/v1/chat-room-invitations/{id}/`
- Auth: none required

For accepting/rejecting invitation sent by user

## Path parameters

- `id` string, required

## Headers

- `Authorization` string

## Request body

- object
  - `status` string: accepted or rejected

## Response `200`

200

- object
  - `id` string
  - `url` string
  - `created_at` string
  - `status` string
  - `invited_profile` object
    - `id` string
    - `url` string
    - `created_at` string
    - `nickname` string
    - `custom_data` unknown
    - `points` integer
    - `badges` unknown[]
      - unknown
    - `badges_url` string
    - `badge_progress_url` string
    - `subscribe_channel` string
    - `reported_count` integer
    - `chat_room_memberships_url` string
  - `chat_room` object
    - `id` string
    - `url` string
    - `client_id` string
    - `title` string
    - `created_at` string
    - `content_filter` string
    - `visibility` string
    - `channels` object
      - `chat` object
        - `sendbird` unknown
        - `pubnub` string
      - `reactions` object
        - `pubnub` string
      - `control` object
        - `pubnub` string
    - `report_message_url` string
    - `reported_messages_url` string
    - `delete_message_url` string
    - `upload_url` string
    - `memberships_url` string
    - `muted_status_url_template` string
    - `custom_messages_url` string
    - `sticker_packs_url` string
    - `reaction_packs_url` string
    - `custom_data` unknown
    - `sponsors_url` string
  - `invited_by` object
    - `id` string
    - `url` string
    - `created_at` string
    - `nickname` string
    - `custom_data` unknown
    - `points` integer
    - `badges` unknown[]
      - unknown
    - `badges_url` string
    - `badge_progress_url` string
    - `subscribe_channel` string
    - `reported_count` integer
    - `chat_room_memberships_url` string
  - `chat_room_id` string
  - `invited_profile_id` string

## Other responses

- `400`: 400
- `403`: 403
- `409`: 409

---

[API](https://skmtc.dev/livelike/apis/chat-room-invitations.md) - [All operations](https://skmtc.dev/livelike/apis/chat-room-invitations/llms.txt) - [OpenAPI document](https://skmtc.dev/livelike/apis/chat-room-invitations/revisions/0353a59ab321?raw)
