Get Account

get/account

Returns the properties and settings of your Account.

Securityapi_key or oauth2
Request
query Parameters
account_id
string

account_id or email_address is required. If both are provided, the account id prevails.

The ID of the Account.

email_address
string

account_id or email_address is required, If both are provided, the account id prevails.

The email address of the Account.

Responses
200

successful operation

4XX

failed_operation

Request samples
<?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\AccountApi($config);

try {
    $result = $api->accountGet();
    print_r($result);
} catch (HelloSignSDK\ApiException $e) {
    $error = $e->getResponseObject();
    echo "Exception when calling HelloSign API: "
        . print_r($error->getError());
}
Response samples
application/json
{
  • "account": {
    }
}