What headers are needed when creating webhooks?

I am trying to create a webhook using an authenticated account on the new REST Api (oauth2). When I make the call to create the hooks, I get the response <h1>Developer Inactive</h1>. My guess is that I am not passing the correct headers on the request.

Then interactive API documentation doesn’t show or describe what headers are needed on these requests. Can you please let me know the correct way to do this? I have also tried sending the request using the Authorization header used when authenticating via oauth2 and it doesn’t work.

Thanks!

This ended up being a user error.

1 Like