# Create User API Missing ID and Name in Response

**URL:** <https://devforum.zoom.us/t/create-user-api-missing-id-and-name-in-response/91941>\
**Category:** API and Webhooks\
**Tags:** api\
**Created:** [July 17, 2023, 7:01pm UTC](https://devforum.zoom.us/t/create-user-api-missing-id-and-name-in-response/91941 "2023-07-17T19:01:52Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![afharrison](https://avatars.discourse-cdn.com/v4/letter/a/76d3ee/32.png) [@afharrison](https://devforum.zoom.us/u/afharrison)\
**Post date:** [July 17, 2023, 7:01pm UTC](https://devforum.zoom.us/t/create-user-api-missing-id-and-name-in-response/91941/1 "2023-07-17T19:01:52Z")

</div>

When creating a user via POST /users, sometimes the id and name fields are blank in the response. This seems to happen when a user account is being requested to be made that already exists in the master account/other sub account. In any case, if the user already exists _somewhere_, I would expect the response 409 Conflict with error code 1005 ‘Email “$email” has already been used.’

Request:

{  
“user\_info”: {  
“email”: “[johndoe@company.com](mailto:johndoe@company.com)”,  
“type”: “1”,  
“last\_name”: “Doe”,  
“first\_name”: “John”  
},  
“action”: “ssoCreate”  
}

Response:  
{  
“id”: “”,  
“first\_name”: “”,  
“last\_name”: “”,  
“email”: “[johndoe@company.com](mailto:johndoe@company.com)”,  
“type”: 1  
}

Note that the I changed the values sent/returned in the example above, to protect the actual user details that were actually sent/returned.

There was a [similar issue posted a few months ago](https://devforum.zoom.us/t/id-is-missing-in-api-response/46304), but the OP and the Zoom employee continued the conversation over PMs, and then closed the topic without any updates regarding the resolution.

---

<div class="post-metadata">

**Author:** ![gianni.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/gianni.zoom/32/32523_2.png) [@gianni.zoom](https://devforum.zoom.us/u/gianni.zoom)\
**Post date:** [July 17, 2023, 9:16pm UTC](https://devforum.zoom.us/t/create-user-api-missing-id-and-name-in-response/91941/2 "2023-07-17T21:16:37Z")

</div>

Hi @afharrison ,

Thanks for bringing this to the forum. I am going to get more info from you via private message, but then create a ticket with service engineering about the API behavior and updating the response for conflicts. I’ll share the service engineering ticket here on the public post.

---

<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 20, 2024, 12:53pm UTC](https://devforum.zoom.us/t/create-user-api-missing-id-and-name-in-response/91941/4 "2024-07-20T12:53:16Z")

</div>

Closed on July 20, 2024, 12:53pm UTC

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