Start / Stop
Start a session
Changed onStart a recording session for a user in your organization.
The user is identified by user_id, interpreted according to id_type (phone, email, or neosapien_uid). The user must belong to your organization; otherwise the request fails with 404 user_not_found and nothing is recorded.
A start for a user who already has an open session with a different context_id closes that session first. If no stop arrives, the session ends automatically after the organization's auto stop timeout (set by an admin), or after the organization's maximum session length when no timeout is set.
queued: false means the event was accepted but could not be queued for session processing.
post/api/v1/start
Request
- Base URLhttps://api.neosapien.xyz (the document declares no server; this is the origin it was published from)
- URLhttps://api.neosapien.xyz/api/v1/start
- AuthHTTP bearer
Request body
Example request
{
"context_id": "store-42",
"id_type": "phone",
"latitude": "12.9716",
"longitude": "77.5946",
"metadata": {
"priority": 2,
"visit_reason": "restock"
},
"timestamp": "2026-10-05T09:30:00Z",
"user_id": "+919812345678"
}Response
Successful Response
Changes
- info
endpoint added
- info