PUT /v1/sessions/{id}/complete → tutor_sessions.status + session_ledger. Marks a scheduled session completed and writes one tutor-owed `session_ledger` row per participant from that participant's per-hour rate snapshot. Idempotent: completing an already-completed session is a no-op replay, never a double-ledger. Both fields are persisted: `attendance` sets each participant's attendance + settlement_state (and `excused` books 0 owed), mirroring the in-app mark_session_attendance; `completed_at` is stored on tutor_sessions.completed_at.
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we
store it to create your key and to recognise you if you sign in with another
provider. By signing up you are subscribing to the APIs.io and API Evangelist
newsletters — you can unsubscribe from any issue. See our
Privacy Policy and Terms.