# Mailgun secret API key rejected

**URL:** <https://meta.discourse.org/t/mailgun-secret-api-key-rejected/61852>\
**Category:** Product Support\
**Created:** [30 Abril, 2017 10:27 UTC](https://meta.discourse.org/t/mailgun-secret-api-key-rejected/61852 "2017-04-30T10:27:45Z")\
**Posts on this page:** 1\
**Showing post:** 5

<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:** [30 Abril, 2017 16:41 UTC](https://meta.discourse.org/t/mailgun-secret-api-key-rejected/61852/5 "2017-04-30T16:41:14Z")

</div>

Strange. I just opened a ticket on Mailgun asking if the API key format has changed.

Edit: And I heard back from them. It’s still the same. @lunikon, my best guess is that you’re using an SMTP password rather than an API key. You can look at my [install FAQ](https://www.literatecomputing.com/product/discourse-install/#API) for how to find the API key.

---

_[View the full topic](https://meta.discourse.org/t/mailgun-secret-api-key-rejected/61852)._
