The AppInstall event fires whenever your app is installed by a user, either at the location (sub-account) level or at the agency level. It includes trial information, whitelabel details, and the plan selected at installation time. Note that userId and companyId may not always be present — for example, when the app is installed via a future location provisioning flow. Use this event to initialize app state, begin onboarding flows, or activate the correct plan tier for the installing account.
Payload
| Field | Type | Description |
|---|
type | string | Always "INSTALL" |
appId | string | ID of the app that was installed |
companyId | string | Agency ID of the installing account |
locationId | string | Sub-account ID if installed at the location level; omitted for agency-level installs |
userId | string | ID of the user who initiated the install; may be absent in some flows |
planId | string | ID of the plan selected at install time |
trial | object | Trial information for the install |
trial.onTrial | boolean | Whether the account is starting on a trial |
trial.trialDuration | number | Duration of the trial period in days |
trial.trialStartDate | string | ISO 8601 timestamp of when the trial started |
isWhitelabelCompany | boolean | Whether the installing agency is a whitelabel customer |
whitelabelDetails | object | Whitelabel branding details; present when isWhitelabelCompany is true |
whitelabelDetails.domain | string | Custom domain used by the whitelabel company |
whitelabelDetails.logoUrl | string | URL of the whitelabel company’s logo |
companyName | string | Display name of the installing agency |
Example payload
Location level (whitelabeled)
{
"type": "INSTALL",
"appId": "ve9EPM428h8vShlRW1KT",
"locationId": "otg8dTQqGLh3Q6iQI55w",
"companyId": "otg8dTQqGLh3Q6iQI55w",
"userId": "otg8dTQqGLh3Q6iQI55w",
"planId": "66a0419a0dffa47fb5f8b22f",
"trial": {
"onTrial": true,
"trialDuration": 10,
"trialStartDate": "2024-07-23T23:54:51.264Z"
},
"isWhitelabelCompany": true,
"whitelabelDetails": {
"domain": "example.com",
"logoUrl": "https://example.com/logo.png"
},
"companyName": "Example Company"
}
Agency level
{
"type": "INSTALL",
"appId": "ve9EPM428h8vShlRW1KT",
"companyId": "otg8dTQqGLh3Q6iQI55w",
"planId": "66a0419a0dffa47fb5f8b22f",
"trial": {
"onTrial": true,
"trialDuration": 10,
"trialStartDate": "2024-07-23T23:54:51.264Z"
}
}
Last modified on March 4, 2026