Nexgn Developer Hub

Embedded Signing Sessions

Collect legally binding signatures directly inside your web app without redirecting users away.

REST API Reference

JSON-native endpoints at api.nexgn.cloud/v1 with Bearer authentication and predictable rate headers.

Production & Sandbox Authentication

Authenticate requests to https://api.nexgn.cloud/v1 using HTTP Bearer tokens over TLS 1.3 with Perfect Forward Secrecy. Production workspaces use sk_live_ keys included directly in the Business plan ($19/mo or ₹1,900/mo), while isolated test calls use sk_test_ keys.

  • POST /v1/envelopes — Create and send an agreement envelope from a PDF or template with placed fields and signers.
  • GET /v1/envelopes/:id — Inspect real-time envelope states (draft, sent, viewed, signed, completed, voided).
  • POST /v1/envelopes/:id/signing-session — Issue a single-use signing URL for secure embedded signing flows.
  • GET /v1/envelopes/:id/certificate — Stream the SHA-256 sealed PDF and forensic audit certificate (UTC timestamps, IPv4/IPv6, User-Agent).
  • GET /v1/templates & POST /v1/templates/:id/send — List and instantiate reusable NDA, HR, and MSA templates.

Completed PDFs and metadata remain encrypted at rest with AES-256-GCM, while standard X-RateLimit-Remaining and Retry-After headers keep integrations resilient.

Embedded Signing Sessions

Collect legally binding signatures directly inside your web app without redirecting users away.

How Embedded Signing Works

Request a single-use session token via POST /v1/envelopes/:id/signing-session and render the signing ceremony inside an isolated iframe within your onboarding, SaaS billing, or portal flow.

  1. Create Envelope
  2. Mint Session URL
  3. Sign In-App
  4. Webhook Seal
View Business Plan API Pricing

HMAC-SHA256 Event Webhooks

Zero-polling lifecycle notifications verified cryptographically via X-Nexgn-Signature.

Supported Agreement Events

Configure HTTPS endpoints in Settings → API & Integrations (v2/webhooks). Every event payload delivers an HMAC-SHA256 digest in the X-Nexgn-Signature header for constant-time verification.

  • envelope.sent
  • envelope.viewed
  • signer.completed
  • envelope.completed
  • envelope.declined
  • envelope.expired

Migration notice: legacy v1 webhook endpoints sunset on December 31, 2026. New integrations should verify X-Nexgn-Signature against raw request bodies on v2/webhooks.

SDKs, Libraries & Postman

Start rapidly in Node.js, React, or any HTTP client using Nexgn’s public Postman workspace.

Integration Tooling

Nexgn’s REST endpoints accept standard multipart or JSON payloads and require no legacy XML or SOAP wrappers. Use standard Node.js crypto.createHmac and fetch clients alongside our public Postman collection.

  1. 01

    Open public Postman workspace at postman.com/nexgn-public

  2. 02

    Verify webhook signatures with built-in Node.js node:crypto timingSafeEqual

  3. 03

    Embed signing URLs in React or server-rendered web applications

Free Developer Sandbox

Test envelope creation, signing redirects, and webhooks using sk_test_ keys at zero envelope cost.

Isolated Test Keys

API keys prefixed with sk_test_ execute inside the developer test environment so engineers can validate field placement, webhook signature verification, and error handling without consuming live envelope quotas.

Contact Engineering Support

Developer Community & Support

Release updates, machine-readable LLM docs, live status monitoring, and direct engineering channels.

Technical Resources

Read Release Changelog