POST https://api.alentra.app/v1/sessions/{id}/stop · Auth: Bearer API keystopped and a
session.stopped webhook fires after persistence.
Path parameters
string
required
The session id.
Behavior
- Valid for any non-terminal, non-expired session. Calling it on an existing terminal state is idempotent and returns that state.
- The deadline is checked first: a due session becomes
expired, notstopped, and emitssession.expired. - Owner-only: the API key’s business must own the session.
- Already-completed steps remain verified and billed; remaining steps are skipped.
404 unknown session · 403 foreign session. See Errors.