Skip to main content
POST https://api.uip.digital/v1/sessions/{id}/stop · Auth: Bearer API key
Ends a session paused at a gate (status: awaiting_decision) without running its remaining steps — the decision counterpart to continue. The session moves to stopped and a session.stopped webhook fires.

Path parameters

id
string
required
The session id.

Behavior

  • Valid only when the session is awaiting_decision.
  • Owner-only: the API key’s business must own the session.
  • Already-completed steps remain verified and billed; remaining steps are skipped.
{
  "id": "sess_abc123",
  "status": "stopped",
  "current_step": 0,
  "step_count": 2
}
404 unknown/foreign session · 409/400 if the session isn’t at a gate. See Errors.