Chat / Platform API
Current version: v3
    Chat Platform API v3
    Chat Platform API
    Chat
    Platform API
    Home
    /
    Chat
    /
    Platform API
    /
    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.


    HTTP request

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

    Parameters

    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

    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.