Skip to content
Docs

vercel tokens

The vercel tokens command manages your personal authentication tokens. Tokens authenticate Vercel CLI commands and Vercel REST API requests on your behalf. They are scoped to your user account, and optionally to a single project. Use this command to list existing tokens, create new ones for scripts and CI environments, and revoke tokens you no longer need.

To deploy without a token or account, run vercel deploy --temporary. See Deploying without logging in.

Treat tokens as secrets. The CLI shows the plaintext value of a newly created token only once. Store it in a secret manager or environment variable; never commit it to source control.

terminal
vercel tokens [subcommand]

Using the vercel tokens command to manage personal authentication tokens. When called without a subcommand, vercel tokens runs list.

Lists your personal authentication tokens. This is the default subcommand, so vercel tokens and vercel tokens list are equivalent.

terminal
vercel tokens
vercel tokens list
vercel tokens list --json

List your tokens. Use --json for machine-readable output.

OptionTypeDescription
--jsonBooleanOutput as JSON
--limit <NUMBER>NumberMaximum number of tokens to return (default 20, range 1-100)
--next <CURSOR>StringShow the next page of results, using the cursor from the previous page. When more tokens exist, the output ends with the command for the next page. With --json, the cursor is in pagination.next.

Creates a new personal authentication token with the given name. The command prints the plaintext token once, so copy it before it scrolls away. To capture the token in a script, pass --json and read the bearerToken field.

terminal
vercel tokens create "CI deploy"

Create a new token named CI deploy. The plaintext value is printed once.

Creating tokens with this command requires a classic personal access token. OAuth sessions created by vercel login cannot mint new tokens, and project-scoped tokens (some vcp_… values) will also be rejected. If you don't already have a classic token, create one from the Account Tokens page in the dashboard, then set VERCEL_TOKEN (or pass --token) to that value and re-run the command.

The scope that the classic token needs depends on whether you pass --project:

To createAuthenticate the CLI with
A full-account token (no --project)A token with the Full Account scope. The command rejects a team-scoped token.
A project-scoped token (--project)A token scoped to the team that owns the project. The command rejects a Full Account token.
ArgumentRequiredDescription
nameYesDisplay name for the token (helps you identify it later)
OptionTypeDescription
--jsonBooleanOutput as JSON
--project <PROJECT_ID>StringOptional project ID to scope the token to a single project. The CLI forwards this value directly to the API; project names are not resolved.

Revokes a personal authentication token by ID. Use vercel tokens list first to find the token ID.

terminal
vercel tokens revoke tok_abc123
Revoke the token with ID tok_abc123.

In a terminal, the command asks you to confirm, because anything that uses the token stops working. To skip the prompt, for example in a script, pass --yes. With --json, the command revokes the token without asking.

ArgumentRequiredDescription
idYesID of the token to revoke
OptionTypeDescription
--jsonBooleanOutput as JSON
-y, --yesBooleanSkip the confirmation prompt
terminal
vercel tokens create "GitHub Actions deploy"

Copy the plaintext value from the output and set it as VERCEL_TOKEN in your CI environment.

Authenticate the CLI with a token that is scoped to the team that owns the project (see create), then pass the project ID:

terminal
vercel tokens create "Preview deploy bot" --project prj_abc123

The resulting token can only act on prj_abc123. This narrows blast radius if the token leaks.

terminal
vercel tokens list --json

Useful for scripts that need to inspect or reconcile tokens.

terminal
vercel tokens revoke tok_abc123
Revoke a token by ID.

The following global options can be passed when using the vercel tokens command:

For more information on global options and their usage, refer to the options section.

Last updated November 14, 2026

Was this helpful?

supported.