> For the complete documentation index, see [llms.txt](https://docs.rhym.io/rhym-help-guide-and-faqs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.rhym.io/rhym-help-guide-and-faqs/integrations/integrate-webhook-for-your-lead-form.md).

# Integrate Webhook for Your Lead Form

## **Using Webhooks in Rhym**

Webhooks in Rhym help you easily send data from lead forms to where you need it, like your CRM or marketing database. Think of them as a simple bridge: they connect your Rhym lead forms to your data collection point, ensuring leads are managed efficiently.

Whether your Lead Form is standalone or part of a game or quiz, it can be set up to use Webhooks. Here is how you can integrate & send data through Webhooks:

## Add Lead Form

Webhooks can integrated if you have lead form in your campaign. Read this to know how to add a [lead form](/rhym-help-guide-and-faqs/how-to-create-campaign/basics-of-editor/adding-lead-form-to-capture-leads.md)

Here's how data is sent when a lead form is submitted:

```
// Some code
{
  "email": "yourname@gmail.com",
  "name": "Tony",
  "mobile_number": "9848484848"
  "score":"10"
  "game":"test_campaign"
}
```

## **How to Integrate with Webhook** <a href="#how-to-configure-your-webhook" id="how-to-configure-your-webhook"></a>

Setting up a webhook in Rhym is straightforward. Here are the steps:

1. Inside the campaign editor, click "Add Integrations" and select "Webhooks."
2. Add your webhook API to integrate successfully

<figure><img src="/files/EPbr51ByIW3RlLMafuNz" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/xJeM5rTxw58Ptv13pnoo" alt=""><figcaption></figcaption></figure>

To test your webhooks, use a service like [**webhook.site**](http://webhook.site/), which offers a free and secure way to generate a public webhook endpoint without the need for registration. Go to the [**https://webhook.site**](https://webhook.site/) and copy your unique URL:

<figure><img src="/files/6BE4wQHyw8kWEuxFsMDo" alt=""><figcaption></figcaption></figure>

Return to the **Rhym** page, paste the link, and click "**Add.**"

<figure><img src="/files/D8SYDsHKyKTmDWzOomkp" alt=""><figcaption></figcaption></figure>

You will see your link in the **Connected Webhooks** section:

<figure><img src="/files/xJeM5rTxw58Ptv13pnoo" alt=""><figcaption></figcaption></figure>

With these simple steps, you're all set! Once you've added your link, as users start submitting your form, you'll receive lead data:

<figure><img src="/files/c6reU89Cc40I6nkNnvD1" alt=""><figcaption></figcaption></figure>
