Bind Phone Confirm
Verify OTP + write phone to the caller's user row.
Mirrors /api/auth/sms/login's OTP verification (expiry, max attempts, constant-time compare) but updates the existing row instead of creating one. The phone_verified_at column is bumped to the current UTC stamp so cross-region sync's newest-wins treats this as the authoritative state.
Returns the updated public-user shape — same as /api/auth/me — so the SPA can refresh its Pinia store without a separate fetch.
post/api/user/profile/bind-phone-confirm
Headers
authorizationstring nullable
Request body
Response
Successful Response
object required
Changes
No recorded changes to this endpoint across all 1 revision of this API.