cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
3528
Views
1
Helpful
2
Replies

MV API Video Link

jturbek
Cisco Employee
Cisco Employee

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

Accepted Solutions

jturbek
Cisco Employee
Cisco Employee

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

jturbek
Cisco Employee
Cisco Employee

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!


@jturbek 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/