How to upload a file in Adobe Sign to be used in the Request Code of POST/Agreements for REST API? | Adobe Sign

Last updated on Apr 27, 2021

Objective

To provide a file to be used in the FileInfo Parameter defined under the DocumentCreationInfo section of POST/Agreements, call in REST API.

Environment

Adobe Sign REST API V5

Steps

Following are the steps to add files in FileInfo Parameter:

Use transient ID:

Go to POST/transientDocuments and upload the document to be used from your local system.
Use the transient ID generated under the File Info section in POST/Agreements:

Use Library document ID:

Go to Dashboard. Click Add document to Library and save the template.
Under REST API Documentation, click GET /libraryDocuments and retrieve the Library ID for template being created.
Under POST/Agreements, provide the library document ID:

Use publicly available URL:

Provide the publicly accessible URL to be used under FileInfo parameter: