auth-oauth

Record Connect Attempt

Record a connect attempt from the keel-app server render (Q-2381).

Unauthenticated, best-effort, always 200 once the body validates, with {"experiment_arm": ...} -- the arm stored on the row (connect-onboarding §1.3). A database failure is logged and still answers 200 with null, so the page never depends on it. A malformed body (bad id, enum or length, or any field the model does not declare) is a 422 and writes nothing.

post/v1/auth/oauth/connect-attempts

Request

  • Base URL: https://api.usekeel.io (the document declares no server; this is the origin it was published from)
  • URL: https://api.usekeel.io/v1/auth/oauth/connect-attempts
  • Auth: none declared

Request body

attempt_idstring required
signed_in_at_startboolean required
client_namestring nullable
client_idstring nullable
redirect_hoststring nullable
device_class'desktop' | 'ios' | 'android' | 'unknown'
referrer_hoststring nullable
consent_shownboolean
decision'cancelled' nullable

Response

Successful Response

experiment_arm'control' | 'welcome_bonus' nullable

Changes

No recorded changes to this operation across all 1 revision of this API.