# PMI value is 0 when creating user via API using ssoCreate action

**URL:** <https://devforum.zoom.us/t/pmi-value-is-0-when-creating-user-via-api-using-ssocreate-action/70791>\
**Category:** API and Webhooks\
**Created:** [June 20, 2022, 3:43pm UTC](https://devforum.zoom.us/t/pmi-value-is-0-when-creating-user-via-api-using-ssocreate-action/70791 "2022-06-20T15:43:10Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![mujeeb91](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/mujeeb91/32/38617_2.png) [@mujeeb91](https://devforum.zoom.us/u/mujeeb91)\
**Post date:** [June 20, 2022, 3:43pm UTC](https://devforum.zoom.us/t/pmi-value-is-0-when-creating-user-via-api-using-ssocreate-action/70791/1 "2022-06-20T15:43:10Z")

</div>

**Description**  
The user GET request does not return a valid PMI for users created using “ssoCreate” action. Do I need to change something to set PMI value?

**Error?**  
URL: [https://api.zoom.us/v2/users](https://api.zoom.us/v2/users)  
Method: POST  
**Payload**

```auto
{
    "action": "ssoCreate",
    "user_info": {
        "email": "thedev@abc.com",
        "password": "123456",
        "first_name": "The",
        "last_name": "Dev",
        "type": 1
    }
}

```

The user is created successfully. But when I GET the user, the PMI value is 0.

URL: [https://api.zoom.us/v2/users/](https://api.zoom.us/v2/users/)  
Method: GET  
Response

```auto
{
    "id": "<redacted>",
    "first_name": "The",
    "last_name": "Dev",
    "email": "thedev@abc.com",
    "type": 1,
    "role_name": "Member",
    "pmi": 0,
    "use_pmi": true,
    "personal_meeting_url": "",
    "verified": 1,
    "created_at": "2022-06-20T15:32:36Z",
    "host_key": "<redacted>",
    "cms_user_id": "",
    "jid": "<redacted>",
    "group_ids": [
        "<redacted>"
    ],
    "im_group_ids": [],
    "account_id": "<redacted>",
    "language": "en-US",
    "phone_country": "",
    "phone_number": "",
    "status": "active",
    "job_title": "",
    "location": "",
    "login_types": [
        101
    ],
    "role_id": "2",
    "account_number": <redacted>,
    "cluster": "us06"
}

```

---

<div class="post-metadata">

**Author:** ![rarev](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/rarev/32/38939_2.png) [@rarev](https://devforum.zoom.us/u/rarev)\
**Post date:** [July 5, 2022, 9:32pm UTC](https://devforum.zoom.us/t/pmi-value-is-0-when-creating-user-via-api-using-ssocreate-action/70791/2 "2022-07-05T21:32:18Z")

</div>

Hey @mujeeb91,

I noticed you asked this question about 2 weeks ago, are you still having the same issue?

Let us know!

---

<div class="post-metadata">

**Author:** ![mujeeb91](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/mujeeb91/32/38617_2.png) [@mujeeb91](https://devforum.zoom.us/u/mujeeb91)\
**Post date:** [July 8, 2022, 8:24am UTC](https://devforum.zoom.us/t/pmi-value-is-0-when-creating-user-via-api-using-ssocreate-action/70791/3 "2022-07-08T08:24:12Z")

</div>

Hi,

Yes, I’m still having the same issue.

---

<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:** [August 7, 2022, 6:25pm UTC](https://devforum.zoom.us/t/pmi-value-is-0-when-creating-user-via-api-using-ssocreate-action/70791/4 "2022-08-07T18:25:08Z")

</div>

Closed on August 7, 2022, 6:25pm UTC

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