ExternalAuthConnected event fires whenever a user successfully authenticates and connects an external provider to your app within the HoopAI platform. It identifies the app, the location or agency context, and the user who performed the connection. Use this event to initialize third-party service integrations, store provider tokens, or trigger onboarding steps that depend on external auth being in place.
Payload
| Field | Type | Description |
|---|---|---|
type | string | Always "EXTERNAL_AUTH_CONNECTED" |
appId | string | ID of the app the external auth was connected to |
locationId | string | Sub-account ID where the connection was made |
companyId | string | Agency ID associated with the account |
userId | string | ID of the user who performed the external auth connection |
Example payload
Related
- App Install — fires when your app is installed, which often precedes an external auth connection
- OAuth 2.0 — authorization flow used during app and provider connections
.png?fit=max&auto=format&n=EQK5eX9kTD8NzWwA&q=85&s=878008bf159fcc4964d0c0d508b6e400)