Chat integration in a SPA


#1

We are integrating the conversations caht into our app. It's an SPA developed in Angular.
We would like to inform the chat the current path and the user that's logged in, like with the tracking code api. Is that possible? Is there an api for the chat?
Another feature that we would like to implement is adding the chat only for logged users, but as the url is no really changing it doesn't work. How can we achieve this?
Thanks,
Diego


#2

Hi @Diego_Grasso,

There isn't currently a Chat API, and the specific things you mentioned aren't possible with the current functionality of the chat tool. I can totally see the use case for that, though; If you have the inclination, I would encourage you to check out the Ideas Forum on the HubSpot Community. There, you can create a post including your use case that product and other customers can see.