EXTERNAL_AUTH_CONNECTED
Called whenever external authentication (OAuth2 or Basic) is connected successfully for an app/location/company.
Schema
type
stringAllowed value:
EXTERNAL_AUTH_CONNECTED
appId
stringlocationId
stringcompanyId
stringauthType
stringAllowed values:
oauth2basic
scopes
stringisAutoRefreshTokenEnabled
booleantimestamp
string<date-time>webhookId
string- Note:
scopesandisAutoRefreshTokenEnabledare present only for OAuth2 connections.
Example
- For OAuth2 External Auth Connection
{"type": "EXTERNAL_AUTH_CONNECTED","appId": "6800a826637cd0457e0d11e1","locationId": "76sPakGvkoG3WyTyZkhk","companyId": "zzyG7A4x6bRJl5SlhQhH","authType": "oauth2","scopes": "crm.objects.contacts.write crm.schemas.contacts.write oauth crm.schemas.contacts.read crm.objects.contacts.read","isAutoRefreshTokenEnabled": true,"timestamp": "2025-05-19T12:48:50.972Z","webhookId": "42f1d489-dc91-4749-a2a2-8c441989a3b5"}
- For Basic Auth External Auth Connection
{"type": "EXTERNAL_AUTH_CONNECTED","appId": "66e96b579245705d69e5ba6a","locationId": "76sPakGvkoG3WyTyZkhk","companyId": "zzyG7A4x6bRJl5SlhQhH","authType": "basic","timestamp": "2025-05-19T15:40:36.811Z","webhookId": "3b12bbc1-0be0-4678-aa76-771e88d27423"}
- Note: The payload always includes
type,appId,locationId,companyId,authType,timestamp, andwebhookId. For OAuth2,scopesandisAutoRefreshTokenEnabledare also included.