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

    List predefined roles

    Copy link

    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

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

    Response

    Copy link

    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.