# \`sendAppInvitation\` API fails with participant UUID as parameter(s)

**URL:** <https://devforum.zoom.us/t/sendappinvitation-api-fails-with-participant-uuid-as-parameter-s/70438>\
**Category:** Zoom Apps\
**Created:** [June 13, 2022, 4:12pm UTC](https://devforum.zoom.us/t/sendappinvitation-api-fails-with-participant-uuid-as-parameter-s/70438 "2022-06-13T16:12:02Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![om7](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/om7/32/36428_2.png) [@om7](https://devforum.zoom.us/u/om7)\
**Post date:** [June 13, 2022, 4:12pm UTC](https://devforum.zoom.us/t/sendappinvitation-api-fails-with-participant-uuid-as-parameter-s/70438/1 "2022-06-13T16:12:02Z")

</div>

Hey,

I think this may be a bug with the `sendAppInvitation` API;

We call the method with a `user_list` containing `participantUUID`, but receive an error saying that `participantId` is deprectated. See our app’s logs with explanation:

 ![Screen Shot 2022-06-13 at 11.06.12](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/5/b/5bba4972d6c6151ee324d34ef2f41ea1b9331099.png)

Any ideas? @evgeny.balashov

Thanks!

Oliver

---

<div class="post-metadata">

**Author:** ![om7](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/om7/32/36428_2.png) [@om7](https://devforum.zoom.us/u/om7)\
**Post date:** [June 13, 2022, 7:06pm UTC](https://devforum.zoom.us/t/sendappinvitation-api-fails-with-participant-uuid-as-parameter-s/70438/2 "2022-06-13T19:06:12Z")

</div>

Also, I tried it using the actual `participantId` and that fails, too. So it may just be a bug with the validation of the parameters? 🤔

---

<div class="post-metadata">

**Author:** ![Robert.Wallis](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/robert.wallis/32/38438_2.png) [@Robert.Wallis](https://devforum.zoom.us/u/Robert.Wallis)\
**Post date:** [June 13, 2022, 8:16pm UTC](https://devforum.zoom.us/t/sendappinvitation-api-fails-with-participant-uuid-as-parameter-s/70438/3 "2022-06-13T20:16:39Z")

</div>

This is an issue on our end. We are working to fix it in the SDK and the client.

Until then, I’ve tried the following two workarounds successfully in 5.10.7.7748:

1. user\_UUID\_list: [“ABCDEF01-01234-01234-01234-ABCDEF012345”]  
undocumented, participantUUID
2. user\_list: [“12345678”]  
participantID, shows a warning that it’s deprecated that has very similar text to the error

We are tracking this issue, thank you for your patience.

---

<div class="post-metadata">

**Author:** ![om7](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/om7/32/36428_2.png) [@om7](https://devforum.zoom.us/u/om7)\
**Post date:** [June 13, 2022, 8:19pm UTC](https://devforum.zoom.us/t/sendappinvitation-api-fails-with-participant-uuid-as-parameter-s/70438/4 "2022-06-13T20:19:55Z")

</div>

Thanks @Robert.Wallis. Much appreciated

---

<div class="post-metadata">

**Author:** ![om7](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/om7/32/36428_2.png) [@om7](https://devforum.zoom.us/u/om7)\
**Post date:** [June 20, 2022, 9:09pm UTC](https://devforum.zoom.us/t/sendappinvitation-api-fails-with-participant-uuid-as-parameter-s/70438/5 "2022-06-20T21:09:25Z")

</div>

Hey @Robert.Wallis, is this bug fix going to be included in the June release?

We’re super excited to use Guest mode and we want to use this API to make it seamless to invite Guests to the app! We are likely going to use the workaround suggested, but want to confirm whether it’ll work on the latest client

---

<div class="post-metadata">

**Author:** ![JonStewart](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/jonstewart/32/36192_2.png) [@JonStewart](https://devforum.zoom.us/u/JonStewart)\
**Post date:** [June 21, 2022, 7:26pm UTC](https://devforum.zoom.us/t/sendappinvitation-api-fails-with-participant-uuid-as-parameter-s/70438/6 "2022-06-21T19:26:06Z")

</div>

Oliver have you looked into using the new version of the Zoom Apps SDK? Resources are here, in this thread:

> [@Welcome to Zoom Apps SDK!](https://devforum.zoom.us/t/welcome-to-zoom-apps-sdk/70841):
>
> Zoom Apps allow you to bring your web applications front and center within Zoom Meetings and Webinars. They integrate seamlessly with Zoom using a lightweight and framework agnostic JavaScript SDK that enables you to provide a unique experience to participants and hosts of your meetings. Getting started Documentation: [Zoom Apps](https://marketplace.zoom.us/docs/zoom-apps) Video: [How to create a Zoom App](https://www.youtube.com/watch?v=otlyDxnU-RI) GitHub: [Zoom Apps SDK](https://github.com/zoom/appssdk) GitHub: [Zoom Apps Sample App](https://github.com/zoom/zoomapps-sample-js) Figma: [Zoom Apps UI Overview](https://www.figma.com/community/file/1121213064074926785)How does it work? Zoom Apps are web apps with ad…

---

<div class="post-metadata">

**Author:** ![om7](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/om7/32/36428_2.png) [@om7](https://devforum.zoom.us/u/om7)\
**Post date:** [June 22, 2022, 10:46pm UTC](https://devforum.zoom.us/t/sendappinvitation-api-fails-with-participant-uuid-as-parameter-s/70438/7 "2022-06-22T22:46:59Z")

</div>

Hey @JonStewart , we just upgraded to use v0.16.0 via the npm package today

The bug still exists, but the workaround using `user_UUID_list` works great for now!

Would appreciate if you could let us all know if/when this does get fixed, so we can migrate to `user_list` parameter

---

<div class="post-metadata">

**Author:** ![Robert.Wallis](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/robert.wallis/32/38438_2.png) [@Robert.Wallis](https://devforum.zoom.us/u/Robert.Wallis)\
**Post date:** [June 22, 2022, 11:17pm UTC](https://devforum.zoom.us/t/sendappinvitation-api-fails-with-participant-uuid-as-parameter-s/70438/8 "2022-06-22T23:17:35Z")

</div>

Oh no, the docs say that [ZoomSdk | @zoom/appssdk - v0.16.0](https://appssdk.zoom.us/classes/ZoomSdk.ZoomSdk-1.html#sendAppInvitation)

```auto
zoomSdk.sendAppInvitation({ participantUUIDs: [participantUUID1, participantUUID2, ...],});

```

sendAppInvitation uses a new parameter called participantUUIDs, are you using this and still getting an error or are you using:

```auto
zoomSdk.callZoomApi("sendAppInvitation", ...)

```

Note that callZoomApi is being deprecated.

---

<div class="post-metadata">

**Author:** ![om7](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/om7/32/36428_2.png) [@om7](https://devforum.zoom.us/u/om7)\
**Post date:** [June 23, 2022, 3:36pm UTC](https://devforum.zoom.us/t/sendappinvitation-api-fails-with-participant-uuid-as-parameter-s/70438/9 "2022-06-23T15:36:11Z")

</div>

Ah, brilliant! Thanks @Robert.Wallis. I’ll reference that set of documentation from now on. Looks great

---

<div class="post-metadata">

**Author:** ![MaxM](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/maxm/32/42303_2.png) [@MaxM](https://devforum.zoom.us/u/MaxM)\
**Post date:** [June 27, 2022, 9:11pm UTC](https://devforum.zoom.us/t/sendappinvitation-api-fails-with-participant-uuid-as-parameter-s/70438/10 "2022-06-27T21:11:08Z")

</div>

Closed on June 27, 2022, 9:11pm UTC


