Returns information about your Team as well as a list of its members. If you do not belong to a Team, a 404 error with an error_name of "not_found" will be returned.
successful operation
failed_operation
<?php
namespace Dropbox\SignSandbox;
require_once __DIR__ . '/../vendor/autoload.php';
use SplFileObject;
use Dropbox;
$config = Dropbox\Sign\Configuration::getDefaultConfiguration();
$config->setUsername("YOUR_API_KEY");
// $config->setAccessToken("YOUR_ACCESS_TOKEN");
try {
$response = (new Dropbox\Sign\Api\TeamApi(config: $config))->teamGet();
print_r($response);
} catch (Dropbox\Sign\ApiException $e) {
echo "Exception when calling TeamApi#teamGet: {$e->getMessage()}";
}
{- "team": {
- "name": "Team Dropbox Sign",
- "accounts": [
- {
- "account_id": "5008b25c7f67153e57d5a357b1687968068fb465",
- "email_address": "me@dropboxsign.com",
- "is_locked": false,
- "is_paid_hs": true,
- "is_paid_hf": false,
- "quotas": {
- "templates_left": null,
- "documents_left": null,
- "api_signature_requests_left": 1250
}, - "role_code": "a"
}, - {
- "account_id": "d3d3d7b98d80b67d07740df7cdfd1f49fa8e2b82",
- "email_address": "teammate@dropboxsign.com",
- "is_locked": false,
- "is_paid_hs": true,
- "is_paid_hf": false,
- "quotas": {
- "templates_left": null,
- "documents_left": null,
- "api_signature_requests_left": 1250
}, - "role_code": "m"
}
], - "invited_accounts": [
- {
- "account_id": "8e239b5a50eac117fdd9a0e2359620aa57cb2463",
- "email_address": "george@hellofax.com",
- "is_locked": false,
- "is_paid_hs": false,
- "is_paid_hf": false,
- "quotas": {
- "templates_left": 0,
- "documents_left": 3,
- "api_signature_requests_left": 0
}
}
], - "invited_emails": [
- "invite_1@example.com",
- "invite_2@example.com",
- "invite_3@example.com"
]
}
}