# Making custom changes to the sidebar programmatically

**URL:** <https://meta.discourse.org/t/making-custom-changes-to-the-sidebar-programmatically/273027>\
**Category:** Development\
**Tags:** rest-api, sidebar\
**Created:** [July 27, 2023, 9:14am UTC](https://meta.discourse.org/t/making-custom-changes-to-the-sidebar-programmatically/273027 "2023-07-27T09:14:04Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![literarymachine](https://avatars.discourse-cdn.com/v4/letter/l/7cd45c/32.png) [@literarymachine](https://meta.discourse.org/u/literarymachine)\
**Post date:** [July 28, 2023, 2:34pm UTC](https://meta.discourse.org/t/making-custom-changes-to-the-sidebar-programmatically/273027/3 "2023-07-28T14:34:06Z")

</div>

> [@awesomerobot](#):
>
> We’ve built an API for adding custom sidebar sections as well

This looks interesting, thanks! Will take some time to really grasp it though, e.g. I don’t really get the hang of the routing yet. Also, it looks like the links in a section can only be a flat list, right? What I am currently trying to achieve is something like this, i.e. one level of indention:

 ![image](https://global.discourse-cdn.com/meta/original/4X/5/1/5/51553a452203fcacf99cb88f620a6b37f6f2a5f0.png)

Is this something I can achieve with the new API for custom sidebar sections?

---

_[View the full topic](https://meta.discourse.org/t/making-custom-changes-to-the-sidebar-programmatically/273027)._
