I got tired of not knowing why users were dropping off in my app. Heatmaps show you where people click. Analytics show you when they leave. But nothing tells you how they felt while using it.
So I built SessionMood API β a REST API that scores user mood in real time based on behavioral events.
How it works
You send behavioral events from your frontend:
fetch ( " https://session-mood-api-production.up.railway.app/v1/sessions/user_123/events " , { method : " POST " , headers : { " Content-Type " : " application/json " , " x-api-key " : " YOUR_API_KEY " }, body : JSON . stringify ({ type : " click " }) });
Enter fullscreen mode
Exit fullscreen mode
Then read the mood at any point:
fetch ( " https://session-mood-api-production.up.railway.app/v1/sessions/user_123/mood " , { headers : { " x-api-key " : " YOUR_API_KEY " } }) . then ( r => r . json ()) . then ( console .β¦