How to get task form type using rest api?

Hi. Imagine that we use localhost:8080/engine-rest/task to get tasks. In responce, camunda engine returns all tasks in json format. right now, how can i understand that what type of forms -generated, deployed or even no form- is related to the task?
if you introduce a rest api that returns form type, it really helps me.
thank you.

The form returns

"formKey":"aFormKey"

If this is not null then you can parse the result for details of the form. e.g. embedded forms will have that word as part of the form key

1 Like

thanks Niall. I was looking for an especial api for this usage. although solution that you mentioned can be usefull.