# Is there a webhook event to get the applied tag to a contact?

**URL:** <https://integration.keap.com/t/is-there-a-webhook-event-to-get-the-applied-tag-to-a-contact/81409>\
**Category:** API Q&A\
**Tags:** webhook\
**Created:** [December 24, 2020, 12:43pm UTC](https://integration.keap.com/t/is-there-a-webhook-event-to-get-the-applied-tag-to-a-contact/81409 "2020-12-24T12:43:18Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![trevelyn\_otts](https://avatars.discourse-cdn.com/v4/letter/t/e99b99/32.png) [@trevelyn\_otts](https://integration.keap.com/u/trevelyn_otts)\
**Post date:** [December 24, 2020, 12:43pm UTC](https://integration.keap.com/t/is-there-a-webhook-event-to-get-the-applied-tag-to-a-contact/81409/1 "2020-12-24T12:43:18Z")

</div>

On behalf of Pabbly Connect Integration, I would like to ask about Webhooks.

I tried all the events but unable to find an event that can return the applied tags only in a contact.

Is there a way? I have used contact.edit event to get the edited contact but, How can I find only the applied tag in that contact?

---

<div class="post-metadata">

**Author:** ![John\_Borelli](https://sea1.discourse-cdn.com/flex019/user_avatar/integration.keap.com/john_borelli/32/11880_2.png) [@John\_Borelli](https://integration.keap.com/u/John_Borelli)\
**Post date:** [December 24, 2020, 4:26pm UTC](https://integration.keap.com/t/is-there-a-webhook-event-to-get-the-applied-tag-to-a-contact/81409/2 "2020-12-24T16:26:08Z")

</div>

Yes, if you goto [Keap REST API](https://developer.infusionsoft.com/docs/rest/#!/REST_Hooks/list_hook_event_types) under REST Hooks you can pull a list with the api of all currently available triggers (in this case contactGroup.applied is what you’re looking for):

 ![image](https://us1.discourse-cdn.com/flex019/uploads/infusionsoft1/original/2X/7/769a984843ee19f7775e35420d458a6d5ccf1254.png)

---

<div class="post-metadata">

**Author:** ![Danilo\_Zanni](https://avatars.discourse-cdn.com/v4/letter/d/f9ae1b/32.png) [@Danilo\_Zanni](https://integration.keap.com/u/Danilo_Zanni)\
**Post date:** [May 12, 2022, 10:14am UTC](https://integration.keap.com/t/is-there-a-webhook-event-to-get-the-applied-tag-to-a-contact/81409/3 "2022-05-12T10:14:38Z")

</div>

I downloaded this png, because it seems not present inside the rest documentation.  
Please make it available and visible there again

---

<div class="post-metadata">

**Author:** ![TomScott](https://sea1.discourse-cdn.com/flex019/user_avatar/integration.keap.com/tomscott/32/67_2.png) [@TomScott](https://integration.keap.com/u/TomScott)\
**Post date:** [May 12, 2022, 5:02pm UTC](https://integration.keap.com/t/is-there-a-webhook-event-to-get-the-applied-tag-to-a-contact/81409/4 "2022-05-12T17:02:30Z")

</div>

Good morning Danilo!

The list of available RestHook event types is constantly changing so we don’t provide it statically in the docs; you will want to make a call to [Keap REST API](https://developer.infusionsoft.com/docs/rest/#operation/list_hook_event_types) to get the current list.

---

<div class="post-metadata">

**Author:** ![Danilo\_Zanni](https://avatars.discourse-cdn.com/v4/letter/d/f9ae1b/32.png) [@Danilo\_Zanni](https://integration.keap.com/u/Danilo_Zanni)\
**Post date:** [May 16, 2022, 12:32pm UTC](https://integration.keap.com/t/is-there-a-webhook-event-to-get-the-applied-tag-to-a-contact/81409/5 "2022-05-16T12:32:48Z")

</div>

Thanks for the answer. What happens if I am listening to a hook that suddenly changes?

---

<div class="post-metadata">

**Author:** ![TomScott](https://sea1.discourse-cdn.com/flex019/user_avatar/integration.keap.com/tomscott/32/67_2.png) [@TomScott](https://integration.keap.com/u/TomScott)\
**Post date:** [May 16, 2022, 4:19pm UTC](https://integration.keap.com/t/is-there-a-webhook-event-to-get-the-applied-tag-to-a-contact/81409/6 "2022-05-16T16:19:24Z")

</div>

Events are only removed when features are removed following deprecation, and the behavior would just be to stop pushing that event to listeners.

---

<div class="post-metadata">

**Author:** ![Danilo\_Zanni](https://avatars.discourse-cdn.com/v4/letter/d/f9ae1b/32.png) [@Danilo\_Zanni](https://integration.keap.com/u/Danilo_Zanni)\
**Post date:** [May 27, 2022, 5:09pm UTC](https://integration.keap.com/t/is-there-a-webhook-event-to-get-the-applied-tag-to-a-contact/81409/7 "2022-05-27T17:09:18Z")

</div>

Ok. Another things that seems to be missing from the documentation.  
Where can I find the model of the content of every event?  
What should I expect from contactGroup.applied and contactGroup.removed ?

---

<div class="post-metadata">

**Author:** ![TomScott](https://sea1.discourse-cdn.com/flex019/user_avatar/integration.keap.com/tomscott/32/67_2.png) [@TomScott](https://integration.keap.com/u/TomScott)\
**Post date:** [May 31, 2022, 7:48pm UTC](https://integration.keap.com/t/is-there-a-webhook-event-to-get-the-applied-tag-to-a-contact/81409/8 "2022-05-31T19:48:03Z")

</div>

The payloads for each type of resthook are different, based on the object type involved. If you’d like to play with hooks you can use tools like [http://ptsv2.com/](http://ptsv2.com/) to set up/receive the hook payload. Below is a sample of the contactGroup.applied, which I ran against one of out test servers:

```auto
{
  "event_key": "contactGroup.applied",
  "object_type": "contactGroup.batch",
  "object_keys": [
    {
      "contact_details": [
        {
          "id": 2579,
          "timestamp": "2022-05-31T18:57:19Z"
        },
        {
          "id": 2483,
          "timestamp": "2022-05-31T18:57:19Z"
        },
        {
          "id": 2473,
          "timestamp": "2022-05-31T18:57:19Z"
        },
        {
          "id": 2455,
          "timestamp": "2022-05-31T18:57:19Z"
        }
      ],
      "tag_id": 113
    },
    {
      "contact_details": [
        {
          "id": 2473,
          "timestamp": "2022-05-31T18:58:13Z"
        }
      ],
      "tag_id": 91
    }
  ],
  "api_url": ""
}

```
