Identify User via API


I am building a custom chatbot that I will be embedding into my Bubble site. Ideally, I would like to identify the user currently using the so the bot would have access to names etc. I understand how I could connect to my app into the backend workflows via API, but is there any way I can use an API to understand the session currently taking place and the user etc?

Thanks in advance.

I don’t sure I understand you, but if the user logged in you can use “current user” state to access user’s information from any where in the app, so you can add those information to the chats or messages data that you store in the database, or you can send them with the call if you want.