New information in the install and uninstall webhooks

We have added some information in the payload for the install and uninstall webhooks for apps:

  • User name: The full name of the user who installs or uninstalls the app (example: John Doe)
  • Account tier: The account's tier in monday (free/basic/standard/pro/enterprise/trial(will be null in that case))
  • Account max users: The maximum amount of seats the account can have (example: 20)
  • User cluster: The user's area of work (example: HR)

Example of an install webhook's payload:

{
  "type":"install",
  "data":{
    "app_id":1000000000,
    "user_id":3,
    "user_email":"[email protected]",
    "account_id":1,
    "version_data":{
      "major":1,
      "minor":2,
      "patch":0,
      "type":"minor",
      "user_name": "John Doe",
      "account_tier": "standard",
      "account_max_users": 20,
      "user_cluster": "ngo",
    },
    "timestamp":"2022-06-28T06:48:06.643+00:00",
    "subscription":{
      "plan_id":"plan2",
      "renewal_date":"2022-07-19T00:00:00+00:00",
      "is_trial":false,
      "billing_period":"monthly",
      "days_left":21
    }
  }
}