create and send a docusign envelope from a template via esignature api

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. Obtain an access token via OAuth (JWT grant or Authorization Code flow) and retrieve the user's base URI from the /oauth/userinfo endpoint.
  2. POST to /restapi/v2.1/accounts/{accountId}/envelopes with envelopeDefinition: set status to 'sent', specify templateId, and populate templateRoles with name, email, and roleName for each signer.
  3. Include any prefill tab values (text, checkbox, date) inside the templateRole's tabs object to pre-populate fields.
  4. Inspect the response for the envelopeId; store it for status polling or webhook correlation.
  5. Optionally POST to /envelopes/{envelopeId}/views/recipient to get an embedded signing URL if you need in-app signing rather than email delivery.

Known gotchas

Related routes

Send a DocuSign envelope for e-signature via API
docusign.com · 4 steps · unrated
Create and send a document for signature from a template via the Zoho Sign API
sign.zoho.com · 5 steps · unrated
Create and send documents from a DocuSign template with field pre-population
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