# API Get User By Associated Account ID

**URL:** https://meta.discourse.org/t/api-get-user-by-associated-account-id/184812
**Category:** Support
**Created:** [March 30, 2021, 2:56am UTC](https://meta.discourse.org/t/api-get-user-by-associated-account-id/184812 "2021-03-30T02:56:58Z")
**Posts on this page:** 1
**Showing post:** 4

<div class="post-metadata">

### Author: ![david](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/david/32/157490_2.png) [@david](https://meta.discourse.org/u/david)
#### Post date: [March 30, 2021, 3:56pm UTC](https://meta.discourse.org/t/api-get-user-by-associated-account-id/184812/4 "2021-03-30T15:56:16Z")

</div>

You should be able to use this for both Discord and Steam logins:

> [@Finding a user by their identity provider 'external ID'](https://meta.discourse.org/t/find-a-user-by-their-identity-provider-external-id/169723):
>
> bookmark This guide explains how to find a Discourse user based on their external\_id from an identity provider using API calls. person_raising_hand Required user level: Administrator When using an external authentication system, Discourse keeps track of two user ids: the Discourse user\_id, and an external\_id from the identity provider. If you need to lookup a Discourse user based on the external\_id, this #howto article is for you! Below, you’ll learn how to perform this operation. API S…

---

_[View the full topic](https://meta.discourse.org/t/api-get-user-by-associated-account-id/184812)._
