API HA access error

when i try to connect to API in this way:
http://192.168.1.XX:8123/api/states/light.camera_da_letto_luce_1_170
i received an error:

401: Unauthorized
why?

Thanks

You have to authenticate yourself:

thanks…but im not really good in this. I use TILEBOARD and when i press long tile it’s open a link API but there is an error. I try directly from browser but there is always an error of authentication. i attach the error. Maybe i must add some in configuration.yaml or in config.js of tileboard?
thanks

Did you ever solve this, I get this problem too, though it used to work for me.