# Checking For Unique Username via API?

**URL:** <https://meta.discourse.org/t/checking-for-unique-username-via-api/306504>\
**Category:** SSO\
**Tags:** rest-api\
**Created:** [May 2, 2024, 6:07pm UTC](https://meta.discourse.org/t/checking-for-unique-username-via-api/306504 "2024-05-02T18:07:17Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![supermathie](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/supermathie/32/507518_2.png) [@supermathie](https://meta.discourse.org/u/supermathie)\
**Post date:** [May 2, 2024, 9:48pm UTC](https://meta.discourse.org/t/checking-for-unique-username-via-api/306504/4 "2024-05-02T21:48:01Z")

</div>

> [@Earnie\_Baird](#):
>
> when I send Bill two times the second Bill is created as Bill1

Exactly! The most important thing is keeping your external ID unique for the user. pass in a “sensible” username and let Discourse do the work.

---

_[View the full topic](https://meta.discourse.org/t/checking-for-unique-username-via-api/306504)._
