How to authenticate for Rest-API to access things via myopenHAB?

Hey guys,
when I try the request “” and authenticate with maildress and password, I get a valid response.
But the “things”-endpoint (in my understanding) is only accessible with an API-Token.

How do I build my request to forfill both (mail+pw and token) authentications at once?


This works for my private cloud:

curl -X 'GET' \
  '' \
--user  '' \
  -H 'accept: application/json' \
  -H 'X-OPENHAB-TOKEN: oh.testdeletelater.ABwhfj5x5BT1i7QKzIhgRoxVXYZilzMaX0qDtueVox6W6W2fA06gGwJhDZePDQMQytVkAoobst9ndWiztmmg'
1 Like

Thanks Wolfgang!

1 Like