# Account is not getting created automatically even though the user type is provider

**URL:** <https://devforum.zoom.us/t/account-is-not-getting-created-automatically-even-though-the-user-type-is-provider/1464>\
**Category:** API and Webhooks\
**Created:** [July 18, 2018, 11:37am UTC](https://devforum.zoom.us/t/account-is-not-getting-created-automatically-even-though-the-user-type-is-provider/1464 "2018-07-18T11:37:23Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sri\_Kandadai](https://avatars.discourse-cdn.com/v4/letter/s/c57346/32.png) [@Sri\_Kandadai](https://devforum.zoom.us/u/Sri_Kandadai)\
**Post date:** [July 18, 2018, 11:37am UTC](https://devforum.zoom.us/t/account-is-not-getting-created-automatically-even-though-the-user-type-is-provider/1464/1 "2018-07-18T11:37:23Z")

</div>

We are working towards integrating Zoom into our existing EHR system for Telehealth. We are following the instructions provided here [https://developer.zoom.us/blog/integrating-zoom-with-a-emr-platform/](https://developer.zoom.us/blog/integrating-zoom-with-a-emr-platform/)

However we are facing an issue if we try to create a meeting with a user (email) who doesn’t exists in our account. But as per the instructions given in the above link, if the requested user does not exists in the system then Zoom should auto-create account for that user and schedule the meeting, if user type is Provider. But, this is not happening in our case and we are facing issue as ‘User \<emailID\> not exist or not belong to this account. (1,001)’. So we are not sure why this error is coming. It would be great, if someone could help us to resolve this issue.

&nbsp;

For Reference: (Instruction provided in the above link)

- When Zoom platform receives this request, it finds your account with org\_id and decrypts the data with your account API secret to find the values for usertype, sessionid, userid, first and last names. If the “usertype” = 1 (provider), Zoom auto-creates the account for that user, auto-creates a meeting with the “sessionid” and returns back a meeting URL. If the “usertype=2” (patient or visitor), Zoom checks to see if a meeting exist with that “sessionid” and returns the meeting URL. “sessionid” should be the same between the patient and provider calls and that tells Zoom to put them in the same meeting.

&nbsp;

This is the sample link that we are using to create meeting.

[https://zoom.us/telehealth?org\_id=abHe-35hS2ObC63npczfRw&data=cp%2BovjrP7Pnk5GTxSa8vuRatsn9IrnNf7pHqHAubeG1Gu%2BDv9HYvVPFS8gm%2BGYKc%2BAa956%2FLBG6zYsPvgw1d0mMlZQfgLqye6IO0h1WFdoGXaCp6%2FOBquXbKkt7mvpsF](https://zoom.us/telehealth?org_id=abHe-35hS2ObC63npczfRw&data=cp%2BovjrP7Pnk5GTxSa8vuRatsn9IrnNf7pHqHAubeG1Gu%2BDv9HYvVPFS8gm%2BGYKc%2BAa956%2FLBG6zYsPvgw1d0mMlZQfgLqye6IO0h1WFdoGXaCp6%2FOBquXbKkt7mvpsF)

&nbsp;

---

<div class="post-metadata">

**Author:** ![TimZoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/timzoom/32/978_2.png) [@TimZoom](https://devforum.zoom.us/u/TimZoom)\
**Post date:** [January 18, 2019, 9:26pm UTC](https://devforum.zoom.us/t/account-is-not-getting-created-automatically-even-though-the-user-type-is-provider/1464/2 "2019-01-18T21:26:10Z")

</div>

Closed on January 18, 2019, 9:26pm UTC


