Capture Events
Capture Session
Capture a session.
POST
/
public
/
v2
/
capture
/
session
Authorizations
Authorization
string
headerrequiredBody
application/json
Represents a request to capture a session.
Attributes: type (Literal[IngestionType.OpenSession]): The type of ingestion, set to IngestionType.OpenSession. body (OpenSessionBody): The body of the open session request.
type
enum<string>
default: capture-sessionAvailable options:
capture-session
body
object
requiredRepresents the request body for capturing a session.
Attributes: user_id (str): The unique identifier for the user. session_id (str): The unique identifier for the session data. metadata (Optional[Dict[str, str]]): Additional metadata associated with the session. Optional. created_at (Optional[str]): The datetime when the session was opened. Optional.
Response
200 - application/json
The response is of type any
.
Was this page helpful?