Others
Create a browser action
Creates a single-use link to one of the project's trusted origins that, when opened, makes the Hexclave SDK on that page perform an action in the browser: signing in as a given user (impersonation) or showing the clickmap overlay. Requires server or higher access.
post/browser-actions
Request body
Example request
{
"type": "impersonation",
"origin": "https://app.example.com",
"expires_in_millis": 300000,
"session_expires_in_millis": 7200000,
"user_id": "user_123"
}Response
Successful response
Example response
{
"id": "browser_action_code",
"url": "https://app.example.com/?hexclave_action_id=browser_action_code",
"expires_at_millis": 1800000000000
}