getting a Auth token


valcos
 

I'm trying to get an auth token to fetch data from the API. I'm following the instructions here: https://groups.io/api#authentication-1 however when I execute the command:
$ curl "https://api.groups.io/v1/login" -u <my-username>: -d "email=<my-email>&password=<my-pwd>"
I get:
{"object":"error","type":"unauthorized","extra":""}
What I'm doing wrong?

Cheers,
Valerio
 
 

Join api@beta.groups.io to automatically receive all group messages.