# Webhooks for status updates

**URL:** <https://forum.asana.com/t/webhooks-for-status-updates/224812>\
**Category:** API & Developers\
**Tags:** webhooks\
**Created:** [18 October 2022 20:07 UTC](https://forum.asana.com/t/webhooks-for-status-updates/224812 "2022-10-18T20:07:29Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Zach\_Earl](https://luna1.co/8d76cd.png) [@Zach\_Earl](https://forum.asana.com/u/Zach_Earl)\
**Post date:** [18 October 2022 20:07 UTC](https://forum.asana.com/t/webhooks-for-status-updates/224812/1 "2022-10-18T20:07:29Z")

</div>

Hello,

I’ve been having issues creating webhooks to track status updates for portfolios and for each project within a portfolio.

To troubleshoot this issue, I have created the webhooks keeping the parameters as broad as possible to capture any data. By doing this, I was able to obtain status updates for projects by:

```auto
{
            "filters": [
                {
                    "action": "changed",
                    "resource_type": "project",
                    "fields": [
                        "completed_at"
                    ]
                }
            ],
            "resource": project.asana_id,
            "target": "https://example.api.io/v1/projects/update/webhook"
        }

```

Prior to this, I had tried changing the resource to project\_status as indicated in the error message:

Invalid Request: filters: [0]: resource\_type: Must be one of `{attachment, column_recipe, conversation, custom_field, custom_field_setting, enum_option, job, portfolio, portfolio_membership, project, project_membership, project_membership_recipe, project_recipe, project_status, project_template, project_template_configuration_membership, section, story, tag, task, team, team_membership, template_task_recipe, user, webhook, workspace, workspace_membership}`

However, changing my project status would not trigger the webhook with these parameters no matter the action and it is also not listed in the documentation for resources and actions: [Webhooks](https://developers.asana.com/docs/resources-and-actions)  
Is there a better way to achieve this than watching the “completed\_at” field as I have it structured currently?

As for tracking a status for a portfolio, I’m having no success whatsoever even when maintaining broad parameters. Following the documentation linked before:

```auto
{
            "filters": [
                {
                    "action": "added",
                    "resource_type": "portfolio",

                }
            ],
            "resource": portfolio.asana_id,
            "target": "https://example.api.io/v1/projects/update/webhook"
   }

```

Asana sends back this error:

> Forbidden: Webhooks for larger scoped resources must have at least one filter and all filters must be in our whitelist.

Is there something I’m missing? I tried filtering on a field such as “current\_status\_update” but received the same error pertaining to a whitelist. I was able to resolve this error by using “project” for the resource\_type instead and using the portfolio\_id as the resource but nothing is triggering when updating the status for the portfolio. It has only triggered when adding/removing projects to the portfolio and changing the date.

Is there a better way for me to track status updates for projects than I’m currently doing and is there a way to track status updates for portfolios at all?

---

<div class="post-metadata">

**Author:** ![Bastien\_Siebman](https://sea2.discourse-cdn.com/asana/user_avatar/forum.asana.com/bastien_siebman/32/172354_2.png) [@Bastien\_Siebman](https://forum.asana.com/u/Bastien_Siebman)\
**Post date:** [19 October 2022 05:39 UTC](https://forum.asana.com/t/webhooks-for-status-updates/224812/2 "2022-10-19T05:39:13Z")

</div>

@Phil_Seeman is the web hook master, calling him for help!

---

<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:** [20 October 2022 05:51 UTC](https://forum.asana.com/t/webhooks-for-status-updates/224812/3 "2022-10-20T05:51:46Z")

</div>

Hi @Zach_Earl,

Unfortunately I haven’t really done much with webhooks at the project/portfolio level, so I don’t have any personal knowledge to impart. However, see this thread for someone who was able to figure out how to get project status updates via webhook:

> [@Listening (webhook) for new comments on a project status update](https://forum.asana.com/t/listening-webhook-for-new-comments-on-a-project-status-update/101367):
>
> I try to create a webhook for a project status update, but listening on the project itself, does not trigger any webhook event when adding a comment to a status update. I also cannot subscribe the status update directly. Is this a bug or a missing feature? Or do I do something wrong? Tried almost all combinations: await asanaClient.webhooks .createWebhook({ target: ‘[https://9306c88cc67e.ngrok.io/asana-webhook](https://9306c88cc67e.ngrok.io/asana-webhook)’, resource: ‘447128078615618’, filters: [ // with or without filters,…etc { r…

---

<div class="post-metadata">

**Author:** ![Zach\_Earl](https://luna1.co/8d76cd.png) [@Zach\_Earl](https://forum.asana.com/u/Zach_Earl)\
**Post date:** [20 October 2022 14:58 UTC](https://forum.asana.com/t/webhooks-for-status-updates/224812/4 "2022-10-20T14:58:43Z")

</div>

Unfortunately, this was something I had already tried prior to making this post to get status updates at the project level, and the webhook would fire for other comments if I recall. Any suggestions on how to create one for status updates at the portfolio level?

---

<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:** [21 October 2022 02:03 UTC](https://forum.asana.com/t/webhooks-for-status-updates/224812/5 "2022-10-21T02:03:45Z")

</div>

> [@Zach\_Earl](#):
>
> and the webhook would fire for other comments if I recall.

Right - the solution provided in that other thread does involve getting all comments for a project, and using logic on your end to figure out which ones are status updates (he explains how that logic is done), I don’t know of any other way to get project status updates via the API.

> [@Zach\_Earl](#):
>
> Any suggestions on how to create one for status updates at the portfolio level?

I don’t think that’s going to be possible. You can’t use the same logic for portfolios as he did for projects because whereas projects have a `changed` event, [portfolios only have added and deleted.](https://developers.asana.com/docs/resources-and-actions)

---

<div class="post-metadata">

**Author:** ![system](https://sea2.discourse-cdn.com/asana/user_avatar/forum.asana.com/system/32/276370_2.png) [@system](https://forum.asana.com/u/system)\
**Post date:** [30 May 2025 19:03 UTC](https://forum.asana.com/t/webhooks-for-status-updates/224812/6 "2025-05-30T19:03:20Z")

</div>

Closed on 30 May 2025 19:03 UTC


