The API does not support directly exporting the video. The link it sends is for authenticated users only, hence why it sends you to the dashboard. You could use the share link, but you would need to hardcode user credentials into the script to access it. I think it is going to be more complicated than its worth. That being said you can export the video from the dashboard to a mp4 video file. https://documentation.meraki.com/MV/Processing_Video/Sharing_Video
... View more