How to use v9.3 signature field via DocBuilder API?

I’m on Document Server 9.4 and I’m trying to use DocBuilder to add the Signature field introduced in 9.3 (for documents that have a variable number of signers).

This is how I’m doing it in the docx:

   let customerSig = Api.CreateSignatureForm({
     key: "customer_signature",
     role: "Customer",
     required: true,
     placeholder: "Signature"
   });
   // ...

And the payload for converting it to pdf with the document server:

   {
     "filetype": "docx",
     "outputtype": "pdf",
     "pdf": {
       "form": true
     }
   }

I get is an image field that always tries to open a file dialog. It doesn’t even respond to config.events.onRequestInsertImage.

References: