Getting Started
Learn how to install a Verdocs SDK, configure your environment, and get started on implementing your team's e-signing goals.
Installation
npm install @verdocs/js-sdkyarn add @verdocs/js-sdkpnpm install @verdocs/js-sdkpip install verdocs-python-sdkdotnet add package Verdocs.CSharpSdkAuthentication
Authentication
import {authenticate, VerdocsEndpoint} from '@verdocs/js-sdk';// Client-side call, suitable for Web and mobile apps:const {access_token} = await authenticate(VerdocsEndpoint.getDefault(), { username: 'test@test.com', password: 'PASSWORD', grant_type:'password' });VerdocsEndpoint.getDefault().setAuthToken(access_token);// Server-side call, suitable for server apps. NEVER EXPOSE client_secret IN FRONT-END CODE:const {access_token} = await authenticate(VerdocsEndpoint.getDefault(), { client_id: '...', client_secret: '...', grant_type:'client_credentials' });VerdocsEndpoint.getDefault().setAuthToken(access_token);// OAuth2 authorization code exchange (used by third-party integrations like PowerAutomate):const {access_token} = await authenticate(VerdocsEndpoint.getDefault(), { grant_type: 'authorization_code', code: '...', client_id: '...', client_secret: '...', redirect_uri: '...' });Authentication
tokens = endpoint.auth.authenticate( PasswordGrantRequest(username="test@example.com", password="secret"))endpoint.set_token(tokens.access_token)Authentication
Create a Template
Create a Template
import {createTemplate} from '@verdocs/js-sdk/Templates';const newTemplate = await createTemplate((VerdocsEndpoint.getDefault(), {...});Create a Template
template = endpoint.templates.create( TemplateCreateParams(name="NDA", visibility="shared"), files=["/contracts/nda.pdf"],)Create a Template
Reference
Explore the JavaScript (Node) SDK and see how to interact with the platform programmatically. This section covers the core functionality, usage patterns, and examples to help you integrate quickly and build with confidence.
Endpoints
Reference for every Verdocs Platform API operation exposed by the SDKs.