---
title: "Update channel invitation preference"
method: PUT
path: "/v3/users/{user_id}/channel_invitation_preference"
tags: ["User"]
---

# Update channel invitation preference

`PUT /v3/users/{user_id}/channel_invitation_preference`

## Request

- Base URL: `https://api-APP_ID.sendbird.com`
- URL: `https://api-APP_ID.sendbird.com/v3/users/{user_id}/channel_invitation_preference`
- Auth: none declared

## Update channel invitation preference

This action updates a user's [group channel](https://sendbird.com/docs/chat/platform-api/v3/channel/channel-overview#2-channel-types-3-group-channel) invitation preference. Updating the [application's default channel invitation preference](https://sendbird.com/docs/chat/platform-api/v3/channel/setting-up-channels/update-default-invitation-preference) won't override existing users' individual channel invitation preferences. The changed preference only affects the users created after the update.

https://sendbird.com/docs/chat/platform-api/v3/channel/managing-a-channel/update-channel-invitation-preference#1-update-channel-invitation-preference

## Path parameters

- `user_id` string, required

## Headers

- `api-token` string

## Request body

- UpdateChannelInvitationPreferenceRequest
  - `auto_accept` boolean

## Response `200`

Successful response

- UpdateChannelInvitationPreferenceResponse
  - `auto_accept` boolean

## Changes

- **2025-07-27** `7a85bad03e90`: 1 warning, 2 info
  - deleted the `header` request parameter `Api-Token`
  - added the new optional `header` request parameter `api-token`
  - the request property `auto_accept` became optional
- **2023-11-10** `135d8b0705d4`: 1 info
  - the `header` request parameter `Api-Token` became optional
- **2022-02-16** `c42164095c7c`: 1 breaking
  - the `header` request parameter `Api-Token` became required

[Operation history](https://skmtc.dev/sendbird/apis/sendbird-platform-sdk/changes/v3/users/:user_id/channel_invitation_preference/put.md)

---

[API](https://skmtc.dev/sendbird/apis/sendbird-platform-sdk.md) - [All operations](https://skmtc.dev/sendbird/apis/sendbird-platform-sdk/llms.txt) - [OpenAPI document](https://skmtc.dev/sendbird/apis/sendbird-platform-sdk/revisions/9e53a5288df0?raw)
