As far as i know (i might be wrong so you better verify it) ClearPass does not expose real-time session data via standard REST endpoints. Instead, you can extract real-time data through Syslog push to external collector (we started using Wazuh and it works amazing) or via ClearPass Insight, if licensed.
------------------------------
Shpat | ACEP | ACMP | ACCP | ACDP
Just an Aruba enthusiast and contributor by cases
If you find my comment helpful, KUDOS are appreciated.
------------------------------
Original Message:
Sent: Jul 01, 2025 03:57 AM
From: jeroenv1
Subject: How to retrieve MAC address, VLAN, and Switch Port info from ClearPass REST API
Hi,
I'm trying to use the ClearPass REST API to get details about active sessions, specifically including the MAC address and VLAN information.
I have already:
Created an API Client with Client Credentials grant type
Set the Operator Profile to Super Administrator
Successfully generated an access token via /api/oauth
Question:
What is the correct endpoint path to retrieve this data?
Is it /api/session
, /api/active_session
, or another endpoint?
Thank you very much for your help!