How to update the agreement that is sent out for signature using REST API? | Adobe Sign

Objective

When the document is already sent out for signature, how to change the existing document to new one using REST API?

Environment

REST API V5

Steps

To change the document already sent out for signature, use the method as PUT /agreements/{agreementId} with which you can update an existing agreement. Provide the transient ID along with the agreement ID in the following request code:

{
  "documentUpdateInfo": {
    "fileInfos": [
      {
        "agreementDocumentId": "",
        "transientDocumentId": ""
      }
    ]
  }
}

Additional information

REST API Documentation.

https://secure.na1.echosign.com/public/docs/restapi/v5#!/agreements/updateAgreement

Get help faster and easier

New user?