Check if the user session is still valid and update the session activity timestamp.

Behavior: Validates that the specified session is still active and keeps it alive by updating its last activity timestamp. If single-session enforcement is enabled, detects whether the session has been replaced by a newer login. Also checks whether the user's account has expired.

Authorization: Requires a valid Bearer token ([Authorize]).

Side Effects: Updates the session's last activity timestamp. May mark the session as expired if the user account is no longer valid.

Error Scenarios: Returns 400 if the request body is null. Returns PingStatus.AccountExpired if the user or session is expired. Returns PingStatus.SessionReplaced if single-session enforcement detected a newer session.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params

A Nomad.Common.Models.Account.PingRequestModel containing the UserSessionId and optional ApplicationId.

Request model for the session ping/keep-alive endpoint.

uuid

Gets or sets the unique identifier of the active user session to keep alive.

uuid | null

Gets or sets the optional application identifier associated with the session.

Headers
string
enum
Defaults to application/json-patch+json

Generated from available request content types

Allowed:
Responses

401

The caller is not authenticated.

Language
Credentials
Bearer
JWT
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json