Add things in simple mode

API needs authtentication in openHAB 3.
You will have to generate a token.
Also you may have to edit your proxy (i assume you use a reverse proxy?!) configuration probably.
It can be configured to pass the token header.

nginx example for a probably already fitting solution: