This article should help youhttps://experienceleague.adobe.com/docs/experience-manager-learn/forms/handling-af-form-submissions/customize-assign-task-notification.html?lang=en
this swagger file workshttps://experienceleague.adobe.com/docs/experience-manager-learn/forms/adaptive-forms/form-data-model-to-post-binary-data-tutorial-use.html?lang=en
Download the form using the UI and then. Upload the downloaded package to your target instancewhen you download the form using the UI the package contains all the dependencies of the form