Sha256: a8f78aef84b84981cf7567163ffda59c8dfd7c8d4e9f789aa0d2e98ceb9672fb
Contents?: true
Size: 908 Bytes
Versions: 1
Compression:
Stored size: 908 Bytes
Contents
<?php require_once __DIR__ . "/vendor/autoload.php"; $config = HelloSignSDK\Configuration::getDefaultConfiguration(); // Configure HTTP basic authorization: api_key $config->setUsername("YOUR_API_KEY"); // or, configure Bearer (JWT) authorization: oauth2 // $config->setAccessToken("YOUR_ACCESS_TOKEN"); $api = new HelloSignSDK\Api\UnclaimedDraftApi($config); $data = new HelloSignSDK\Model\UnclaimedDraftCreateEmbeddedRequest(); $data->setClientId("ec64a202072370a737edf4a0eb7f4437") ->setFileUrl(["https://app.hellosign.com/docs/example_signature_request.pdf"]) ->setRequesterEmailAddress("jack@hellosign.com") ->setTestMode(true); try { $result = $api->unclaimedDraftCreateEmbedded($data); print_r($result); } catch (HelloSignSDK\ApiException $e) { $error = $e->getResponseObject(); echo "Exception when calling HelloSign API: " . print_r($error->getError()); }
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
hellosign-ruby-sdk-6.0.0.pre.beta | oas/examples/UnclaimedDraftCreateEmbedded.php |