# Feature OP-18394 - Webhooks should indicate which user caused a change

Project: OpenProject
Status: closed
URL: https://community.openproject.org/work_packages/OP-18394

## Planning

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | Medium |
| Target versions | 17.3.0 |
| Sprint | 17.3.0 |
| Backlog bucket |  |
| Votes |  |
| 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 | API / Webhooks |
| Feature Flag |  |
| Requires doc change | No |
| Enterprise plan |  |

## Details

| Attribute | Value |
| --- | --- |
| Pull preview |  |
| Mockups |  |
| Found in mobile app version |  |
| Follow-up feedback e-mail |  |
| Accessibility | No |

## People

| Attribute | Value |
| --- | --- |
| Assignee |  |
| Accountable |  |
| Product manager |  |
| Developers | Jan Sandbrink |
| Designer |  |
| Ordered by |  |
| Signed off by |  |
| Interest by |  |

## Estimates and progress

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

## Description

**As a** user,  
**I want** webhooks to explicitly indicate who caused a change,  
**so that** I can write automations based on the webhooks that can act based on the user doing an update.

### Acceptance criteria

*   Webhooks are extended by an `actor` key that indicates who caused a give change (e.g. author for creations or &quot;updater&quot; for updates)
    
*   `actor` is a JSON object generated through a regular API user representer
    

### Example

```json
{
  "action": "updated",
  "actor": { ... },
  "work_package": { ... }
}
```
