Skip to content
Splashify Pro
Docs

Account

The account command mirrors everything Settings → Account Details shows in the app — profile, plan, wallet balance, WhatsApp identifiers, the organizations you belong to, and your invitations (received and sent).

Read-only by design. None of these subcommands accept, reject, switch, invite, or update anything. To change account state, use the web app or splashify profile for editable bits.

Quick start

bash
splashify account                            # consolidated view
splashify account info                       # profile + plan only
splashify account orgs                       # organizations you belong to
splashify account invitations                # pending invitations received
splashify account sent-invitations           # invitations you have sent
splashify account wallet                     # wallet balance

Command reference

Consolidated view

bash
splashify account

Returns every section in one object — perfect for dashboards and audits:

json
{
  "user":                 { "...": "profile, plan, dates" },
  "wallet":               { "wallet_amount": 1234.56 },
  "whatsapp":             { "phone_number": "+91...", "waba_id": "..." },
  "organizations":        { "organizations": [ ... ] },
  "invitations_received": { "invitations": [ ... ] },
  "invitations_sent":     { "invitations": [ ... ] }
}

A section that fails for any reason is reported as {"error": "..."} for that key — the command never aborts the whole view because one part is unavailable.

Common patterns

bash
# Just the things that matter day-to-day
splashify account | jq '{
  email:        .user.user.email,
  plan:         .user.user.plan_name,
  plan_status:  .user.user.plan_status,
  expires:      .user.user.plan_expires_at,
  wallet:       .wallet.wallet_amount,
  waba_phone:   .whatsapp.phone_number,
  org_count:    (.organizations.organizations | length),
  pending_invs: (.invitations_received.invitations | length)
}'

# Org IDs only
splashify account orgs | jq -r '.organizations[].org_user_id'

# Pending invitations summary
splashify account invitations | \
  jq '.invitations[] | {from: .inviter_org, role, expires: .expires_at}'