curl --request POST \ --url https://api.browserbase.com/v1/contexts \ --header 'Content-Type: application/json' \ --header 'X-BB-API-Key: <api-key>' \ --data '{ "projectId": "3c90c3cc-0d44-4b50-8888-8dd25736052a" }'
{ "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "uploadUrl": "<string>", "publicKey": "<string>", "cipherAlgorithm": "<string>", "initializationVectorSize": 123 }
Your Browserbase API Key.
The request has succeeded and a new resource has been created as a result.
The response is of type object.
object
Was this page helpful?