# Getting an error when trying to create a webhook via API for a workspace

**URL:** <https://forum.asana.com/t/getting-an-error-when-trying-to-create-a-webhook-via-api-for-a-workspace/982262>\
**Category:** API & Developers\
**Tags:** webhooks, workspaces\
**Created:** [21 November 2024 04:03 UTC](https://forum.asana.com/t/getting-an-error-when-trying-to-create-a-webhook-via-api-for-a-workspace/982262 "2024-11-21T04:03:02Z")\
**Posts on this page:** 1\
**Showing post:** 13

<div class="post-metadata">

**Author:** ![Phil\_Seeman](https://sea2.discourse-cdn.com/asana/user_avatar/forum.asana.com/phil_seeman/32/81525_2.png) [@Phil\_Seeman](https://forum.asana.com/u/Phil_Seeman)\
**Post date:** [25 November 2024 00:01 UTC](https://forum.asana.com/t/getting-an-error-when-trying-to-create-a-webhook-via-api-for-a-workspace/982262/13 "2024-11-25T00:01:16Z")

</div>

Were you able to get teams added/changed/removed working or no? You said “fixed it” but then mentioned getting an error.

FWIW I don’t believe `teams` is supported for workspace-level webhooks; I had forgotten about this thread:

> [@Can't Create Organizational-level Webhook](https://forum.asana.com/t/cant-create-organizational-level-webhook/92716):
>
> Hi, I tried to setup a Webhook to listen to task completions at the organizational level, but I was returned status 403. The error was `“invalid\_filters\_for\_larger\_scoped\_webhooks” and the message was “Webhooks for larger scoped resources must have at least one filter and all filters must be in our whitelist.” I tried filtering the events to only receive “marked\_complete” and “marked\_incomplete”, but I was returned the same error. How can I resolve this error?

---

_[View the full topic](https://forum.asana.com/t/getting-an-error-when-trying-to-create-a-webhook-via-api-for-a-workspace/982262)._
