If you send a Full transaction request, you may need to import documents from a URL. This feature allows you to bypass document uploads constraints.
Note that this feature needs to be activated on your workspace. If you wish to activate it, you must contact your account manager at Universign.
Configure authorized document URLs
From your workspace’s Developer space, you can configure document import from a URL. To do so, navigate to the Integration section of the Developer space and whitelist the domains of your choice (example https://www.mydocuments.com).
Note that only public and secured URLs are allowed.
You can authorize up to 20 URLs.
Specify the document URL
In your full transaction request, pass the document URL in the URL
argument.
Important: Make sure the URL leads to the document itself and not to its location.
"documents" : [{
"url" : "https://getsamplefiles.com/download/pdf/sample-1.pdf",
"name" : "MyDoc",
"fields" : [
{
"id" : "field_id_1",
"name" : "signature field 1",
"page" : 1,
"x" : 150,
"y" : 275,
"type" : "signature"
},{
"id" : "field_id_2",
"name" : "signature field 2",
"page" : 1,
"x" : 175,
"y" : 200,
"type" : "signature"
}]
}],