/ Platform API
Platform API
    Chat Platform API v3
    Chat Platform API
    Chat Platform API
    Version 3

    Check if user is a member

    Copy link

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

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


    HTTP request

    Copy link
    GET https://api-{application_id}.sendbird.com/v3/group_channels/{channel_url}/members/{user_id}
    

    Parameters

    Copy link

    The following table lists the parameters that this action supports.

    Required
    Parameter nameTypeDescription

    channel_url

    string

    Specifies the URL of a channel.

    user_id

    string

    Specifies the unique ID of a user.


    Response

    Copy link

    If successful, in the response body, this action returns the is_member property which indicates whether a user is a member of the channel.

    {
        "is_member": true
    }
    
    Property nameTypeDescription

    is_member

    boolean

    Indicates whether the user is a member of the channel.

    In the case of an error, an error object is returned. A detailed list of error codes is available here.