MV API Video Link

Solved
jturbo
New here

MV API Video Link

 

I Hi,  New to working with the Meraki API.

 

Im trying to use Zapier to Take a Motion Alert and then SMS a link to the video camera.

 

In Zapier, im sending a GETwith the following URL :

 

 
Zap is substituting the deviceSerial from the webhook into the URL, however I am getting a 404 error.
 
Snapshot is working, so im not quite sure what I am doing wrong.
 
Does the above URL look correct?
 
Also,  can someone post a URL sample that is using the timestamp parameter.   Im not sure how to include that in the string. 
1 Accepted Solution
jturbo
New here

 

Looks like the sample URL was incorrect.   Here is the correct format : 

 

https://api.meraki.com/api/v0/networks/[networkId]/cameras/[serial]/videoLink

 

I would still like to understand how to use the timestamp parameter with zapier, if anyone knows.

 

Thanks!

View solution in original post

2 Replies 2
jturbo
New here

 

Looks like the sample URL was incorrect.   Here is the correct format : 

 

https://api.meraki.com/api/v0/networks/[networkId]/cameras/[serial]/videoLink

 

I would still like to understand how to use the timestamp parameter with zapier, if anyone knows.

 

Thanks!

BrechtSchamp
Kind of a big deal


@jturbo wrote:

 

I would still like to understand how to use the timestamp parameter with zapier, if anyone knows.

 


The parameter is added to the link.

 

So

https://api.meraki.com/api/v0/networks/[networkId]/cameras/[serial]/videoLink

Becomes

https://api.meraki.com/api/v0/networks/[networkId]/cameras/[serial]/videoLink?timestamp=1554789231252

The timestamp needs to be in milliseconds. If you use an online converter to get your timestamp of interest, make sure you use the correct timezone. Here's one you could use and can either take a time in UTC or your own local timezone.

https://www.epochconverter.com/

Get notified when there are additional replies to this discussion.