I’m trying to configure API access to home assistant. But I’m getting 403 forbidden all the time. What I did:
- Added “api:” to configuration.yaml - not sure if this is enough, and documentation is kinda vague.
- Generated long-lived access token in Profile/Security.
- Executed on machine running HA following command:
curl -H “Authorozation: Bearer eyJh…” -H “Content-Type: application/json” http://localhost:8123/api/
And the result is constantly 403.
I’ve checked ip_bans.yaml but my IP is not blocked.
What I’m missing?