The Function Templates API allows you to retrieve the function templates available for a site. Function templates are drafts of functions that you can use as a starting point when creating a new function. Use this API together with other Wix Functions APIs.
You can use templates for basic function creation or for builderless function creation. You can only create builderless functions from templates that contain a formTemplateExtensionId.