Connect to the API

Before integrators can make requests via REST APIs or SDK functions, ValidSign requires that users provide a secure API Key to authenticate the API calls.

API Keys

Introduction of API Keys

To obtain your API key you can navigate within the ValidSign application to the "API Access page" section. In the API Key section of the API Access page, click the View icon. By default, your API key is masked.

How to connect using API Keys

The following line of code creates a ValidSign Client using the ValidSign account’s API Key and the appropriate API URL.

If you’re using a Sandbox account, the correct URL should be https://try.validsign.eu/api. If you are using a Production account, you should use URL https://my.validsign.eu/api.

HTTP Headers

Authorization: Basic api_key
Accept: application/json
public static final String API_KEY = "your_api_key";
public static final String API_URL = "ValidSign_environment_endpoint";

EslClient eslClient = new EslClient(API_KEY, API_URL);
private static String API_URL = "ValidSign_environment_endpoint";
private static String API_KEY = "your_api_key";

OssClient vsClient = new OssClient(API_KEY, API_URL);