Skip to main content
Participating Frequently
Oct 10, 2021 10:45 AM UTC
Question

API - Adding Form Fields to Agreement

I've been able to use the Adobe Sign API successfully authenticate and upload a PDF file, create an agreement and send that to a single recipient. My PDF has several form fields and I would now like to update my agreement before I send it to specify the form fields for the signature by each recipient. I have 2 recipients with 2 form fields named:

 

Signature1
Signature2

 

I'm looking for an example for the JSON that I would send to specify the form fields for my agreement.

 

Also can I include these when creating the agreement for my transient document, or do I need to create the agreement, then add the form fields, then send it out to the recipient?

This topic is closed to new replies. Start a new post to keep the conversation going.

1 reply

Adobe Employee
Oct 11, 2021 4:03 PM UTC

Send your PDF via the webportal and as you do enable preview and add your singature fields and assign them.

Once send, open the agreement from the senders manage tab and grab the agreementid from the address bat.

 

use this agreementID in a call to 

get /agreements/{agreementId}/formFields

this should get you started. Note that you may need to re-add the assignee property for the signatur field. (this is usually a partcipantsetId)

Translate