Problems with users API with helix

I found the problem, was missing: curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);