code: public String get_webhooks(Map<String, String> data) {
          String is_plat = data.get("is_plat");
          String url;
          if (EMPTY_STRING.equals(is_plat)) {
              url = "webhook/";
          }
          else {
              url = "webhook/is_plat/" + is_plat + "/";
          }
          return get(url, EMPTY_STRING);
      }
docs: /*
  To retrieve details of all webhooks.
  @param {Object} data contains json objects as a key value pair from HashMap.
  @options data {String} is_plat: Flag to get webhooks. Possible values – 0 & 1. Example: to get Transactional webhooks, use $is_plat=0, to get Marketing webhooks, use $is_plat=1, & to get all webhooks, use $is_plat="" [Optional]