Upload Extension
Extensions
Upload Extension
Upload a Chrome extension archive so it can be loaded into future browser sessions.
POST
Upload Extension
Overview
Stores a Chrome extension for this account. Once uploaded, the returnedid can be passed in extensions when creating a session via POST /browser/sessions.
The extension archive must be base64-encoded and sent inline in the JSON body.
Body
Human-readable extension name (used in listings).
Base64-encoded bytes of the Chrome
.crx archive (full archive, not a URL).Example Request
Response
Success Response (201)
Extension ID. Pass this in
extensions when creating a session.Echoed name.
Parsed
manifest.json from the archive.ISO-8601 timestamp.
ISO-8601 timestamp.
Error Responses
| Status | Description |
|---|---|
400 | Missing name or file, or file is not valid base64 / not a valid .crx archive. |
401 | Unauthorized — invalid or missing API key. |