08-25-2025 01:53 PM
We're using Captive Portal/Splash Login to authenticate our WIFI users. Our time period is 30 days and they need to sign-in again.
Just curious if there's a way to capture the users' expiration date via API? Our goal is to notify the users a day before their expiration date. I tried getNetworkClients but the expiration dates aren't showing there. Thanks in advance.
Solved! Go to Solution.
08-25-2025 02:28 PM
So, it's no possible.
Meraki does not expose expiration dates for users authenticated via Google OAuth through the Dashboard API.
08-25-2025 02:00 PM
Take a look at this API.
https://developer.cisco.com/meraki/api-v1/get-network-meraki-auth-users/
08-25-2025 02:21 PM
Sorry I forgot to mention we're using Google OAuth for the sign-in:
The /merakiAuthUsers request didn't show any results.
08-25-2025 02:28 PM
So, it's no possible.
Meraki does not expose expiration dates for users authenticated via Google OAuth through the Dashboard API.
08-26-2025 08:47 PM
I would look in Network-Wide/Events, and find an event that relates to a user logging in. Note the info in it.
Then, in your script, retrieve just these kinds of events from the event log. Note the time of the most recent login and check if it is close to 30 days ago.
https://developer.cisco.com/meraki/api-v1/get-network-events/
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide