Update current user phone number
Updates the authenticated user's phone number. Validates and stores in E.164 format. Pass an empty string to remove.
Updates the authenticated user's phone number. Validates and stores in E.164 format. Pass an empty string to remove.
Production session cookie set for the guidelab.co domain by Better Auth
In: cookie
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
curl -X PUT "https://example.com/user/phone" \ -H "Content-Type: application/json" \ -d '{ "phoneNumber": "string" }'{ "success": true}Update notification preferences PUT
Sets the authenticated user's notification channel preferences for orders (including per-event overrides), partnerships, and chat. Supports email, SMS, WhatsApp, and push channels.
Upload current user avatar POST
Upload a new avatar image for the authenticated user. Replaces any existing avatar. Accepts JPEG, PNG, WebP, or GIF up to 5MB.