# Create apikey for user programmatically as admin

**URL:** <https://meta.discourse.org/t/create-apikey-for-user-programmatically-as-admin/209733>\
**Category:** Development\
**Tags:** rest-api\
**Created:** [November 20, 2021, 8:55pm UTC](https://meta.discourse.org/t/create-apikey-for-user-programmatically-as-admin/209733 "2021-11-20T20:55:11Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)\
**Post date:** [November 20, 2021, 9:29pm UTC](https://meta.discourse.org/t/create-apikey-for-user-programmatically-as-admin/209733/2 "2021-11-20T21:29:02Z")

</div>

What problem is generating these keys going to solve? Maybe there’s another way and maybe knowing more will suggest a solution.

---

_[View the full topic](https://meta.discourse.org/t/create-apikey-for-user-programmatically-as-admin/209733)._
