Example: http://192.168.1.100:8090/ By default, the API is open on your local network. For remote access, use a VPN or reverse proxy with authentication. Do not expose port 8090 directly to the public internet. Authentication (If Enabled) If you have set a username/password in Agent DVR, you must include it with every API call.
curl "http://localhost:8090/video/2/record?1" And when it closes 30 seconds later: agentdvr api
http://YOUR_AGENT_IP:8090/
Always test new commands on a non-critical camera first, and never expose the API raw to the internet. Have a specific integration in mind? Visit the iSpyConnect user forum—the community has already solved most API puzzles. Example: http://192
import requests snapshot = requests.get("http://localhost:8090/video/1/snapshot") bot_token = "YOUR_BOT_TOKEN" chat_id = "YOUR_CHAT_ID" files = "photo": ("alert.jpg", snapshot.content) requests.post(f"https://api.telegram.org/botbot_token/sendPhoto?chat_id=chat_id", files=files) Using Node-RED or ESPHome: when a magnetic door sensor opens, send: Authentication (If Enabled) If you have set a