Skip to content

privy clients create

Create a separate web/mobile frontend configuration sharing this app’s users and wallets.

Terminal window
privy clients create [options]
Option Description
--dry-run Validate and print the API request without network access or credentials.
--yes Confirm this mutation or export.
--body <json> JSON body, or - to read stdin.
--file <path> JSON body file, or - to read stdin.
--name <string> Internal client name.
--client-type <string> Frontend environment, not dev/production app tier.
--use-app-cookie-domain-settings <boolean> Explicitly inherit the configured app cookie domain. Web only; false leaves custom client cookie setup separate.
--allow-production Explicitly allow this production mutation; also requires --yes.

Global options such as --app, --account and --profile also apply. See the command reference overview.

Terminal window
privy clients create --name cli-web --client-type web --use-app-cookie-domain-settings false --dry-run
  • Changes data: yes. Preview with --dry-run, then run with --yes and any required confirmations.
  • Scope: app
  • Before it runs: Check app environment and same-app client; cookie inheritance requires a configured app domain.
  • Production apps: Requires --allow-production and --yes.
  • Verification: Fresh exact-ID list comparison.
  • Retries: None.

Inspect the full contract locally with privy schema clients create.

Privy CLI is an unofficial, community project by Samarth Saxena. Not affiliated with or endorsed by Privy. The Privy name and wordmark belong to Privy. It uses undocumented dashboard APIs that can change.