Webhook creation fails with 403

Answered


已于 2023年4月26日 发布

I am unable to register a webhook.

I do go though the oAuth flow, which completes successfully. But when trying to trigger the webhook creation endpoint, just like in the example I do end up with an 403 error where the response body does not contain any data that would give more information to why is this happening.

The documentation does not state any thing about this behaviour, or if it requires some additional configurations.

 

Doc reference: https://developer.zendesk.com/api-reference/webhooks/webhooks-api/webhooks/#create-or-clone-webhook


2

2

2 条评论

Hey Christopher,

That seams to be it, the problem with scopes, after adding the webhook:write scope it worked out! Thanks!

0


Hi Sanel,
 
Are you using an OAuth token to authenticate your request to create the webhook?  If so, did you set the scope to give write access to all resources or write access to webhooks?

0


登录 to leave a comment.

找不到所需的内容?

新建帖子