OptionalactiveWhether the entity is active
Optionalexternal_External system identifier for integration with third-party systems
OptionalextensorsExtended properties for custom integrations
Optionalrecord_Record history tracking information
OptionalidUnique identifier for the entity
Owning Client (required)
OAuth request metadata (scopes, state, etc.) — required
Optional ReadonlycodeAuthorization code issued to the client (read-only after issue)
Optionalcode_PKCE code challenge
Optionalcode_PKCE code challenge method
Redirect URI agreed at authorization (required)
Optionalexpires_Session expiry
ClientSession entity interface
Mirrors
macs-node-sdk/lib/clients/models/client-session.js. Represents a pending / active OAuth authorization session.code,refresh_key, andactive_idare server-managed.