# Expose external\_id in embed.js

**URL:** <https://meta.discourse.org/t/expose-external-id-in-embed-js/280834>\
**Category:** Feature\
**Tags:** embedding\
**Created:** [October 3, 2023, 5:35am UTC](https://meta.discourse.org/t/expose-external-id-in-embed-js/280834 "2023-10-03T05:35:16Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![Aaron\_B](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/aaron_b/32/327391_2.png) [@Aaron\_B](https://meta.discourse.org/u/Aaron_B)\
**Post date:** [October 3, 2023, 2:16pm UTC](https://meta.discourse.org/t/expose-external-id-in-embed-js/280834/3 "2023-10-03T14:16:46Z")

</div>

I’m looking to have something in the formatted form of embedded posts. Discourse does a great job with that layout already and I don’t want to reinvent the wheel.

By not allowing to search by external\_id, I would have to store the forum topic id in my db and search that way. Seems redundant when we already have a unique variable stored in external\_id when I created the topic from the API.

---

_[View the full topic](https://meta.discourse.org/t/expose-external-id-in-embed-js/280834)._
