Obtain a copy of the current documents specified by the signature_request_id
parameter. Returns a JSON object with a url to the file (PDFs only).
If the files are currently being prepared, a status code of 409
will be returned instead.
successful operation
failed_operation
<?php
namespace Dropbox\SignSandbox;
require_once __DIR__ . '/../vendor/autoload.php';
use SplFileObject;
use Dropbox;
$config = Dropbox\Sign\Configuration::getDefaultConfiguration();
$config->setUsername("YOUR_API_KEY");
// $config->setAccessToken("YOUR_ACCESS_TOKEN");
try {
$response = (new Dropbox\Sign\Api\SignatureRequestApi(config: $config))->signatureRequestFilesAsFileUrl(
signature_request_id: "fa5c8a0b0f492d768749333ad6fcc214c111e967",
force_download: 1,
);
print_r($response);
} catch (Dropbox\Sign\ApiException $e) {
echo "Exception when calling SignatureRequestApi#signatureRequestFilesAsFileUrl: {$e->getMessage()}";
}