# Add new webhooks and customize webhook payload

**URL:** <https://meta.discourse.org/t/add-new-webhooks-and-customize-webhook-payload/59609>\
**Category:** Administrators\
**Tags:** webhooks, how-to\
**Created:** [March 21, 2017, 10:27am UTC](https://meta.discourse.org/t/add-new-webhooks-and-customize-webhook-payload/59609 "2017-03-21T10:27:08Z")\
**Posts on this page:** 1\
**Showing post:** 13

<div class="post-metadata">

**Author:** ![keff](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/keff/32/254412_2.png) [@keff](https://meta.discourse.org/u/keff)\
**Post date:** [July 19, 2022, 10:26am UTC](https://meta.discourse.org/t/add-new-webhooks-and-customize-webhook-payload/59609/13 "2022-07-19T10:26:10Z")

</div>

Hey there! I think I need some help

I’m attempting to add a custom webhook, which I’ve been able to get working and it correctly sends the payload to the webhook URL. The only thing I’m unable to accomplish is to be able to enable the event when configuring the webhook in admin. I’ve followed the tutorial above registering the fixture but it’s not appearing in admin.

I’ve tried a couple of ways:

```plaintext
SeedFu.fixture_paths << Rails.root.join("plugins", "<plugin_name>", "db", "fixtures").to_s
register_seedfu_fixtures(Rails.root.join("plugins", "<plugin_name>", "db", "fixtures").to_s)

```

Fixture:

```plaintext
WebHookEventType.seed do |b|
    b.id = 101
    b.name = "remove_like"
end

```

I also added this to locale:

```plaintext
en:
  js:
    plugin_name:
      placeholder: placeholder
    admin:
      web_hooks:
        remove_like_event:
          name: "Remove Like Event"
          details: "When a user marks a post as the accepted or unaccepted answer."

```

Am I missing something? or am I supposed to do it in some other way?

---

_[View the full topic](https://meta.discourse.org/t/add-new-webhooks-and-customize-webhook-payload/59609)._
