# How to Retrieve user\_api\_keys Value via API

**URL:** https://meta.discourse.org/t/how-to-retrieve-user-api-keys-value-via-api/327679
**Category:** Development
**Created:** [September 23, 2024, 4:42am UTC](https://meta.discourse.org/t/how-to-retrieve-user-api-keys-value-via-api/327679 "2024-09-23T04:42:21Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![RGJ](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/rgj/32/523185_2.png) [@RGJ](https://meta.discourse.org/u/RGJ)
#### Post date: [September 23, 2024, 5:47am UTC](https://meta.discourse.org/t/how-to-retrieve-user-api-keys-value-via-api/327679/2 "2024-09-23T05:47:17Z")

</div>

> [@wings](#):
>
> My question is: is there any way to retrieve `user_api_keys` using the API?

No, they are shown once and then only a hash is stored.

> [@wings](#):
>
> to avoid requiring the user to approve authorization a second time after they’ve already authorized it during the first login by clicking the button.

The user API key should be stored in your app, preferably on the end users device. The whole reason for a user API key is that they have “proof” of authorization and they are responsible for storing that.

---

_[View the full topic](https://meta.discourse.org/t/how-to-retrieve-user-api-keys-value-via-api/327679)._
