Releases a held SignatureRequest that was claimed and prepared from an UnclaimedDraft. The owner of the Draft must indicate at Draft creation that the SignatureRequest created from the Draft should be held. Releasing the SignatureRequest will send requests to all signers.
successful operation
failed_operation
<?php
require_once __DIR__ . "/vendor/autoload.php";
$config = Dropbox\Sign\Configuration::getDefaultConfiguration();
// Configure HTTP basic authorization: api_key
$config->setUsername("YOUR_API_KEY");
// or, configure Bearer (JWT) authorization: oauth2
// $config->setAccessToken("YOUR_ACCESS_TOKEN");
$signatureRequestApi = new Dropbox\Sign\Api\SignatureRequestApi($config);
$signatureRequestId = "2f9781e1a8e2045224d808c153c2e1d3df6f8f2f";
try {
$result = $signatureRequestApi->signatureRequestReleaseHold($signatureRequestId);
print_r($result);
} catch (Dropbox\Sign\ApiException $e) {
$error = $e->getResponseObject();
echo "Exception when calling Dropbox Sign API: "
. print_r($error->getError());
}
{- "signature_request": {
- "signature_request_id": "fa5c8a0b0f492d768749333ad6fcc214c111e967",
- "title": "ok",
- "subject": "ok",
- "message": null,
- "is_complete": false,
- "is_declined": false,
- "has_error": false,
- "custom_fields": [ ],
- "response_data": [ ],
- "signing_redirect_url": null,
- "requester_email_address": "me@dropboxsign.com",
- "signatures": [
- {
- "signature_id": "5687fb7bd5aaacb1689728762b600c74",
- "signer_email_address": "john@example.com",
- "signer_name": "John Doe",
- "order": 0,
- "status_code": "awaiting_signature",
- "signed_at": null,
- "last_viewed_at": null,
- "last_reminded_at": 1346616433,
- "has_pin": false,
- "has_sms_auth": false
}
], - "cc_email_addresses": [ ]
}
}