# Feature OP-16462 - Parameter to avoid triggering webhook when doing things via API

Project: OpenProject
Status: new
URL: https://community.openproject.org/work_packages/OP-16462

## Planning

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | Medium |
| Target versions | Wish List |
| Sprint |  |
| Backlog bucket |  |
| Votes | 1 |
| List |  |
| Roadmap |  |
| Relevance |  |

## OPEN POINTS / FEEDBACK

_No work packages_

## Features and Chunks

_No work packages_

## Bugs and other work packages

_No work packages_

## Technical Details

| Attribute | Value |
| --- | --- |
| Module |  |
| Feature Flag |  |
| Requires doc change | No |
| Enterprise plan |  |

## Details

| Attribute | Value |
| --- | --- |
| Pull preview |  |
| Mockups |  |
| Accessibility | No |

## People

| Attribute | Value |
| --- | --- |
| Assignee |  |
| Accountable |  |
| Product manager |  |
| Feature Lead |  |
| Developers |  |
| Designer |  |
| Ordered by |  |
| Signed off by |  |
| Interest by |  |

## Estimates and progress

| Attribute | Value |
| --- | --- |
| PD (min) |  |
| PD (max) |  |
| Work |  |
| Labor costs |  |

## Description

**As** a developer  
**I want to** use the API to update work packages, providing a parameter (similar to _notify)_&nbsp;  
**so that** a webhook is not fired for that specific action. 

Otherwise, if you use the API to update something about the triggering work package, you may end up with an infinite loop of updates triggering updates.

**Acceptance criteria**

*   A new query parameter is added to endpoints in /api/v3/work\_packages (similar to _notify_, maybe _webhook_) that could be set to `_false_` _(_`_true_` _by default)_
    
*   When an API action is committed with ?_webhook_\=`false`, the next notification &quot;roll up&quot; containing that action, that would trigger a webhook firing, should not fire. 
    
    <br>
    

This is essentially, copying the _notify_ behavior but for webhooks. Webhooks currently follow a similar pattern to notifications, so this would just bring in some parity.
