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
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
| Value | Secret | Notes |
|---|---|---|
| Service account JSON | STORE_CHROME_SERVICE_ACCOUNT_JSON | Raw JSON, sufficient alone |
| OAuth client ID | STORE_CHROME_CLIENT_ID | The alternative to the service account |
| OAuth client secret | STORE_CHROME_CLIENT_SECRET | |
| OAuth refresh token | STORE_CHROME_REFRESH_TOKEN |
Store settings
| Setting | Stored as | Sent to the store as |
|---|---|---|
| Extension ID | storeId | The item in publishers/{publisherId}/items/{itemId} |
| Publisher ID | publisherId | The publisher in that same path, a UUID |
| Upload draft only | skipPublish | No publish call |
| Staged publish | stagedPublish | publishType: STAGED_PUBLISH |
| Staged rollout percentage | deployPercentage | deployInfos[].deployPercentage, 1 to 100 |
| Request expedited review | reviewExemption | skipReview |
Console actions
| Action | Route | Refusals |
|---|---|---|
| Raise rollout | POST /api/projects/{id}/stores/chrome/rollout | 409 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 review | POST /api/projects/{id}/stores/chrome/submissions/{submissionId}/cancel | 409 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
| Route | Who can call it | Refusals |
|---|---|---|
GET /api/projects/{id}/stores/chrome/health | A signed-in owner or admin, or a project token an owner minted | 403 OWNER_REQUIRED for a token a member minted |
GET /api/projects/{id}/stores/chrome/connect | A signed-in owner only | 403 PROJECT_TOKEN_REFUSED for any project token |
| Google OAuth callback | A 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,
dryRunon the submit call, names the reason and the console page that fixes it inconsoleUrl. - 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 readssubmitted.
Next
- Publishing for the three doors, dry runs and
STORE.md - HTTP API for the submit and status endpoints