Before you go ahead and make your API calls to emSigner, please ensure you have the following
Step 1 - Generate App Name + Access Key
To generate this, please follow the steps below:
Please make a note of these keys and keep them stored securely
Step 2- Generate App Name + User Token
This has to be done by the user on whose behalf you will originate the documents. To complete this, please ask the user to follow the steps below:
Please make a note of this auth_token and keep this stored securely
Step 3- Making your first call
All API requests to emSigner requires a valid JWT token. To generate this for the first time, call the ValidateLogin method (available as part of the API documentation) as shown below:
To validate the user, you may either pass the Authtoken retrieved in Step 2 as part of the header (as shown above) or alternatively pass the emSigner login credentials instead of Authtoken of the user as part of the body as shown below:
Once you send this request, you should receive a successful response from the API server with a JWT token as shown below:
Now, this JWT token can be used to make all subsequent API requests to the emSigner API server