Get a list of users, filter by "email"

There was an extra slash key in the endpoint. Please correct.

var userId = "USER_ID";
var filterEmail = "[email protected]";

var baseUrl = "https://app.hive.com/api/v1/";
var endpoint = "users";
var qs = "?user_id=" + userId + "&email=" + filterEmail;
var url = baseUrl + endpoint + qs;

$.ajax({
  url: url,
  headers: { api_key: "API_KEY" }
}).done(function(data) {
  console.log(data);
});
Language
Authentication
Response
Click Try It! to start a request and see the response here!