Issues getting a pin working correctly

1) I made a developer account
2) I created a new app with a Pin based authentication https://s13.postimg.org/6a63yrjh3/Scr...
3) I tried to use curl to get my pin:

curl -X GET 'https://api.ecobee.com/1/authorize?re...'

I'm getting the response:

{
"status": {
"code": 1,
"message": "Authentication failed. Token is required."
}
}

Am i missing something?
1 person has
this problem
+1
Reply