Obtain a DocuSign access token via JWT Grant

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

Steps

  1. Create an RSA key pair in the DocuSign Developer or Production admin console and note your integration key (client ID).
  2. Build a JWT with header alg RS256, and claims: iss=YOUR_INTEGRATION_KEY, sub=YOUR_USER_ID, aud=account-d.docusign.com for demo or account.docusign.com for production (no https:// scheme in the aud value), iat, and exp.
  3. Sign the JWT with your RSA private key.
  4. POST the JWT to https://account-d.docusign.com/oauth/token (demo) or https://account.docusign.com/oauth/token (production) with grant_type=urn:ietf:params:oauth:grant-type:jwt-bearer and assertion=YOUR_SIGNED_JWT.
  5. Extract access_token from the JSON response and use it as a Bearer token for API calls.
  6. Re-request the token before expiry; JWT grant tokens typically expire within one hour.

Known gotchas

Related routes

authenticate to docusign with oauth jwt grant (consent, scopes)
docusign.com · 5 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
receive docusign connect webhooks and verify hmac signatures
docusign.com · 5 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