Rest Hook Verification Trouble

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

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

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?

{
  "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.

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

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.