Profile
The profile command mirrors the /profile page. Everything the app
exposes — name, password change, WhatsApp number change with OTP,
avatar upload, and 2FA toggle — is reachable from the CLI.
Distinct from
splashify account(read-only consolidated view) andsplashify company(org-level company details).profileis the user surface.
Quick start
splashify profile # show current profile
splashify profile update --first-name "Alice" --last-name "Smith"
splashify profile change-password --current <old> --new <new>
splashify profile whatsapp send-otp --country-code +91 --mobile 9876543210
splashify profile whatsapp verify --country-code +91 --mobile 9876543210 --otp 123456
splashify profile picture ./avatar.png
splashify profile 2fa enable | disableCommand reference
| Subcommand | Backed by |
|---|---|
(none — default) / show / me | GET /api/v1/app/me |
update --first-name --last-name | PUT /api/v1/app/profile |
change-password --current --new | POST /api/v1/app/profile/change-password |
whatsapp send-otp --country-code --mobile | POST /api/v1/app/profile/whatsapp/send-otp |
whatsapp verify --country-code --mobile --otp | POST /api/v1/app/profile/whatsapp/verify |
picture <path> | POST /api/v1/app/profile/picture (multipart, field profile_picture) |
2fa enable|disable | POST /api/v1/app/profile/2fa |
Changing your WhatsApp number
A two-step flow that mirrors the page exactly:
# 1) Send the OTP to the new number
splashify profile whatsapp send-otp --country-code +91 --mobile 9876543210
# 2) Verify the OTP that arrived on WhatsApp
splashify profile whatsapp verify \
--country-code +91 \
--mobile 9876543210 \
--otp 123456The number is only switched after step 2 succeeds. If the OTP expires, re-run step 1.
Picture upload
splashify profile picture ./avatar.pngAccepted: any image type the backend accepts on the picture endpoint
(typically .jpg, .jpeg, .png). Returns the new profile_picture_url.
2FA
splashify profile 2fa enable # turn on
splashify profile 2fa disable # turn offThe backend handles TOTP secret provisioning and recovery codes — enabling here begins the flow; complete enrolment in the web app if the backend returns a setup payload.
Related
- Account — read-only consolidated profile + plan + wallet
- Company — see
splashify companyfor org-level details - Access Tokens — different surface; tokens never expire with profile changes