Skip to main content
The AppInstall event fires whenever your app is installed by a user, either at the location level or at the account level. It includes trial information 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

FieldTypeDescription
typestringAlways "INSTALL"
appIdstringID of the app that was installed
companyIdstringCompany ID of the installing account
locationIdstringLocation ID if installed at the location level; omitted for account-level installs
userIdstringID of the user who initiated the install; may be absent in some flows
planIdstringID of the plan selected at install time
trialobjectTrial information for the install
trial.onTrialbooleanWhether the account is starting on a trial
trial.trialDurationnumberDuration of the trial period in days
trial.trialStartDatestringISO 8601 timestamp of when the trial started
companyNamestringDisplay name of the installing company

Example payload

Location level

{
  "type": "INSTALL",
  "appId": "ve9EPM428h8vShlRW1KT",
  "locationId": "otg8dTQqGLh3Q6iQI55w",
  "companyId": "otg8dTQqGLh3Q6iQI55w",
  "userId": "otg8dTQqGLh3Q6iQI55w",
  "planId": "66a0419a0dffa47fb5f8b22f",
  "trial": {
    "onTrial": true,
    "trialDuration": 10,
    "trialStartDate": "2024-07-23T23:54:51.264Z"
  },
  "companyName": "Example Company"
}

Account level

{
  "type": "INSTALL",
  "appId": "ve9EPM428h8vShlRW1KT",
  "companyId": "otg8dTQqGLh3Q6iQI55w",
  "planId": "66a0419a0dffa47fb5f8b22f",
  "trial": {
    "onTrial": true,
    "trialDuration": 10,
    "trialStartDate": "2024-07-23T23:54:51.264Z"
  }
}
  • App Uninstall — fires when your app is removed
  • OAuth 2.0 — authorization flow used during app installation
Last modified on March 5, 2026