End session
POST /v2/sessions/{id}/end
Conclude the session. Optionally runs a SIM-swap check when a phone
number is provided. Does not compute a combined decision across the
calls made in the session — each verification call carries its own
decision.
Authorizations
Parameters
Path Parameters
Request Body
object
Phone number for the optional SIM-swap fraud check.
Responses
200
Session ended.
object
Endpoint-specific payload; omitted when the operation returns no data.
Scoring decision computed for the request when a scoring system applies.
object
Decision status from the scoring engine (e.g. pass, fail, refer).
object
Non-fatal caveats about a successful result — for example an enrollment that succeeded but produced a weaker biometric template.
400
Bad Request / Parameter Validation Failed.
object
object
invalid_requestHuman-readable message; a string, or a field-error array for validation failures.
object
Non-fatal caveats about a successful result — for example an enrollment that succeeded but produced a weaker biometric template.
401
Unauthorized / Missing or Invalid Authentication Credentials.
object
object
invalid_requestHuman-readable message; a string, or a field-error array for validation failures.
object
Non-fatal caveats about a successful result — for example an enrollment that succeeded but produced a weaker biometric template.
404
Not Found / Specified Resource (User, Session, Reference Image, etc.) does not exist.
object
object
invalid_requestHuman-readable message; a string, or a field-error array for validation failures.
object
Non-fatal caveats about a successful result — for example an enrollment that succeeded but produced a weaker biometric template.
500
Internal Server Error.
object
object
invalid_requestHuman-readable message; a string, or a field-error array for validation failures.
object
Non-fatal caveats about a successful result — for example an enrollment that succeeded but produced a weaker biometric template.