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 = 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());
}
Response samples
application/json
{
  • "account": {
    }
}