post
https://platform.perso.ai/api/v1/session//event/create/
Record a session lifecycle event.
Event Types
| Event | Description | When to Use |
|---|---|---|
SESSION_START | Session has started | After WebRTC connection is established |
SESSION_DURING | Session heartbeat | Periodically during active session |
SESSION_END | Session ended normally | When user ends the session |
SESSION_ERROR | Session ended with error | When an error occurs |
SESSION_LOG | Custom log entry | For debugging/analytics |
Example
Select "CreateSessionEventRequest" from the Examples dropdown to see the request format.
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
400Bad Request - Invalid input data or parameters.
401Unauthorized - Invalid or missing authentication credentials.
403Forbidden - You do not have permission to perform this action.
404Not Found - The requested resource could not be found.
405Method Not Allowed - Invalid HTTP method
406Not Acceptable - Invalid request accept headers
415Unsupported Media Type - Invalid content type
500Internal Server Error - An unexpected error occurred.
