I have an automation that sends notification when someone rings the door bell (or other outside event)
Previously I sent the url containing my api_password as follows:
https://<external url>/api/camera_proxy_stream/camera.frontdoor_amcrest?api_password=<api password>
This is what I get if I click on the image and copy the url
https://<external url>/api/camera_proxy_stream/camera.frontdoor?token=<temporary token>
This temporary token changes every few minutes
How can I do this using the Long Lived Token?