Have a look at this thread - there’s a user Id in the headers that you could use.
‘openai-conversation-id’ and ‘openai-ephemeral-user-id’