# 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:** 1

<div class="post-metadata">

**Author:** ![Noone](https://avatars.discourse-cdn.com/v4/letter/n/ecae2f/32.png) [@Noone](https://meta.discourse.org/u/Noone)\
**Post date:** [November 20, 2021, 8:55pm UTC](https://meta.discourse.org/t/create-apikey-for-user-programmatically-as-admin/209733/1 "2021-11-20T20:55:11Z")

</div>

Hello everyone, happy halloween and happy holidays.

Is there a way to create an apikey for each user created as an admin, there is [User API keys specification](https://meta.discourse.org/t/user-api-keys-specification/48536) which needs user approval , is there a way to create per user apikey programmatically by using admin apikey ?

Thanks in advance.

---

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