Skip to Content

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) and splashify company (org-level company details). profile is 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 | disable

Command reference

SubcommandBacked by
(none — default) / show / meGET /api/v1/app/me
update --first-name --last-namePUT /api/v1/app/profile
change-password --current --newPOST /api/v1/app/profile/change-password
whatsapp send-otp --country-code --mobilePOST /api/v1/app/profile/whatsapp/send-otp
whatsapp verify --country-code --mobile --otpPOST /api/v1/app/profile/whatsapp/verify
picture <path>POST /api/v1/app/profile/picture (multipart, field profile_picture)
2fa enable|disablePOST /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 123456

The number is only switched after step 2 succeeds. If the OTP expires, re-run step 1.

Picture upload

splashify profile picture ./avatar.png

Accepted: 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 off

The 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.

  • Account — read-only consolidated profile + plan + wallet
  • Company — see splashify company for org-level details
  • Access Tokens — different surface; tokens never expire with profile changes