# PMI not been generated when creating user via API using create action

**URL:** <https://devforum.zoom.us/t/pmi-not-been-generated-when-creating-user-via-api-using-create-action/91648>\
**Category:** API and Webhooks\
**Tags:** api\
**Created:** [July 12, 2023, 3:49am UTC](https://devforum.zoom.us/t/pmi-not-been-generated-when-creating-user-via-api-using-create-action/91648 "2023-07-12T03:49:44Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![yashpal.m](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/yashpal.m/32/50170_2.png) [@yashpal.m](https://devforum.zoom.us/u/yashpal.m)\
**Post date:** [July 12, 2023, 3:49am UTC](https://devforum.zoom.us/t/pmi-not-been-generated-when-creating-user-via-api-using-create-action/91648/1 "2023-07-12T03:49:44Z")

</div>

Hi I m using zoom v2 api with create action for user type-1( basic user) user is created successfully with api php code but unable to retrieve pmi(personal meeting id) in response of user data and also after creating user i got first name and last name of userid created but not found its value while retrieving same user id data with api code

---

<div class="post-metadata">

**Author:** ![chunsiong.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/chunsiong.zoom/32/35488_2.png) [@chunsiong.zoom](https://devforum.zoom.us/u/chunsiong.zoom)\
**Post date:** [July 12, 2023, 6:59am UTC](https://devforum.zoom.us/t/pmi-not-been-generated-when-creating-user-via-api-using-create-action/91648/2 "2023-07-12T06:59:49Z")

</div>

@yashpal.m ,

after creating a user, have you activated it?

---

<div class="post-metadata">

**Author:** ![yashpal.m](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/yashpal.m/32/50170_2.png) [@yashpal.m](https://devforum.zoom.us/u/yashpal.m)\
**Post date:** [July 12, 2023, 7:12am UTC](https://devforum.zoom.us/t/pmi-not-been-generated-when-creating-user-via-api-using-create-action/91648/3 "2023-07-12T07:12:01Z")

</div>

Yes I have activated user after creating it with zoom v2 api with php code i have chosen JWT but still not getting pmi after user creation

---

<div class="post-metadata">

**Author:** ![chunsiong.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/chunsiong.zoom/32/35488_2.png) [@chunsiong.zoom](https://devforum.zoom.us/u/chunsiong.zoom)\
**Post date:** [July 12, 2023, 7:27am UTC](https://devforum.zoom.us/t/pmi-not-been-generated-when-creating-user-via-api-using-create-action/91648/4 "2023-07-12T07:27:27Z")

</div>

@yashpal.m

I’ve just added a create user, activated it.

When I call the API to list users, or get user, I can retrieve this specific user’s PMI

---

<div class="post-metadata">

**Author:** ![yashpal.m](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/yashpal.m/32/50170_2.png) [@yashpal.m](https://devforum.zoom.us/u/yashpal.m)\
**Post date:** [July 12, 2023, 7:37am UTC](https://devforum.zoom.us/t/pmi-not-been-generated-when-creating-user-via-api-using-create-action/91648/5 "2023-07-12T07:37:37Z")

</div>

which user type and login type you are using i m using usertype 1 and login\_type100 may i get code sample?

---

<div class="post-metadata">

**Author:** ![chunsiong.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/chunsiong.zoom/32/35488_2.png) [@chunsiong.zoom](https://devforum.zoom.us/u/chunsiong.zoom)\
**Post date:** [July 12, 2023, 7:43am UTC](https://devforum.zoom.us/t/pmi-not-been-generated-when-creating-user-via-api-using-create-action/91648/6 "2023-07-12T07:43:48Z")

</div>

@yashpal.m ,

I’m using this API to create user, type 1

> **[Zoom Meeting API](https://developers.zoom.us/docs/api/rest/reference/zoom-api/methods/#operation/userCreate)**
>
> API Reference for /docs/api/rest/reference/zoom-api/methods

I don’t have the code sample, and this is called using postman

 ![image](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/1/8/18ac3541fe65da5dfdfe8538571fb4b51f306658.png)

I’m using this API to get user. The returned login type is 100.

> **[Zoom Meeting API](https://developers.zoom.us/docs/api/rest/reference/zoom-api/methods/#operation/user)**
>
> API Reference for /docs/api/rest/reference/zoom-api/methods

---

<div class="post-metadata">

**Author:** ![yashpal.m](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/yashpal.m/32/50170_2.png) [@yashpal.m](https://devforum.zoom.us/u/yashpal.m)\
**Post date:** [July 12, 2023, 7:55am UTC](https://devforum.zoom.us/t/pmi-not-been-generated-when-creating-user-via-api-using-create-action/91648/7 "2023-07-12T07:55:49Z")

</div>

Ok Thanks,So Much I Got It

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/6/1/614bdd549b610bbaa46ff934617683a02bdaa03c.png) [@system](https://devforum.zoom.us/u/system)\
**Post date:** [July 14, 2024, 11:32pm UTC](https://devforum.zoom.us/t/pmi-not-been-generated-when-creating-user-via-api-using-create-action/91648/8 "2024-07-14T23:32:44Z")

</div>

Closed on July 14, 2024, 11:32pm UTC

This topic was automatically closed 368 days after the last reply. New replies are no longer allowed.
