Group channel

Check if user is a member

Checks if a user is a member of a group channel.

Note: See this page to learn more about channel types.

https://sendbird.com/docs/chat/platform-api/v3/channel/listing-users/check-if-user-is-a-member#1-check-if-user-is-a-member

get/v3/group_channels/{channel_url}/members/{user_id}

Request

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

Path parameters

channel_urlstring required

(Required)

user_idstring required

(Required)

Headers

api-tokenstring
Example:{{API_TOKEN}}

Response

Successful response

is_memberboolean
state'invited' | 'joined' | 'none'

Example response

{
  "is_member": true,
  "state": "invited"
}

Changes

    • warning

      deleted the header request parameter Api-Token

    • warning

      added the new invited enum value to the response property for the response status

    • warning

      added the new joined enum value to the response property for the response status

    • warning

      added the new none enum value to the response property for the response status

    • info

      api operation id gcCheckIfMemberById removed and replaced with checkIfMember

    • info

      added the new optional header request parameter api-token

    • info

      the header request parameter Api-Token became optional