# API-verzoek om een gebruiker te retourneren op basis van hun externe ID

**URL:** <https://meta.discourse.org/t/api-request-to-return-a-user-based-on-their-external-id/163413>\
**Category:** SSO\
**Tags:** discourseconnect, rest-api\
**Created:** [8 september 2020 om 19:55 UTC](https://meta.discourse.org/t/api-request-to-return-a-user-based-on-their-external-id/163413 "2020-09-08T19:55:24Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![rossinboulder](https://avatars.discourse-cdn.com/v4/letter/r/35a633/32.png) [@rossinboulder](https://meta.discourse.org/u/rossinboulder)\
**Post date:** [8 september 2020 om 19:55 UTC](https://meta.discourse.org/t/api-request-to-return-a-user-based-on-their-external-id/163413/1 "2020-09-08T19:55:24Z")

</div>

Does anyone know how can I obtain the “external\_id” for a user from the api? I added an external\_id at the sso login, but now when I query users, I do not see any “external\_id” in the user hash returned by the API. I’m trying to use the external\_id as a way to identify users from my database when processing a webhook.

---

_[View the full topic](https://meta.discourse.org/t/api-request-to-return-a-user-based-on-their-external-id/163413)._
