Returns the properties and settings of your Account.
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");
$accountApi = new Dropbox\Sign\Api\AccountApi($config);
try {
$result = $accountApi->accountGet(null, 'jack@example.com');
print_r($result);
} catch (Dropbox\Sign\ApiException $e) {
$error = $e->getResponseObject();
echo "Exception when calling Dropbox Sign API: "
. print_r($error->getError());
}
{- "account": {
- "account_id": "5008b25c7f67153e57d5a357b1687968068fb465",
- "email_address": "me@dropboxsign.com",
- "is_locked": false,
- "is_paid_hs": true,
- "is_paid_hf": false,
- "quotas": {
- "api_signature_requests_left": 1250,
- "documents_left": null,
- "templates_left": null,
- "sms_signatures_left": 1
}, - "callback_url": null,
- "role_code": null,
- "locale": "en-US"
}
}