@sebastián-cisneros In static:api.routes, you'll want to call controllerHelpers.setupAPIRoute to mount the route to the appropriate /api/v3/plugins mount point.
You can see an example of how we do it in the quickstart plugin
Is there a way to get a list of the 10 most recent topics via the forum API?
I know that you can get the 20 most recent posts with the
api/recent method, and the one most recent post for each category with the
api/categories method, but these will also include replies to posts.
How do I get a list of all topics, but only the first post of each topic?
If you go into the ACP and change the behaviour of teaser to "first", then the API will return data for the original post only.