# Support add/remove participant member list via app or web service call

**URL:** <https://discuss.workflowgen.com/t/support-add-remove-participant-member-list-via-app-or-web-service-call/2189>\
**Category:** Development\
**Created:** [January 15, 2024, 12:06pm UTC](https://discuss.workflowgen.com/t/support-add-remove-participant-member-list-via-app-or-web-service-call/2189 "2024-01-15T12:06:54Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sven](https://avatars.discourse-cdn.com/v4/letter/s/e47c2d/32.png) [@Sven](https://discuss.workflowgen.com/u/Sven)\
**Post date:** [January 15, 2024, 12:06pm UTC](https://discuss.workflowgen.com/t/support-add-remove-participant-member-list-via-app-or-web-service-call/2189/1 "2024-01-15T12:06:54Z")

</div>

Hi,

I would like to manage the members of the participant per process instance based on a given parameter.  
I saw it is posible via GraphQL Api, but I am looking for an WorkflowGen app or a Web service Call?

Thanks sven

---

<div class="post-metadata">

**Author:** ![lyelle](https://yyz2.discourse-cdn.com/flex030/user_avatar/discuss.workflowgen.com/lyelle/32/455_2.png) [@lyelle](https://discuss.workflowgen.com/u/lyelle)\
**Post date:** [January 16, 2024, 3:21pm UTC](https://discuss.workflowgen.com/t/support-add-remove-participant-member-list-via-app-or-web-service-call/2189/2 "2024-01-16T15:21:26Z")

</div>

Hello Sven,

The GraphQL API or the Webhook API can be called from the WorkflowGen application RestApiClient.

This would allow you to make a process that would launch a GraphQL request you saw possible from a WorkflowGen process.

Here is an exemple of a Webhook request made with RestApiClient:

 ![Capture d’écran, le 2024-01-16 à 10.15.06](https://canada1.discourse-cdn.com/flex030/uploads/workflowgen/original/1X/4fd639bdf6bfa81002d187bf1253b3312015beb0.png)

The app\_url is a mix of the WorkflowGen macro for the URL followed by **/hooks/** and then a parameter value **{token}**.

In this example we use the webhook operation to add a user to a group with **addUsersToGroup**.

And we give the operation two input id and userids with the parameters **args.input.id** and **args.input.userids\_\_0**.

A similar structure is used when making a call to GraphQL when using the RestApiClient.

If you would like assistance in building the call to GraphQL or Webhook API from the RestApiClient application, please contact us with a support ticket.

Regards,  
Lynn
