Chat / Platform API
Current version: v3
    Chat Platform API v3
    Chat Platform API
    Chat
    Platform API
    Home
    /
    Chat
    /
    Platform API
    /
    Organization

    List predefined roles

    Retrieves a list of predefined roles which are provided by default in an organization. It's also referred to as SYSTEM ROLE on the Sendbird Dashboard.


    HTTP request

    GET https://gate.sendbird.com/api/v2/organization_members/predefined_roles
    

    Response

    If successful, this action returns a list of predefined roles in the response body.

    [
        "OWNER",
        "ADMIN",
        "BILLING",
        "DESK_ADMIN",
        "DESK_AGENT",
        "CALL_USER",
        "DEFAULT"
    ]
    

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