# Add new API endpoints

**URL:** <https://meta.discourse.org/t/add-new-api-endpoints/109898>\
**Category:** Product Support\
**Created:** [February 23, 2019, 12:11pm UTC](https://meta.discourse.org/t/add-new-api-endpoints/109898 "2019-02-23T12:11:42Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![Alfarhan\_Zahedi](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/alfarhan_zahedi/32/141591_2.png) [@Alfarhan\_Zahedi](https://meta.discourse.org/u/Alfarhan_Zahedi)\
**Post date:** [February 23, 2019, 12:39pm UTC](https://meta.discourse.org/t/add-new-api-endpoints/109898/5 "2019-02-23T12:39:18Z")

</div>

Yes. I did that via a plugin that I wrote. All is working fine and I am able to access the attribute via the /users/{username}.json endpoint.

I do not know on how to begin writing the endpoint to modify that attribute.  
Do I need to add a new route and a controller for that route ?

Will this do it ?

Or is there something that I am missing ?

---

_[View the full topic](https://meta.discourse.org/t/add-new-api-endpoints/109898)._
