# Overview
AppSumo uses webhooks to notify partners when a license for their product is purchased, activated, upgraded, downgraded, or deactivated.
# What is a Webhook?
A webhook, or web callback, is a way for apps to send real-time data to other applications automatically. Unlike standard APIs that require constant polling, webhooks push data immediately when events happen, making them more efficient.
# AppSumo Webhook Event Types
AppSumo sends the following webhook events related to your product’s licenses:
purchase
: Triggered when a user buys your product.activate
: Triggered when a user activates their purchase.upgrade
: Triggered when a user upgrades their product tier (e.g., Tier 1 to Tier 2).downgrade
: Triggered when a user downgrades their product tier (e.g., Tier 2 to Tier 1).deactivate
: Triggered when a license is deactivated, often due to a refund or cancellation.
# Test Webhooks
Test webhooks validate your webhook URL and include "test": true
in the POST
request. These should not trigger actions within your product but should respond successfully to confirm your URL is working.