Application authorization

    Chemaxon Cloud provides /api/groups endpoint where applications can send an HTTP GET request to receive the list of available user groups within team. Request has to be authenticated using JWT token header (see Application authentication page) either for current user or service itself.

    {warning} Mapping of team groups provided by Chemaxon Cloud to application roles is a responsibility of application.

    {info} Interactive API documentation is available at: https://team1.cloud.chemaxon.com/api/swagger-ui/swagger-ui/index.html#/application-integration-api-controller/listGroups

    {info} Note: To try out, change team1 to your subdomain and log in to that.

    Example

    GET /api/groups
    [
      {
        "id": 37,
        "realm": 33,
        "memberIds": [56],
        "groupName": "TEAM_ADMIN",
        "isTeamAdminGroup": true
      },
      {
        "id": 38,
        "realm": 33,
        "memberIds": [],
        "groupName": "RESEARCHERS",
        "isTeamAdminGroup": false
      },
      {
        "id": 39,
        "realm": 33,
        "memberIds": [],
        "groupName": "GUESTS",
        "isTeamAdminGroup": false
      }
    ]