Skip to content

Chrome Web Store ​

Chrome submissions go through the Chrome Web Store API v2 at chromewebstore.googleapis.com/v2. Reach for this page when you set up the Chrome credentials, run a staged rollout, or pull a submission back out of review.

Quick start ​

bash
curl -s -X POST https://www.extension.dev/api/cli/stores/submit \
  -H "Authorization: Bearer $EXTENSION_DEV_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"browsers":["chrome"],"buildSha":"<sha>","channel":"stable"}'

The platform uploads the build with the project's stored credentials and records the outcome under Submissions. The same submission starts from the console's Submissions tab or from an agent with extension_submit.

How it works ​

Credentials ​

The store accepts either a service account key or an OAuth client. A service account is the better default for a project, because it does not expire with a person's consent.

The publisher ID is required on top of either. It is the UUID from your Chrome Web Store developer console URL, not the extension ID. Add it with the secrets in the console under Project settings, Store publishing, Chrome.

An agent can connect Chrome for you with extension_submitaction: "connect". The connect page signs you in with Continue with Google, and the agent learns only the account Google names. See Connect a store from your agent.

Staged rollouts ​

Turn on Staged publish in the project's Chrome store settings and set a Staged rollout percentage from 1 to 100. The submission then carries publishType: STAGED_PUBLISH.

Raise a published rollout from the Submissions tab with Raise rollout. The raise is review free, and the new percentage must be higher than the current one. The console also states the store's floor for a staged rollout: 10,000 weekly users.

WARNING

Without staged publish the submission publishes to everyone at once, and there is no rollout to raise.

Pulling a submission back ​

A submission in review can be pulled back from the Submissions tab with Pull back from review. It applies only while the record reads submitted, and the record moves to draft once the withdrawal is reported. A pending record has not reached the store yet and cannot be pulled back.

Safe mode ​

Upload draft only uploads the package and skips the publish call, so nothing enters review. It is a per-store setting, stored as skipPublish, and an explicit value is always honored.

Agent and API submissions default to it. A submission with dryRun: false through the MCP, the CLI or an API token uploads without publishing unless the store settings state a mode. An explicit skipPublish: false or a staged publish choice publishes as configured, whoever saved it. Console submissions follow the store setting.

Request expedited review is a store setting too, stored as reviewExemption and sent to the store as skipReview.

Watching ​

The Submissions tab follows the submission to a terminal state, and GET /api/projects/{id}/stores/status returns the same. The states are the eight on Publishing. Chrome needs no submission id, unlike Firefox and Edge.

A safe-mode run records draft, because the publish call is the only thing that starts a review round and a safe run never makes it.

Reference ​

Secrets ​

ValueSecretNotes
Service account JSONSTORE_CHROME_SERVICE_ACCOUNT_JSONRaw JSON, sufficient alone
OAuth client IDSTORE_CHROME_CLIENT_IDThe alternative to the service account
OAuth client secretSTORE_CHROME_CLIENT_SECRET
OAuth refresh tokenSTORE_CHROME_REFRESH_TOKEN

Store settings ​

SettingStored asSent to the store as
Extension IDstoreIdThe item in publishers/{publisherId}/items/{itemId}
Publisher IDpublisherIdThe publisher in that same path, a UUID
Upload draft onlyskipPublishNo publish call
Staged publishstagedPublishpublishType: STAGED_PUBLISH
Staged rollout percentagedeployPercentagedeployInfos[].deployPercentage, 1 to 100
Request expedited reviewreviewExemptionskipReview

Console actions ​

ActionRouteRefusals
Raise rolloutPOST /api/projects/{id}/stores/chrome/rollout409 ROLLOUT_NOT_HIGHER, 409 ROLLOUT_NOT_STAGED, 409 ROLLOUT_PERCENTAGE_OUT_OF_RANGE, 409 ROLLOUT_PERCENTAGE_INVALID, 400 ROLLOUT_STORE_NOT_SUPPORTED
Pull back from reviewPOST /api/projects/{id}/stores/chrome/submissions/{submissionId}/cancel409 SUBMISSION_NOT_IN_REVIEW, 409 SUBMISSION_NOT_JOINABLE, 404 SUBMISSION_NOT_FOUND, 400 CANCEL_STORE_NOT_SUPPORTED

Both routes read a signed-in console session and are owner only.

Connection routes ​

RouteWho can call itRefusals
GET /api/projects/{id}/stores/chrome/healthA signed-in owner or admin, or a project token an owner minted403 OWNER_REQUIRED for a token a member minted
GET /api/projects/{id}/stores/chrome/connectA signed-in owner only403 PROJECT_TOKEN_REFUSED for any project token
Google OAuth callbackA signed-in owner only

The health route runs Google's token check and answers healthy, connectedAs and source, which reads project or workspace. The OAuth start and its callback never take a project token.

When it fails ​

  • A store is blocked. The preflight, dryRun on the submit call, names the reason and the console page that fixes it in consoleUrl.
  • The readiness checklist fails on the publisher ID. A missing publisher ID fails the console's checklist and the submission itself. The dry run on the submit call does not read it. The settings form refuses a malformed one: it must be a UUID, not the extension ID.
  • The OAuth refresh token stops working after a week. The console notes that testing consent expires every 7 days. Prefer the service account key for automation.
  • A version was rejected. It stays visible in the store status as rejected. Fix the package and submit again. Pulling back applies only while the record reads submitted.

Next ​

  • Publishing for the three doors, dry runs and STORE.md
  • HTTP API for the submit and status endpoints