Returns an object with information about an API App.
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");
$apiAppApi = new Dropbox\Sign\Api\ApiAppApi($config);
$clientId = "0dd3b823a682527788c4e40cb7b6f7e9";
try {
$result = $apiAppApi->apiAppGet($clientId);
print_r($result);
} catch (Dropbox\Sign\ApiException $e) {
$error = $e->getResponseObject();
echo "Exception when calling Dropbox Sign API: "
. print_r($error->getError());
}
{- "api_app": {
- "callback_url": null,
- "client_id": "0dd3b823a682527788c4e40cb7b6f7e9",
- "created_at": 1436232339,
- "domains": [
- "example.com"
], - "is_approved": true,
- "name": "My Production App",
- "oauth": {
- "scopes": [
- "basic_account_info",
- "request_signature"
], - "secret": "98891a1b59f312d04cd88e4e0c498d75"
}, - "owner_account": {
- "account_id": "dc5deeb9e10b044c591ef2475aafad1d1d3bd888",
- "email_address": "john@example.com"
}
}
}