# Can't send PM via API (HTTPUnprocessableEntity 422)

**URL:** <https://meta.discourse.org/t/cant-send-pm-via-api-httpunprocessableentity-422/55017>\
**Category:** Development\
**Tags:** rest-api\
**Created:** [January 1, 2017, 4:04am UTC](https://meta.discourse.org/t/cant-send-pm-via-api-httpunprocessableentity-422/55017 "2017-01-01T04:04:24Z")\
**Posts on this page:** 1\
**Showing post:** 14

<div class="post-metadata">

**Author:** ![tobiaseigen](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tobiaseigen/32/539204_2.png) [@tobiaseigen](https://meta.discourse.org/u/tobiaseigen)\
**Post date:** [April 15, 2019, 11:14pm UTC](https://meta.discourse.org/t/cant-send-pm-via-api-httpunprocessableentity-422/55017/14 "2019-04-15T23:14:27Z")

</div>

I have gotten 422 errors when using postman to send PMs using the wrong API key. 🙂 I have to use the admin API key to get the expected 200 response.

---

_[View the full topic](https://meta.discourse.org/t/cant-send-pm-via-api-httpunprocessableentity-422/55017)._
