Fields & validation
Writable profile fields, password rules, and response dictionaries.
Write validation
| Endpoint | Field | Rules |
|---|---|---|
| PUT/POST /user | name | required|string|max:255 |
| PUT/POST /user | phone | nullable|string|max:20 |
| PUT/POST /user | company | nullable|string|max:255 |
| PUT/POST /user | bio | nullable|string|max:1000 |
| PUT/POST /user | profile_picture | nullable|image|mimes:jpeg,png,jpg,gif|max:2048 |
| PUT /user/password | current_password | required|string |
| PUT /user/password | new_password | required|string|min:8|confirmed |
| PUT /user/password | new_password_confirmation | required|string |
User data keys (GET /user)
Base keys from serialization: id, reseller_id, reseller_current_ui_version, reseller_ui_intro_seen_at, name, email, supabase_id, google_id, role, phone, company, bio, profile_picture, status, email_verified_at, created_at, updated_at, deleted_at, is_reseller_admin, is_reseller.
Merged only on GET: primary_workspace_id, active_workspace_id, workspace_role, can_manage_team.
features map keys
Current end-user registry keys (booleans): assistants, squads, tools, phone_numbers, knowledge_docs, ai_chat, call_logs, squad_call_logs, integrations, ghl_connect, workspaces.