Downloads files associated with a Fax
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");
try {
$response = (new Dropbox\Sign\Api\FaxApi(config: $config))->faxFiles(
fax_id: "fa5c8a0b0f492d768749333ad6fcc214c111e967",
);
copy($response->getRealPath(), __DIR__ . '/file_response');
} catch (Dropbox\Sign\ApiException $e) {
echo "Exception when calling FaxApi#faxFiles: {$e->getMessage()}";
}
{- "error": {
- "error_msg": "This value should not be blank",
- "error_path": "cc_email_addresses[0]",
- "error_name": "bad_request"
}
}