CLI
npx -y https://formto.io/dl/cli-latest.tgz login # sign in through the browser; saves ~/.formto/credentials.json
npx -y https://formto.io/dl/cli-latest.tgz whoami # the workspace the token acts for
npx -y https://formto.io/dl/cli-latest.tgz init --yes --name Contact # create a form for the site in this folder
npx -y https://formto.io/dl/cli-latest.tgz responses --json # the newest responses of this folder's form
npx -y https://formto.io/dl/cli-latest.tgz logoutOptions: --api <url> for another API origin, --json for machine-readable output. Set FORMTO_TOKEN to use a token without a credentials file, for example in CI.
Exit codes: 1 a failure, 2 not signed in or the token was refused, 3 a plan limit.