Skip to main content

POST /session/<id>/event

Create a custom event for session <id>. Returns a simple success property if the request succeeds.

Example

curl https://app.hitprobe.com/api/v1/session/EGe9niUZEATtPwHyicyUGT/event \
-H 'Authorization: Bearer 4d5d94e5f2e9-7408-4fee-9e42-3748eaee' \
-H 'Content-Type: application/json' \
-d '{ "name": "<custom_event_name>" }'
{
"success": true
}
tip

You can also trigger events on the client-side through the JavaScript tag's events API.