# Discourse headless?

**URL:** <https://meta.discourse.org/t/discourse-headless/137893>\
**Category:** Self-hosting\
**Created:** [January 6, 2020, 5:28pm UTC](https://meta.discourse.org/t/discourse-headless/137893 "2020-01-06T17:28:52Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![Falco](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/falco/32/179432_2.png) [@Falco](https://meta.discourse.org/u/Falco)\
**Post date:** [January 6, 2020, 6:36pm UTC](https://meta.discourse.org/t/discourse-headless/137893/4 "2020-01-06T18:36:32Z")

</div>

I would make my custom app set a custom header when calling the Discourse API, and add a small rule on the internal Discourse nginx to 403 all requests without the special header.

---

_[View the full topic](https://meta.discourse.org/t/discourse-headless/137893)._
