Skip to content

privy apps create

Create a new application in an account.

Terminal window
privy apps create [options]
Option Description
--dry-run Validate and print the API request without network access or credentials.
--yes Confirm this mutation or export.
--secret-store <destination> App API secret destination: env, keychain, both or none; required non-interactively.
--env-output <path> Server env file for env/both; preserve other variables; write with mode 0600.
--env-key <name> Server-only env variable (default PRIVY_APP_SECRET).
--overwrite-env Explicitly allow replacing the target variable in an existing env file.
--body <json> JSON body, or - to read stdin.
--file <path> JSON body file, or - to read stdin.
--name <string> Application display name.

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

Terminal window
privy apps create --account <account-id> --name demo --secret-store env --env-output .env.local --dry-run
privy apps create --account <account-id> --name demo --secret-store env --env-output .env.local --yes
  • Changes data: yes. Preview with --dry-run, then run with --yes and any required confirmations.
  • Scope: account

Inspect the full contract locally with privy schema apps 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.