Meraki API - Find the Name of access point that a client device last connected to with MAC address?

matt199x
New here

Meraki API - Find the Name of access point that a client device last connected to with MAC address?

If I use GET /networks/[networkId]/clients/[idOrMacOrIp] I can get the MAC address of the AP but I am needing the actual name of the AP. 

 

I then thought  I can use GET /networks/[networkId]/devices/[serial] to get the name of the AP by it's MAC address but that only accepts the serial number of the AP not the MAC address.

 

Any guidance would be appreciated!

1 Reply 1
jdsilva
Kind of a big deal

It might be best to just grab all the devices in the network and then compare that list against the MAC address you already know.

 

https://api.meraki.com/api_docs#list-the-devices-in-a-network

 

 

Get notified when there are additional replies to this discussion.
Welcome to the Meraki Community!
To start contributing, simply sign in with your Cisco account. If you don't yet have a Cisco account, you can sign up.
Labels