curl --request POST \
--url http://localhost:3333/v1/browserbase/check-auth \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--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>' \
--data '
{
"sessionId": "<string>",
"url": "<string>"
}
'{
"isLoggedIn": true,
"username": "<string>"
}Was this page helpful?