How to set open password for a signed document using REST API? | Adobe Sign

Objective

How to set open password for signed documents using REST API?

Steps

Following are the parameters that you can pass in the code to set open password:

{
    "documentCreationInfo": 
    [{
        "signatureType": "ESIGN",
               "recipientSetInfos": [{
            "recipientSetMemberInfos": [{                       
                "email": "abc@xyz.com"                   
            }],
                   
            "recipientSetRole": "SIGNER"                          
        }],
               "signatureFlow": "SENDER_SIGNATURE_NOT_REQUIRED",
                   "fileInfos": [           {                
            "libraryDocumentId": "3AAABLblqZhBsm_vH7TVzU3hRdbtWuvzfTKDvBzaKZTiehjO2eGTk5Rlu02K-0BYn8HBJVFTWOmT_BQlrofPBlrCdjiJ_JI-V"         
        }       ],
               "name": "Open password to view document",
               "securityOptions": {         
            "openPassword": "1234",
                     "protectOpen": true    
        }   
    }]
}

Additional information

As a Sender, provide the password to the signer. The password is not mentioned anywhere in the email sent from Adobe Sign.

Adobe logo

Sign in to your account