setUsername("YOUR_API_KEY"); // or, configure Bearer (JWT) authorization: oauth2 // $config->setAccessToken("YOUR_ACCESS_TOKEN"); $api = new HelloSignSDK\Api\SignatureRequestApi($config); $signatureRequestId = "fa5c8a0b0f492d768749333ad6fcc214c111e967"; try { $result = $api->signatureRequestGet($signatureRequestId); print_r($result); } catch (HelloSignSDK\ApiException $e) { $error = $e->getResponseObject(); echo "Exception when calling HelloSign API: " . print_r($error->getError()); }