POST
/
v1
/
contexts
curl --request POST \
  --url https://api.browserbase.com/v1/contexts \
  --header 'Content-Type: application/json' \
  --header 'X-BB-API-Key: <api-key>' \
  --data '{
  "projectId": "<string>"
}'
{
  "id": "<string>",
  "uploadUrl": "<string>",
  "publicKey": "<string>",
  "cipherAlgorithm": "<string>",
  "initializationVectorSize": 123
}

Authorizations

X-BB-API-Key
string
header
required

Body

application/json

Response

201 - application/json
The request has succeeded and a new resource has been created as a result.

The response is of type object.