> ## Documentation Index
> Fetch the complete documentation index at: https://razorpay-60c89f9a-mintlify-audit-missing-sections-1778528421.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Subscribe to Webhooks

> Webhooks allow you to build or set up integrations that subscribe to certain Razorpay events on merchant resources. When one of those events is triggered, we send an HTTP POST payload in JSON to a specific URL.

Webhooks can be configured and managed independently for each application you create on your Dashboard, thereby giving you greater control over your notifications.

Know more about [Razorpay Webhooks](/webhooks).

## Set Up Webhooks

Managing webhooks for individual applications follows the same procedure as managing account webhooks.

<Info>
  **Handy Tips**
</Info>

If you are just starting off and have not created an application yet, refer the [create application section](/partners/technology-partners/onboard-businesses/integrate-oauth/integration-steps#1-create-an-application) to create an app.

To set up webhooks:

<Steps>
  <Step title="Log in to the Dashboard.">
    Log in to the Dashboard.
  </Step>

  <Step title="Navigate to **Applications**.">
    Navigate to **Applications**.
  </Step>

  <Step title="On a created application, click **Manage Webhook**.">
    On a created application, click **Manage Webhook**.
  </Step>

  <Step title="Enter the **Webhook URL** where you will receive the webhook payloa...">
    Enter the **Webhook URL** where you will receive the webhook payload when the event is triggered.
  </Step>

  <Step title="Create a new **Secret**. This field is optional.">
    Create a new **Secret**. This field is optional.
  </Step>
</Steps>

<Info>
  **Handy Tips**
</Info>

The **Secret** can be used to validate that the webhook is from Razorpay, thus it should not be exposed publicly. On the UI, the **Secret** will not be shown after creation. You can leave the **Secret** blank to leave it unedited.

6. Select the event(s) you want to activate the webhook for from the list of available events.
7. Click **Save** to enable the webhook.

To validate your webhook signature, refer the [Validation section](/webhooks/validate-test#validate-webhooks).

<Info>
  **Handy Tips**
</Info>

Use the Test mode on the Dashboard to test webhooks.

## Webhook Retries

The webhook responses must return a status code in the range 2XX within a window of 5 seconds. If we receive response codes other than this or if the request times out, it is considered a failure.

On failure, a webhook is retried at progressive intervals of time.
