Authentication

To send requests to the REST API, you must authenticate yourself. A token is used for this purpose, which you will receive once you make a successful login attempt via the REST API.

  • Send a POST request to the following address: "http://[evon Smart Home_IP]/login", with this header parameters:
    • x-elocs-username: [Username]
    • x-elocs-password: [Hash]

You will receive a token 'x-elocs-token' as a response, which will automatically be set as a cookie. This token will now be used as an authentification for all further requests.

Depending on from where you are sending your requests, the cookie will automatically be used. Otherwise, you will have to add the token to the header of every request 'Cookie:token=[Token]'.