# Add Zoom user when WordPress User creation completed

**URL:** <https://devforum.zoom.us/t/add-zoom-user-when-wordpress-user-creation-completed/1543>\
**Category:** API and Webhooks\
**Created:** [August 10, 2018, 8:55pm UTC](https://devforum.zoom.us/t/add-zoom-user-when-wordpress-user-creation-completed/1543 "2018-08-10T20:55:01Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ryan\_Smith](https://avatars.discourse-cdn.com/v4/letter/r/7cd45c/32.png) [@Ryan\_Smith](https://devforum.zoom.us/u/Ryan_Smith)\
**Post date:** [August 10, 2018, 8:55pm UTC](https://devforum.zoom.us/t/add-zoom-user-when-wordpress-user-creation-completed/1543/1 "2018-08-10T20:55:01Z")

</div>

Hello, I’m trying to make this API work with a membership site. When someone signs up for an account on my site I want a Zoom user to be created.

I’m also trying to make it so that the Zoom UserID is linked to the WordPress account, I’m assuming by email used to sign up, so that whenever someone is signed in to my WordPress site, they will only see their meetings, but will not be required to log in to Zoom because they’ve already logged into the website.

---

<div class="post-metadata">

**Author:** ![michael\_p.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/michael_p.zoom/32/18105_2.png) [@michael\_p.zoom](https://devforum.zoom.us/u/michael_p.zoom)\
**Post date:** [August 10, 2018, 9:13pm UTC](https://devforum.zoom.us/t/add-zoom-user-when-wordpress-user-creation-completed/1543/2 "2018-08-10T21:13:40Z")

</div>

Hi Ryan,&nbsp;

When someone signs up on your site you can take their email and call the [create-a-user](https://devdocs.zoom.us/v1.0/reference#usercreate)API and store their Zoom info. From then, after they login again you can use their Zoom ID call our other APIs such as [create a meeting](https://devdocs.zoom.us/v1.0/reference#meetingcreate) or [list meetings](https://devdocs.zoom.us/v1.0/reference#meetings-1).

Thanks

---

<div class="post-metadata">

**Author:** ![Ryan\_Smith](https://avatars.discourse-cdn.com/v4/letter/r/7cd45c/32.png) [@Ryan\_Smith](https://devforum.zoom.us/u/Ryan_Smith)\
**Post date:** [August 10, 2018, 9:34pm UTC](https://devforum.zoom.us/t/add-zoom-user-when-wordpress-user-creation-completed/1543/3 "2018-08-10T21:34:27Z")

</div>

Hello Michael,&nbsp;

Thanks so much for the quick response! So, if someone logs in I can grab the current user ID and by then I get the email. I can do this by using get\_current\_user\_id() and get\_userdata(). But isn’t the Zoom User ID a string of random letters and numbers? Would I just make a check that the WordPress current user email is equal to the Zoom User’s email?

Will this work if I’m doing a custCreate with the API Plan?

---

<div class="post-metadata">

**Author:** ![michael\_p.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/michael_p.zoom/32/18105_2.png) [@michael\_p.zoom](https://devforum.zoom.us/u/michael_p.zoom)\
**Post date:** [August 10, 2018, 11:55pm UTC](https://devforum.zoom.us/t/add-zoom-user-when-wordpress-user-creation-completed/1543/4 "2018-08-10T23:55:37Z")

</div>

Hi Ryan,&nbsp;

Yes, if someone logs in you can get both their ID and email from the response, then compare the Zoom and Wordpress emails. Yes, the user ID is a character string and can work if you use the custCreate using the API plan.&nbsp;

Thanks

---

<div class="post-metadata">

**Author:** ![DeveloperBot](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/developerbot/32/12632_2.png) [@DeveloperBot](https://devforum.zoom.us/u/DeveloperBot)\
**Post date:** [August 21, 2020, 5:52pm UTC](https://devforum.zoom.us/t/add-zoom-user-when-wordpress-user-creation-completed/1543/5 "2020-08-21T17:52:41Z")

</div>

Closed on August 21, 2020, 5:52pm UTC


