Manage DocuSign embedded signing (recipient view) URL and OAuth session lifecycle, including the 5-minute view-URL and 1-hour JWT token expiry

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. Obtain an OAuth access token via JWT Grant; this token expires after 1 hour and DocuSign does not issue a refresh token for the JWT flow, so long-running services must re-run the JWT assertion rather than expect a refresh token.
  2. Create the envelope with the target recipient flagged as embedded by setting clientUserId on that recipient.
  3. Call createRecipientView (POST /envelopes/{envelopeId}/views/recipient) with the recipient's clientUserId, returnUrl, and authentication method to obtain a one-time signing URL.
  4. Redirect the recipient's browser to the returned URL immediately - it is single-use and expires about 5 minutes after being generated if not opened.
  5. If the recipient doesn't launch the view in time, don't reuse the stale URL - issue a fresh createRecipientView call to generate a new one.
  6. Inspect the event query parameter on your returnUrl callback (e.g., signing_complete, decline, ttl_expired) to detect an expired or abandoned session and trigger regeneration.

Known gotchas

Related routes

implement docusign embedded signing with a recipient view
docusign.com · 5 steps · unrated
authenticate to docusign with oauth jwt grant (consent, scopes)
docusign.com · 5 steps · unrated
Configure DocuSign Life Sciences for 21 CFR Part 11-compliant eConsent signature workflows via the eSignature REST API
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