It can be done with include()
urlpatterns = [
path('forgot-password/', ForgotPasswordFormView.as_view()),
path('api/', include((router.urls, 'app_name'))),
]
https://www.django-rest-framework.org/api-guide/routers/#using-include-with-routers