That would be "$XDG_RUNTIME_DIR" Though it might not survive reboots, user session logoff/relog.
"$XDG_STATE_HOME" for persistent stuff