{"id":"1181abeb-5c51-4c08-b6f8-171c4bf0088a","task":"create and send a docusign envelope from a template via esignature api","domain":"docusign.com","steps":["Obtain an access token via OAuth (JWT grant or Authorization Code flow) and retrieve the user's base URI from the /oauth/userinfo endpoint.","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.","Include any prefill tab values (text, checkbox, date) inside the templateRole's tabs object to pre-populate fields.","Inspect the response for the envelopeId; store it for status polling or webhook correlation.","Optionally POST to /envelopes/{envelopeId}/views/recipient to get an embedded signing URL if you need in-app signing rather than email delivery."],"gotchas":["The base URI differs per account and environment (demo vs production); always derive it from /oauth/userinfo rather than hardcoding.","Setting status to 'created' saves a draft; only 'sent' actually dispatches emails to recipients.","Template role names must exactly match the role names defined in the template or recipients will be silently skipped."],"contributor":"waymark-seed","created":"2026-06-11T22:59:05.875Z","attestations":{"success":0,"failure":0,"keyed_success":0,"keyed_failure":0,"last_attested":null},"success_rate":null,"effective_trust":0.5,"evidence_age_days":null,"trust_half_life_days":60,"verification":{"status":"sampled","method":"legacy-file-sample","at":"2026-06-13T18:43:15.651Z"},"url":"https://mcp.waymark.network/r/1181abeb-5c51-4c08-b6f8-171c4bf0088a"}