> Portal Navigation: > > - Append `.md` to any URL under `https://dev.wix.com/docs/` to get its markdown version. > - Pages are either content pages (article or reference text) or menu pages (a list of links to child pages). > - To get a menu page, truncate any URL to a parent path and append `.md` (e.g. `https://dev.wix.com/docs/sdk.md`, `https://dev.wix.com/docs/sdk/core-modules.md`). > - Top-level index of all portals: https://dev.wix.com/docs/llms.txt > - Full concatenated docs: https://dev.wix.com/docs/llms-full.txt ## Resource: Handle Account-Level Webhooks ## Article: Handle Account-Level Webhooks ## Article Link: https://dev.wix.com/docs/develop-websites-sdk/code-your-site/account-level-development/handle-account-level-webhooks.md ## Article Content: # Handle Account-Level Webhooks This article explains how to subscribe to account-level webhooks and handle events on your server. > **Note:** Account-level webhooks are available only for [Wix Enterprise](https://support.wix.com/en/article/wix-enterprise-an-overview) and [Wix Channels](https://support.wix.com/en/article/wix-channels-dashboard-overview) partners. ## Step 1 | Subscribe to a webhook Subscribe to an account-level webhook from the **Webhooks** page in your Wix Studio workspace. 1. In your [Wix Studio workspace](https://manage.wix.com/studio), go to **Settings** > **Webhooks** in the side panel. 1. Click **Create Webhook**. 1. Browse the event categories, then hover over an event and click **Select Event**. 1. Click **Code Sample** to view sample code. 1. Enter your callback URL. Click **Trigger Test** to verify your endpoint receives the event. 1. Click **Subscribe**. To test your new webhook, hover over the event and click **Test**. For more options, click the **More Actions** ![More Actions](https://wixmp-833713b177cebf373f611808.wixmp.com/images/0e583769d1305e30a5e8d6ca6ed59453.png) icon. ## Step 2 | Save your public key Wix sends webhook payloads in [JSON Web Token (JWT)](https://jwt.io/) format. Your public key allows you to verify the signature in any webhook you receive. To get your public key: - On the **Webhooks** page, click **Get Public Key**. - Copy it from the code sample provided when subscribing to a webhook. Save the public key in a secure location. You need to use it in your handler to verify that the request is from Wix. ## Step 3 | Handle the event When an event you've subscribed to occurs, Wix sends a `POST` request to your callback URL with the event data in the request body. Your endpoint should return a `200` status code to acknowledge receipt. The code sample you receive when creating a webhook includes everything you need to handle the event: - The handler code for processing the event payload. - A pre-configured public key for JWT verification. - The app ID that powers account-level webhook functionality. Copy the code sample to your server and customize the event handler to implement your business logic. > **Note:** If you manage child accounts, events from those accounts also propagate to your callback URL. For details on distinguishing between parent and child account events, see [About Account-Level Webhooks](https://dev.wix.com/docs/develop-websites-sdk/code-your-site/build-a-custom-backend/backend-events/about-account-level-webhooks.md#child-account-events). ## See also - [About Account-Level Webhooks](https://dev.wix.com/docs/develop-websites-sdk/code-your-site/build-a-custom-backend/backend-events/about-account-level-webhooks.md) - [About backend events](https://dev.wix.com/docs/develop-websites-sdk/code-your-site/build-a-custom-backend/backend-events/about-backend-events.md)