# Is it possible to pass params to the api that creates Community Links?

**URL:** <https://meta.discourse.org/t/is-it-possible-to-pass-params-to-the-api-that-creates-community-links/368857>\
**Category:** Development\
**Created:** [June 4, 2025, 1:59pm UTC](https://meta.discourse.org/t/is-it-possible-to-pass-params-to-the-api-that-creates-community-links/368857 "2025-06-04T13:59:01Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

**Author:** ![merefield](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/merefield/32/176214_2.png) [@merefield](https://meta.discourse.org/u/merefield)\
**Post date:** [June 4, 2025, 3:27pm UTC](https://meta.discourse.org/t/is-it-possible-to-pass-params-to-the-api-that-creates-community-links/368857/7 "2025-06-04T15:27:04Z")

</div>

For some reason, this isn’t quite it and I’m getting some complaint about lack of `postStream` upon click:

```plaintext
api.addCommunitySectionLink((baseSectionLink) => {
        return class CustomSectionLink extends baseSectionLink {
          get name() {
            return "intersection-navigator";
          }

          get route() {
            return "tags.intersection";
          }

          get models() {
            return [{tag_id: siteSettings.discourse_tag_intersection_navigator_all_word}];
          }

          get title() {
            return I18n.t("tag_intersection_navigator.link.title")
          }

          get text() {
            return I18n.t("tag_intersection_navigator.link.text");
          }
        };
      });

```

It’s almost as if you need to include the model for the current route, which is weird!

---

_[View the full topic](https://meta.discourse.org/t/is-it-possible-to-pass-params-to-the-api-that-creates-community-links/368857)._
