Skip to content

snizu whoami

Which organization the CLI acts for, what its token may do, and which API it calls.

Node 22+1 min read

Usage

Usage
snizu whoami [--json]

Flags

  • --jsonflag
    Print one line of JSON: partner_id, partner_name, scopes and api_url.

Examples

Terminal
$ snizu whoami
Nakhla Studio ptnr_01k8zq3v7m2c4x9d5n0b6t1w8h
This token can deploy apps, push themes, read logs, create development stores.
https://api.snizu.com

In a script, read the JSON:

Terminal
$ snizu whoami --json
{"partner_id":"ptnr_01k8zq3v7m2c4x9d5n0b6t1w8h","partner_name":"Nakhla Studio","scopes":["apps:deploy","themes:push","logs:read","stores:create"],"api_url":"https://api.snizu.com"}

The token is SNIZU_TOKEN when it's set, otherwise the one snizu login saved. Without either, the command stops with "Not signed in. Run snizu login, or set SNIZU_TOKEN to a Partner API token."

Was this page helpful?

Updated 25 Nov 2026