# User API key instead of Admin API key?

**URL:** <https://meta.discourse.org/t/user-api-key-instead-of-admin-api-key/59713>\
**Category:** WordPress\
**Created:** [March 22, 2017, 8:39pm UTC](https://meta.discourse.org/t/user-api-key-instead-of-admin-api-key/59713 "2017-03-22T20:39:39Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![simon](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/simon/32/339122_2.png) [@simon](https://meta.discourse.org/u/simon)\
**Post date:** [March 22, 2017, 9:05pm UTC](https://meta.discourse.org/t/user-api-key-instead-of-admin-api-key/59713/2 "2017-03-22T21:05:21Z")

</div>

> [@jamescobalt](#):
>
> publishing my post to Discourse only works when I use the Admin key.

It should with a non-admin API key if the API key matches the Publishing username. Most of the SSO functionality should also work. Setting things up this way would mean that only the user for whom the API key is set will be able to publish posts. At the moment it’s not possible to add multiple API keys to the plugin.

I’ll look at this some more.

---

_[View the full topic](https://meta.discourse.org/t/user-api-key-instead-of-admin-api-key/59713)._
