v3 · Endpoints
POST /v3/sessions/{session_id}/continue
Send the code the site sent the person, to finish connecting their account.
POST
/v3/sessions/{session_id}/continueScope: v3:bookLimit: 20 per 5 minutes, shared with POST /v3/bookings/{attempt_id}/continue
More in Use a person's own account.
Request
FieldTypeDefaultRule
session_idpath
none
The
vss_ id from POST /v3/sessions.codestring
none
Required. The code the site sent.
otp_code is accepted as the same field. Empty → 400 code_required.Response
The session object. Once connected: status: "active", account.name (how the site greets the person), connected_at, and expires_at: when the site's own sign-in expires (30 days on the practice site).
Statuses and error codes
HTTPStatus / error codeWhen
200
activeThe site took the code. Bookings can now sign in as the person.
200
failed + otp_invalidThe site did not take the code. A connect does not ask again: start a new one.
200
failed + attempt_expiredThe code came after
next_action.expires_at.200
failed + another codepassword_required, account_required, otp_not_sent, session_verification_required, internal (signed in, and Ophelia could not keep the account: connect again), a site's bot wall, …202
connectingStill going. Read
GET /v3/sessions/{session_id}.400
code_requiredNo
code.404
session_not_foundNo connected account with that id in your organization.
409
not_awaiting_code, continue_in_flightThe connected account is not waiting for a code, or another continue is typing one. Read
GET /v3/sessions/{session_id}.503
drive_capacity, no_clean_exitOphelia cannot start the drive right now.
Retry-After: 60.Example
Response 200:
A wrong code, response 200: