# Create custom route

**URL:** <https://community.forestadmin.com/t/create-custom-route/2010>\
**Category:** Help me!\
**Created:** [March 4, 2021, 9:34am UTC](https://community.forestadmin.com/t/create-custom-route/2010 "2021-03-04T09:34:30Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![anon79585656](https://avatars.discourse-cdn.com/v4/letter/a/7ab992/32.png) [@anon79585656](https://community.forestadmin.com/u/anon79585656)\
**Post date:** [March 4, 2021, 2:17pm UTC](https://community.forestadmin.com/t/create-custom-route/2010/6 "2021-03-04T14:17:56Z")

</div>

This might add some processing delay, but you can try using the `RecordGetter`. See this: [Smart field reference link](https://community.forestadmin.com/t/smart-field-reference-link/2011)

The process can be similar to:

1. call `await network.createCategory(categoryTocreate);`
2. call `const record = await recordGetter.get(res.id)` (or `res` depending on how the id is returned by your API)
3. finish by `response.send(recordGetter.serialize(record))`

This is just guess-coding, but the idea is: create via you API, and then get it via Forest API and return it.

---

_[View the full topic](https://community.forestadmin.com/t/create-custom-route/2010)._
