When starting this project, ACCESS_TOKEN in the env file in the config directory maybe expired. You need to get your own ACCESS_TOKEN from docusign, remember to replace the ACCOUNT_ID with your own id too.
Note that the link given by the official website may points to an old repo, which corresponds to version 4.0. There is a package called docusign in npm, it has been deprecated. Download the latest package called docusign-esign.
docusign is developed by JavaScript, so far, the official has not written its declaration files. You can write your own declaration file if you mind for happy coding.
Q1: How do I access the Docusign documents that I signed? Users care
seem detail here
Q2: How do I access the Docusign documents that user signed? Developer care
Developer can get the document by EnvelopeFormData api. The api needs two parameters, accountId and envelopedId. AccountId is the same as ACCOUNT_ID in env configuration. EnvelopedId is returned by createEnvelope method which used to send an email to user.
- dev
After clone this repo, cd backend directory
npm install
In backend directory, run:
npm run start:dev
- build
npm run build
- bundle
npm run webpack
Run command above to package the project, automatically replace when file changes in backend/src/ directory.
cd frontend directory
- dev
npm install
npm run start
Project will running at localhost:3001
- build
npm run build
After the email is successfully sent, signers will see below in their mailbox.
After signed, docusign will sent another email to signer, like this:
If try to get the document before user sign it, response looks like this:
If try to get the signed document, response looks like this: