User

Get channel invitation preference

Changed on

Get channel invitation preference

This action retrieves a user's group channel invitation preference. Users are subject to both user-specific and application-wide invitation preferences. Of the two, the invitation preference set for a specific user takes precedence over the default channel invitation preference.

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

get/v3/users/{user_id}/channel_invitation_preference

Request

  • Base URL
    https://api-APP_ID.sendbird.com
  • Auth
    none declared

Path parameters

user_idstring required

(Required)

Headers

api-tokenstring
Example:{{API_TOKEN}}

Response

Successful response

auto_acceptboolean

Example response

{
  "auto_accept": true
}

Changes

    • warning

      deleted the header request parameter Api-Token

    • info

      api operation id viewChannelInvitationPreference removed and replaced with getChannelInvitationPreference

    • info

      added the new optional header request parameter api-token

    • info

      the header request parameter Api-Token became optional