tweaked group returns
Added ability to send API key via header x-api-key