Recent login activity for a user
Returns the most recent login audit events for a single user in the caller’s company. Use this for a quick “what’s this user been up to” view; use the list endpoint when you need date ranges or pagination.
Special-scope key required. This endpoint is gated by the
login-audits.readentitlement. Your API key must be issued with that scope or the request will be rejected with403 Forbidden.
Date filters are intentionally not supported here — call GET /api/external/loginaudit?userId={userId}&from=...&to=... if you need them.
Authorizations
JWT issued by POST /api/token/request. Send as Authorization: Bearer <token>.
Path Parameters
The user's ID.
Query Parameters
How many events to return. Clamped server-side to [1, 500].
1 <= x <= 500Response
Recent login audit events for the user, newest first.
