# Rest Hook Verification Trouble

**URL:** <https://integration.keap.com/t/rest-hook-verification-trouble/34758>\
**Category:** API Q&A\
**Tags:** resthooks\
**Created:** [March 22, 2018, 3:15pm UTC](https://integration.keap.com/t/rest-hook-verification-trouble/34758 "2018-03-22T15:15:52Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Matt\_Sawatzky](https://avatars.discourse-cdn.com/v4/letter/m/e0b2c6/32.png) [@Matt\_Sawatzky](https://integration.keap.com/u/Matt_Sawatzky)\
**Post date:** [March 22, 2018, 3:15pm UTC](https://integration.keap.com/t/rest-hook-verification-trouble/34758/1 "2018-03-22T15:15:52Z")

</div>

Hi Everyone,

So I am trying to get a hook subscription setup. The create works fine and I get a key back.  
I’ve coded an api that infusionsoft can post to for verification. This API returns a response message with the body content as `{"key":"10"}` (10 being the key provided at create post) and then I include the header X-Hook-Secret with the value the same as what infusionsoft posts.  
Is this all I need? I still can’t get the status of my hook to verify.

Thanks

---

<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:** [March 22, 2018, 7:40pm UTC](https://integration.keap.com/t/rest-hook-verification-trouble/34758/2 "2018-03-22T19:40:03Z")

</div>

If you test it out using the interactive REST docs then you will also be able to look at the response and return header values to determine why the status isn’t ‘verified’

[https://developer.infusionsoft.com/docs/rest/#!/REST\_Hooks/list\_hook\_event\_types](https://developer.infusionsoft.com/docs/rest/#!/REST_Hooks/list_hook_event_types)

---

<div class="post-metadata">

**Author:** ![Matt\_Sawatzky](https://avatars.discourse-cdn.com/v4/letter/m/e0b2c6/32.png) [@Matt\_Sawatzky](https://integration.keap.com/u/Matt_Sawatzky)\
**Post date:** [March 23, 2018, 12:25pm UTC](https://integration.keap.com/t/rest-hook-verification-trouble/34758/3 "2018-03-23T12:25:56Z")

</div>

Hi John, I appreciate the response.  
This is return headers provided… unfortunately I don’t see anything of use here, do you mind taking a look?

```auto
{
  "x-plan-qps-allotted": "25",
  "x-plan-quota-allotted": "125000",
  "pragma": "no-cache, no-cache",
  "x-plan-quota-reset": "Saturday, March 24, 2018 12:00:00 AM GMT",
  "x-mashery-message-id": "ed03d109-0395-4fef-92f4-111b35daa041",
  "content-type": "application/json;charset=UTF-8",
  "x-plan-qps-current": "1",
  "cache-control": "no-cache, no-store, no-cache, no-store, max-age=0, must-revalidate",
  "x-plan-quota-current": "2",
  "x-mashery-responder": "prod-j-worker-us-west-1c-11.mashery.com",
  "expires": "Fri, 23 Mar 2018 12:21:10 GMT, 0"
}

```

This is from the verify post where, I just provide the key.

---

<div class="post-metadata">

**Author:** ![Matt\_Sawatzky](https://avatars.discourse-cdn.com/v4/letter/m/e0b2c6/32.png) [@Matt\_Sawatzky](https://integration.keap.com/u/Matt_Sawatzky)\
**Post date:** [March 23, 2018, 1:12pm UTC](https://integration.keap.com/t/rest-hook-verification-trouble/34758/4 "2018-03-23T13:12:02Z")

</div>

Nevermind I figured t out… Something to do with my IIS settings. Thanks anyway.

---

<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:** [March 23, 2018, 3:29pm UTC](https://integration.keap.com/t/rest-hook-verification-trouble/34758/5 "2018-03-23T15:29:58Z")

</div>

Hi @Matt_Sawatzky,

First, glad to hear you got it worked out. Also, if it’s something that interfered then what might that be with IIS? It might help someone else experiencing the same problem someday in a search on the forum.
