public function get($endpoint, $query)
{
$response = $this->http_client->request('GET', "https://api.intercom.io/{$endpoint}", ['query' => $query, 'auth' => $this->getAuth(), 'headers' => ['Accept' => 'application/json']]);
return $this->handleResponse($response);
}