Apple Sign-In
Authenticate with an Apple identity token and open a session.
Authentication: Public — no Bearer token required.
Request body:
id_token(required) — Apple identity token from Sign in with Applemode(optional) — Sign-in mode; controls whether an unknown account may be registereduser_data(optional) — Profile payload Apple returns on the first authorization only (name fields), used to populate a new account
Response (signed in): Standard login payload — data.token, data.location, data.user, plus data.admin_token and data.redirect_url when applicable.
Response (2FA enabled): data.otp_required is true and data.otp_token carries a 5-minute token to submit to POST /session/verify_otp.
Response (unregistered account): data.needs_registration is true, alongside provider, email, first_name, and last_name so the client can complete registration.
Side effects: Triggers a UserLogin event recording the IP address and provider set to apple.
Authentication
AuthorizationBearer
Bearer authentication of the form Bearer <token>, where token is your auth token.
Request
This endpoint expects an object.
id_token
mode
user_data
Response
OK