# How to trigger User event listener from REST API?

**URL:** <https://forum.flowable.org/t/how-to-trigger-user-event-listener-from-rest-api/10994>\
**Category:** Flowable Engine\
**Created:** [November 6, 2023, 8:51am UTC](https://forum.flowable.org/t/how-to-trigger-user-event-listener-from-rest-api/10994 "2023-11-06T08:51:36Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![fdawagne](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.flowable.org/fdawagne/32/3304_2.png) [@fdawagne](https://forum.flowable.org/u/fdawagne)\
**Post date:** [November 6, 2023, 8:51am UTC](https://forum.flowable.org/t/how-to-trigger-user-event-listener-from-rest-api/10994/1 "2023-11-06T08:51:36Z")

</div>

Hello,

We are trying to trigger various User event listener using the rest API, to indicate the user is cancelling the current stage (and going back to a previous stage in the process). We tested our CMMN using Flowable UI (Tasks module) and it works as intended.  
However in Swagger, when trying to trigger the User event listener, it always requires the channel, which I can’t specify in the User event listener. What am I missing ?

Thanks in advance,

Florence

---

<div class="post-metadata">

**Author:** ![joram](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.flowable.org/joram/32/26_2.png) [@joram](https://forum.flowable.org/u/joram)\
**Post date:** [November 14, 2023, 12:12pm UTC](https://forum.flowable.org/t/how-to-trigger-user-event-listener-from-rest-api/10994/2 "2023-11-14T12:12:45Z")

</div>

That’s because it’s actually a generic endpoint: /cmmn-runtime/plan-item-instances/{planItemInstanceId} where the planItemInstanceId is the id of your user event listener (instance, not the model id).
