curl --request POST \
--url http://localhost:3333/v1/browserbase/check-auth \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--header 'X-Organization-Id: <x-organization-id>' \
--data '
{
"sessionId": "<string>",
"url": "<string>"
}
'{
"isLoggedIn": true,
"username": "<string>"
}Checks if the user is logged in on the specified site
curl --request POST \
--url http://localhost:3333/v1/browserbase/check-auth \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--header 'X-Organization-Id: <x-organization-id>' \
--data '
{
"sessionId": "<string>",
"url": "<string>"
}
'{
"isLoggedIn": true,
"username": "<string>"
}API key for authentication
Organization ID (required for session auth)
Was this page helpful?