# app.uninstalled

# Introduction

The app.uninstalled webhook is triggered when a merchant uninstalls your app from the Armada Marketplace. Armada immediately removes the integration and sends this webhook to your registered Uninstall URL for cleanup purposes.

For more details on webhook configuration, see the App Creation section.


# Webhook Request

When a merchant uninstalls your app, Armada sends a POST request to your configured uninstall URL.

# Payload Headers

These are the useful headers you need. The request may include additional headers, but these are the essential ones:

Header Description
Content-Type application/json
User-Agent Armada Delivery Solutions
x-armada-app-id Your application ID
x-armada-app-name Your application name
x-armada-installation-id Installation identifier
x-armada-api-version API version (v1)
x-armada-timestamp Webhook sent timestamp (ISO 8601)
x-armada-webhook-id Unique webhook event ID
x-armada-webhook-topic app.uninstalled

# Payload Schema

{
  "reason": "String" // Uninstall reason
}

# Payload Example

{
  "reason": "user_initiated"
}

# Response Requirements

# Best Practices