curl --request POST \
--url https://api.village.do/v2/integrations \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"google_integration_properties": {
"account_identifier": "go:123456789",
"email": "[email protected]",
"authentication_token_data": {
"access_token": "<string>",
"scope": "<string>",
"refresh_token": "<string>"
},
"type": "google",
"data_scope": [
"email",
"contacts"
],
"authorized_gmail": true,
"sync_data": {
"email": "[email protected]"
}
}
}
'