Skip to main content
curl "$API_BASE_URL/v1/org/$ORG_ID/contexts/sign-in/$CTX_ID/modules/whitelistings/active" \
  -H "x-auth-token: $NETGRAPH_API_TOKEN"
[
  "AA:BB:CC:00:00:01",
  "AA:BB:CC:00:00:07"
]
Returns the set of whitelisted MACs that are currently online — useful for reconciling an asset-management system against who’s actually connected.

Request

organizationId
string
required
Organization ID.
contextId
string
required
Sign-In Context ID.
x-auth-token
string
required
Context API key.
curl "$API_BASE_URL/v1/org/$ORG_ID/contexts/sign-in/$CTX_ID/modules/whitelistings/active" \
  -H "x-auth-token: $NETGRAPH_API_TOKEN"

Response

A JSON array of MAC addresses currently online in the Context.
[
  "AA:BB:CC:00:00:01",
  "AA:BB:CC:00:00:07"
]