Available on the Base and Business plans. Compare plans
Authentication
All API requests require authentication using your secret API key:402 if your subscription is inactive and 403 if your account is on the Community plan. Sessions collected while your account was on the Community plan are never returned, even after upgrading. See Plans and limits.
There are three methods to retrieve session risk scores and flags:
Method 1: Retrieve a specific session
When you need data from a specific session, use the session ID to retrieve detailed information:This route is also available using query parameters:
GET https://api.poh.org/v1/sessions/report?sessionId={sessionId}
Example request
window.getPOHSessionId() in the browser.
Method 2: Retrieve all sessions for a user
To retrieve all sessions associated with a specific user:This route is also available using query parameters
GET https://api.poh.org/v1/users/sessions?userId={userId}
Example request
Method 3: Retrieve all sessions for a tag
To retrieve all sessions associated with a specific tag:Example request
Retrieving the event log for a session
The methods above return risk scores and flags. To retrieve a detailed log of every action a user took during a given session, use the events endpoint:Example request
Next steps
- Visit the Dashboard to generate a secret key.
- Review our API Reference for detailed endpoint specifications.

