curl --location --request POST 'https://api.plusvibe.ai/v1/webhook/partner-google-oauth-url' \
--header 'Content-Type: application/json' \
--data-raw '{
"flow": "app_user",
"pipl_username": "user@email.com",
"pipl_password": "A1b2c3d4!",
"workspace_id": "65099a0dd96fae8ab61130c0"
}'
{
"code": 1,
"message": "success",
"data": {
"redirect_url": "https://accounts.google.com/o/oauth2/v2/auth?access_type=offline&prompt=consent&include_granted_scopes=true&scope=profile%20email%20https%3A%2F%2Fmail.google.com&state=...&response_type=code&client_id=...&redirect_uri=..."
}
}