How do I implement docusign for angular2 App?

1.9k Views Asked by At

I would like to implement sending signature request and signing the documents. Do you know if it is very difficult to do this? Can you please give me the resource to access DocuSign api?

1

There are 1 best solutions below

7
On BEST ANSWER

The official documentation : REST API Recipe: Request a Signature via Email gives great examples on how to send signature request for different languages. I recommend you look at the Node.js example :

var url = "https://demo.docusign.net/restapi/v2/login_information";
var body = "";  // no request body for login api call

// set request url, method, body, and headers
var options = initializeRequest(url, "GET", body, email, password);

// send the request...
request(options, function(err, res, body) {
    if(!parseResponseBody(err, res, body)) {
        return;
    }
    baseUrl = JSON.parse(body).loginAccounts[0].baseUrl;
    next(null); // call next function
});