Skip to content

postsale account

Who you are signed in as, what your credential can do, and which environment you are pointed at.

Updated September 2, 20261 min readPostsale CLI

Account-level reads (no network for env / jwt-scopes).

Subcommands

CommandPurpose
whoamiCurrent user; sensitive fields redacted by default (--include-sensitive for full). Not available to API keys: answers api_key_unsupported (exit 100)
jwt-scopesDecode JWT permissions locally; advisory, not authoritative. On an API key it reports jwt_scopes: null — a key's scopes live in the app, not in the credential
envActive environment + API host
bash
postsale account whoami
postsale account whoami --include-sensitive
postsale account jwt-scopes
postsale account env

Schema

  • account.whoami

Agent tools

get_account