API to query IP along with splash page username

Getting noticed

API to query IP along with splash page username

With /networks/[id]/splashLoginAttempts, I can get username and MAC address.

Is there any way to query the IP address too? 

We need to push the username/IP to our Firewall (PaloAlto) for user-id mapping.



4 Replies 4
Kind of a big deal
Kind of a big deal

Could you take the MAC address and look that up in the ARP table of your Palo Alto to get the IP address?

Here to help

Hi, well one API call that gives you all .. I'm not aware of that. When you have the MAC already you could run a 2nd script that gives you IP Address GET /networks/[networkId]/clients/[id_or_mac_or_ip]
Getting noticed

I am able to get IP/Username and Mac address now. However, the timespan is login time, can I get client list base on Last Connected time?

No but you can get the last seen time (epoch/unix time) from the client details:

GET Return the client associated with the given identifier


  "id": "k1af98e",
  "mac": "8c:85:90:aa:aa:aa",
  "ip": "",
  "ip6": "",
  "description": "Miles-MacBook-Pro",
  "firstSeen": 1520683433,
  "lastSeen": 1527370304,
  "manufacturer": "Apple",
  "os": "Mac OS X 10.13",
  "user": null,
  "vlan": "1",
  "ssid": "viaPostman",
  "wirelessCapabilities": "802.11ac - 2.4 and 5 GHz",
  "smInstalled": false,
  "recentDeviceMac": "88:15:44:bb:bb:bb",
  "clientVpnConnections": null,
  "lldp": null,
  "cdp": null


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.