All URIs are relative to https://api.hellosign.com/v3.
Method | HTTP request | Description |
---|---|---|
accountCreate() | POST /account/create | Create Account |
accountGet() | GET /account | Get Account |
accountUpdate() | PUT /account | Update Account |
accountVerify() | POST /account/verify | Verify Account |
accountCreate(accountCreateRequest: AccountCreateRequest): AccountCreateResponse
Create Account
Creates a new Dropbox Sign Account that is associated with the specified email_address
.
import * as DropboxSign from "@dropbox/sign";
const accountApi = new DropboxSign.AccountApi();
// Configure HTTP basic authorization: api_key
accountApi.username = "YOUR_API_KEY";
// or, configure Bearer (JWT) authorization: oauth2
// accountApi.accessToken = "YOUR_ACCESS_TOKEN";
const data: DropboxSign.AccountCreateRequest = {
emailAddress: "[email protected]",
};
const result = accountApi.accountCreate(data);
result.then(response => {
console.log(response.body);
}).catch(error => {
console.log("Exception when calling Dropbox Sign API:");
console.log(error.body);
});
import * as DropboxSign from "@dropbox/sign";
const accountApi = new DropboxSign.AccountApi();
// Configure HTTP basic authorization: api_key
accountApi.username = "YOUR_API_KEY";
// or, configure Bearer (JWT) authorization: oauth2
// accountApi.accessToken = "YOUR_ACCESS_TOKEN";
const data = {
emailAddress: "[email protected]",
};
const result = accountApi.accountCreate(data);
result.then(response => {
console.log(response.body);
}).catch(error => {
console.log("Exception when calling Dropbox Sign API:");
console.log(error.body);
});
Name | Type | Description | Notes |
---|---|---|---|
accountCreateRequest | AccountCreateRequest |
- Content-Type:
application/json
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
accountGet(accountId: string, emailAddress: string): AccountGetResponse
Get Account
Returns the properties and settings of your Account.
import * as DropboxSign from "@dropbox/sign";
const accountApi = new DropboxSign.AccountApi();
// Configure HTTP basic authorization: api_key
accountApi.username = "YOUR_API_KEY";
// or, configure Bearer (JWT) authorization: oauth2
// accountApi.accessToken = "YOUR_ACCESS_TOKEN";
const result = accountApi.accountGet(undefined, "[email protected]");
result.then(response => {
console.log(response.body);
}).catch(error => {
console.log("Exception when calling Dropbox Sign API:");
console.log(error.body);
});
import * as DropboxSign from "@dropbox/sign";
const accountApi = new DropboxSign.AccountApi();
// Configure HTTP basic authorization: api_key
accountApi.username = "YOUR_API_KEY";
// or, configure Bearer (JWT) authorization: oauth2
// accountApi.accessToken = "YOUR_ACCESS_TOKEN";
const result = accountApi.accountGet(undefined, "[email protected]");
result.then(response => {
console.log(response.body);
}).catch(error => {
console.log("Exception when calling Dropbox Sign API:");
console.log(error.body);
});
Name | Type | Description | Notes |
---|---|---|---|
accountId | string | account_id or email_address is required. If both are provided, the account id prevails. The ID of the Account. |
[optional] |
emailAddress | string | account_id or email_address is required, If both are provided, the account id prevails. The email address of the Account. |
[optional] |
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
accountUpdate(accountUpdateRequest: AccountUpdateRequest): AccountGetResponse
Update Account
Updates the properties and settings of your Account. Currently only allows for updates to the Callback URL and locale.
import * as DropboxSign from "@dropbox/sign";
const accountApi = new DropboxSign.AccountApi();
// Configure HTTP basic authorization: api_key
accountApi.username = "YOUR_API_KEY";
// or, configure Bearer (JWT) authorization: oauth2
// accountApi.accessToken = "YOUR_ACCESS_TOKEN";
const data: DropboxSign.AccountUpdateRequest = {
callbackUrl: "https://www.example.com/callback",
};
const result = accountApi.accountUpdate(data);
result.then(response => {
console.log(response.body);
}).catch(error => {
console.log("Exception when calling Dropbox Sign API:");
console.log(error.body);
});
import * as DropboxSign from "@dropbox/sign";
const accountApi = new DropboxSign.AccountApi();
// Configure HTTP basic authorization: api_key
accountApi.username = "YOUR_API_KEY";
// or, configure Bearer (JWT) authorization: oauth2
// accountApi.accessToken = "YOUR_ACCESS_TOKEN";
const data = {
callbackUrl: "https://www.example.com/callback",
};
const result = accountApi.accountUpdate(data);
result.then(response => {
console.log(response.body);
}).catch(error => {
console.log("Exception when calling Dropbox Sign API:");
console.log(error.body);
});
Name | Type | Description | Notes |
---|---|---|---|
accountUpdateRequest | AccountUpdateRequest |
- Content-Type:
application/json
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
accountVerify(accountVerifyRequest: AccountVerifyRequest): AccountVerifyResponse
Verify Account
Verifies whether an Dropbox Sign Account exists for the given email address.
import * as DropboxSign from "@dropbox/sign";
const accountApi = new DropboxSign.AccountApi();
// Configure HTTP basic authorization: api_key
accountApi.username = "YOUR_API_KEY";
// or, configure Bearer (JWT) authorization: oauth2
// accountApi.accessToken = "YOUR_ACCESS_TOKEN";
const data: DropboxSign.AccountVerifyRequest = {
emailAddress: "[email protected]",
};
const result = accountApi.accountVerify(data);
result.then(response => {
console.log(response.body);
}).catch(error => {
console.log("Exception when calling Dropbox Sign API:");
console.log(error.body);
});
import * as DropboxSign from "@dropbox/sign";
const accountApi = new DropboxSign.AccountApi();
// Configure HTTP basic authorization: api_key
accountApi.username = "YOUR_API_KEY";
// or, configure Bearer (JWT) authorization: oauth2
// accountApi.accessToken = "YOUR_ACCESS_TOKEN";
const data = {
emailAddress: "[email protected]",
};
const result = accountApi.accountVerify(data);
result.then(response => {
console.log(response.body);
}).catch(error => {
console.log("Exception when calling Dropbox Sign API:");
console.log(error.body);
});
Name | Type | Description | Notes |
---|---|---|---|
accountVerifyRequest | AccountVerifyRequest |
- Content-Type:
application/json
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]