Get the html content of a form by a REST API call

Hi to all,

I have a user task which contains a form with filled-in users’ values.
What I want to achieve, is to get the html content of this form on the completion of the task, by making a REST Api call like this (maybe) :
https://docs.camunda.org/manual/7.10/reference/rest/task/get-rendered-form/

My question is which Listener Type is the most appropriate for my purpose ?
Could anyone guide me a bit here with the piece of code please ?

Thanks in advance,
Steve