get https://app.hive.com/api/v1/users
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);
});