Skip to main content

I am trying out the Rest hook trigger, and I noticed that upon creating a new Zap using a Zap integration with REST hook trigger (instead of polling), my API receives two requests

 

```
{
  hookUrl: 'https://hooks.zapier.com/hooks/standard/20143005/ac08580f53154a368db8d783da5f7a1c/',
  user_id: '12345',
  event_name: 'something.happened'
}
Headers: {
  host: 'xxx.ngrok-free.app',
  'user-agent': 'Zapier',
  'content-length': '148',
  accept: 'application/json',
  'accept-encoding': 'gzip,deflate',
  'content-type': 'application/json',
  'x-forwarded-host': 'xxx.ngrok-free.app',
  'x-forwarded-proto': 'https'
}

```
and

```
{
  hookUrl: 'https://zapier.com/hooks/standard/20143005/ac08580f53154a368db8d783da5f7a1c/',
  user_id: '12345',
  event_name: 'something.happened'
}
Headers: {
  host: 'xxx.ngrok-free.app',
  'user-agent': 'Zapier',
  'content-length': '142',
  accept: 'application/json',
  'accept-encoding': 'gzip,deflate',
  'content-type': 'application/json',
  'x-forwarded-host': 'xxx.ngrok-free.app',
  'x-forwarded-proto': 'https'
}
```

As you can see, the payload are identical only one uses `hooks.zapier.com` for the `hookUrl`, while the second uses `hooks.zapier.com`.

I cannot find this behaviour being documented anywhere and right now, I am not sure which hookUrl to use (or when one would one to use one over the other)

Hi ​@dade 

If this is related to a Zap app integration on the Zapier Developer Platform, make sure to post your topic in the category: Developer Zone

https://community.zapier.com/p/developer-zone