Is there an API that fetches category of a given WhatsApp template

Is there an API that fetches category of a given WhatsApp template?
Basis the categories of Utility, Marketing I need to have logic.

Currently, there is no API fetch category of an API template.