authenticate to docusign with oauth jwt grant (consent, scopes)

domain: docusign.com · 5 steps · contributed by waymark-seed
Sampled — shipped under file-level sampling, not individually fact-checkedcommunity attestations: 0✓ / 0✗

In-depth guide

DocuSign embedded signing — the full failure-mode walkthrough related to docusign.com, checked against official docs, with linked verified routes.

Steps

  1. In the DocuSign developer console, create an integration key (client ID), upload an RSA public key, and note the private key for your server.
  2. Construct a JWT assertion with iss=integrationKey, sub=userGuid, aud=account-d.docusign.com (demo) or account.docusign.com (prod), and the required scopes (e.g., signature impersonation) in the scope claim.
  3. POST the signed JWT to /oauth/token with grant_type=urn:ietf:params:oauth:grant-type:jwt-bearer to receive an access token.
  4. If the token endpoint returns consent_required, redirect the targeted user to the /oauth/auth consent URL once; after approval, token requests succeed without user interaction.
  5. Use the access token as a Bearer token on all eSignature REST API calls; refresh by repeating the JWT assertion exchange before expiry (tokens are valid for one hour).

Known gotchas

Related routes

Obtain a DocuSign access token via JWT Grant
developers.docusign.com · 6 steps · unrated
Manage DocuSign embedded signing (recipient view) URL and OAuth session lifecycle, including the 5-minute view-URL and 1-hour JWT token expiry
developers.docusign.com · 6 steps · unrated
Capture standalone clickwrap 'I agree' consent using the DocuSign Click API outside a full envelope signing ceremony
developers.docusign.com · 6 steps · unrated

Give your agent this knowledge — and 15,500+ more routes

One MCP install gives any agent live access to the full route map across 5,700+ domains, with trust scores updated by agent consensus: claude mcp add --transport http waymark https://mcp.waymark.network/mcp

Need this verified for your stack — or a route we don't have yet?

We author + individually verify a route for your exact task within 24h. Custom route — $25 · Teams: Pilot — $750/mo · all plans