# Create User external\_ids parameter

**URL:** https://meta.discourse.org/t/create-user-external-ids-parameter/286072
**Category:** Development
**Tags:** rest-api
**Created:** [November 20, 2023, 1:09pm UTC](https://meta.discourse.org/t/create-user-external-ids-parameter/286072 "2023-11-20T13:09:04Z")
**Posts on this page:** 1
**Showing post:** 6

<div class="post-metadata">

### Author: ![pmusaraj](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pmusaraj/32/119489_2.png) [@pmusaraj](https://meta.discourse.org/u/pmusaraj)
#### Post date: [November 22, 2023, 5:09pm UTC](https://meta.discourse.org/t/create-user-external-ids-parameter/286072/6 "2023-11-22T17:09:40Z")

</div>

Hmm, ok. If you’re using [DiscourseConnect](https://meta.discourse.org/t/13045?silent=true), from reading the code, it looks like you can’t add the external id when creating. The code just above only handles associated accounts which are different from SSO.

Can you try making two calls: first call the same as you have now, but without the external ids, and add a second call to [updateUser](https://docs.discourse.org/#tag/Users/operation/updateUser), including the external id info? Hopefully that works.

---

_[View the full topic](https://meta.discourse.org/t/create-user-external-ids-parameter/286072)._
