session_id on every event you capture for it.
Headers
Body
user_data
user_data must include a user_id. Any further keys are stored as traits on the user profile and become filterable dimensions in the dashboard.
Request
Response
Generate
session_id on your side as a UUID so you can attach it to the events you send next. See POST /capture-event.