notification.group.create

The notification.group.create command creates a new notification group.

Requires Org-Admin rights.

TR50 Request

{
    "cmd": {
        "command": "notification.group.create",
        "params": {
            "key": "notificationgroup1",
            "name": "Notification Group 1",
            "desc": "A notification group.",
            "public": true
        }
    }
}

Request Parameters

Name Type Required Description
key String Yes The key of the group. This key requires that the first character is a letter.
name String Yes The name of the group.
desc String The description of the group.
public Boolean If the group is public or private. Defaults to false.

TR50 Response

If the command is sent successfully a success message and the id of the newly created notification group is returned. Otherwise, an error and error message will be returned.

{
  "cmd": {
    "success": true,
    "params": {
      "id": "500000000000000000000001"
    }
  }
}