API / 401: Unauthorized

Hi there,
I set up the API in the configuration.yml:
api_password: YOUR_PASSWORD

Then i tried to access the API using POSTMAN or curl with the following calls: is the host of my HASS frontend. And it’s working.

I read several times https://developers.home-assistant.io/docs/en/external_api_rest.html but I can’t manage to make it working.

Do you have any ideas ?

I have the same problem, I always get the 401 Unauthorized message at API call.
Do you have any news or solution?

1 Like