# Adding FORM ID Option to Webhooks

**URL:** <https://forum.mautic.org/t/adding-form-id-option-to-webhooks/23713>\
**Category:** Ideas and Feature Requests\
**Created:** [April 11, 2022, 9:04am UTC](https://forum.mautic.org/t/adding-form-id-option-to-webhooks/23713 "2022-04-11T09:04:29Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![entrepositive](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/entrepositive/32/9645_2.png) [@entrepositive](https://forum.mautic.org/u/entrepositive)\
**Post date:** [January 13, 2023, 8:41pm UTC](https://forum.mautic.org/t/adding-form-id-option-to-webhooks/23713/2 "2023-01-13T20:41:20Z")

</div>

Using the global Webhooks, the JSON returned from the webhook sent on any form submission, gives me the Form ID in the body.

```auto
"body": {
"mautic.form_on_submit": [
  {
  "submission": {
    "id": 86,
    "someInfo": {
      "yada": "yada yada"
    }
  },
  "form": {
    "id": 14, <== **RIGHT HERE**
    "name": "Test Contact Form",
    "alias": "test_form",
    "category": [
    ]
  },
  "lead": {
    "id": "blah blah" ...

```

Inside an automation software like Zapier/n8n I can create a Switch or IF to handle multiple different form submissions.

But it’s also possible for an individual form to send its own webhook data. [See here](https://forum.mautic.org/t/new-onsubmit-action-for-standalone-forms-send-webhook/23797/5).

EP

---

_[View the full topic](https://forum.mautic.org/t/adding-form-id-option-to-webhooks/23713)._
