api - addwebhook

The Netatmo API is a set of webservices allowing developers and third parties to access Netatmo device's data.
Post Reply
syepes
Posts: 2
Joined: 02 Dec 2013, 22:57

api - addwebhook

Post by syepes » 23 Jan 2020, 14:12

Hello,

I am trying to add a WebHook to my application using the API and I am getting the following error:

# curl -X POST "https://api.netatmo.com/api/addwebhook? ... b.com/xxxx" -H "accept: application/json" -H "Authorization: Bearer ZYX"
{"error":{"code":13,"message":"Cannot add webhook for netatmo access level apps"}}

Does someone know what this error means and how to resolve it?

Céline
Posts: 48
Joined: 20 Nov 2017, 18:17

Re: api - addwebhook

Post by Céline » 29 Jan 2020, 11:53

Hi,

How did you get the access_token you're using in the curl ?
Did you get it through a normal authentification (with an dev app you created on dev.netatmo.com) ?

Céline
Céline - Netatmo Team :D

Post Reply

Return to “Netatmo API”