I havent tested this but you could just have two web calls
The first one for auth, the second one for he snapshot.
I use Synology Surveillance Station and this is how I have my setup.
When a camera detects motion, I have an action rule to take a series of snapshots and deposit them into a...