A user API key behaves differently from the API keys described at docs.discourse.org. Instead of supplying it as a GET parameter, you need to send it as a request header.
I just updated the ‘consuming the API’ section of this wiki a couple of days ago, which may be useful to you: