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 |
AccountCreateResponse accountCreate(accountCreateRequest)
Create Account
Creates a new Dropbox Sign Account that is associated with the specified email_address
.
import com.dropbox.sign.ApiException;
import com.dropbox.sign.Configuration;
import com.dropbox.sign.api.*;
import com.dropbox.sign.auth.*;
import com.dropbox.sign.model.*;
public class Example {
public static void main(String[] args) {
var apiClient = Configuration.getDefaultApiClient()
.setApiKey("YOUR_API_KEY");
// or, configure Bearer (JWT) authorization: oauth2
/*
var apiClient = Configuration.getDefaultApiClient()
.setBearerToken("YOUR_ACCESS_TOKEN");
*/
var accountApi = new AccountApi(apiClient);
var data = new AccountCreateRequest()
.emailAddress("newuser@dropboxsign.com");
try {
AccountCreateResponse result = accountApi.accountCreate(data);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling AccountApi#accountCreate");
System.err.println("Status code: " + e.getCode());
System.err.println("Reason: " + e.getResponseBody());
System.err.println("Response headers: " + e.getResponseHeaders());
e.printStackTrace();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
accountCreateRequest | AccountCreateRequest |
- Content-Type: application/json
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | successful operation | * X-RateLimit-Limit - * X-RateLimit-Remaining - * X-Ratelimit-Reset - |
4XX | failed_operation | - |
AccountGetResponse accountGet(accountId, emailAddress)
Get Account
Returns the properties and settings of your Account.
import com.dropbox.sign.ApiException;
import com.dropbox.sign.Configuration;
import com.dropbox.sign.api.*;
import com.dropbox.sign.auth.*;
import com.dropbox.sign.model.*;
public class Example {
public static void main(String[] args) {
var apiClient = Configuration.getDefaultApiClient()
.setApiKey("YOUR_API_KEY");
// or, configure Bearer (JWT) authorization: oauth2
/*
var apiClient = Configuration.getDefaultApiClient()
.setBearerToken("YOUR_ACCESS_TOKEN");
*/
var accountApi = new AccountApi(apiClient);
try {
AccountGetResponse result = accountApi.accountGet(null, "jack@example.com");
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling AccountApi#accountCreate");
System.err.println("Status code: " + e.getCode());
System.err.println("Reason: " + e.getResponseBody());
System.err.println("Response headers: " + e.getResponseHeaders());
e.printStackTrace();
}
}
}
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
Status code | Description | Response headers |
---|---|---|
200 | successful operation | * X-RateLimit-Limit - * X-RateLimit-Remaining - * X-Ratelimit-Reset - |
4XX | failed_operation | - |
AccountGetResponse accountUpdate(accountUpdateRequest)
Update Account
Updates the properties and settings of your Account. Currently only allows for updates to the Callback URL and locale.
import com.dropbox.sign.ApiException;
import com.dropbox.sign.Configuration;
import com.dropbox.sign.api.*;
import com.dropbox.sign.auth.*;
import com.dropbox.sign.model.*;
public class Example {
public static void main(String[] args) {
var apiClient = Configuration.getDefaultApiClient()
.setApiKey("YOUR_API_KEY");
// or, configure Bearer (JWT) authorization: oauth2
/*
var apiClient = Configuration.getDefaultApiClient()
.setBearerToken("YOUR_ACCESS_TOKEN");
*/
var accountApi = new AccountApi(apiClient);
var data = new AccountUpdateRequest()
.callbackUrl("https://www.example.com/callback");
try {
AccountGetResponse result = accountApi.accountUpdate(data);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling AccountApi#accountCreate");
System.err.println("Status code: " + e.getCode());
System.err.println("Reason: " + e.getResponseBody());
System.err.println("Response headers: " + e.getResponseHeaders());
e.printStackTrace();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
accountUpdateRequest | AccountUpdateRequest |
- Content-Type: application/json
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | successful operation | * X-RateLimit-Limit - * X-RateLimit-Remaining - * X-Ratelimit-Reset - |
4XX | failed_operation | - |
AccountVerifyResponse accountVerify(accountVerifyRequest)
Verify Account
Verifies whether an Dropbox Sign Account exists for the given email address.
import com.dropbox.sign.ApiException;
import com.dropbox.sign.Configuration;
import com.dropbox.sign.api.*;
import com.dropbox.sign.auth.*;
import com.dropbox.sign.model.*;
public class Example {
public static void main(String[] args) {
var apiClient = Configuration.getDefaultApiClient()
.setApiKey("YOUR_API_KEY");
// or, configure Bearer (JWT) authorization: oauth2
/*
var apiClient = Configuration.getDefaultApiClient()
.setBearerToken("YOUR_ACCESS_TOKEN");
*/
var accountApi = new AccountApi(apiClient);
var data = new AccountVerifyRequest()
.emailAddress("some_user@dropboxsign.com");
try {
AccountVerifyResponse result = accountApi.accountVerify(data);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling AccountApi#accountCreate");
System.err.println("Status code: " + e.getCode());
System.err.println("Reason: " + e.getResponseBody());
System.err.println("Response headers: " + e.getResponseHeaders());
e.printStackTrace();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
accountVerifyRequest | AccountVerifyRequest |
- Content-Type: application/json
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | successful operation | * X-RateLimit-Limit - * X-RateLimit-Remaining - * X-Ratelimit-Reset - |
4XX | failed_operation | - |