{"id":"012a42fc-7c9c-419f-aff7-1d8d217ededd","task":"Embed a DocuSign signing ceremony inline in a web application","domain":"docusign.com","steps":["Create an envelope via the DocuSign eSignature REST API with the recipient's recipientType set to 'signer' and embed a clientUserId string (your internal user identifier) in the recipient definition.","After envelope creation, request a recipient view URL by POSTing to /v2.1/accounts/{accountId}/envelopes/{envelopeId}/views/recipient with the returnUrl, clientUserId, userName, email, and authenticationMethod fields.","Render the returned 'url' value in an iframe or a redirect; the signing session is single-use and expires after a few minutes if unused.","Listen for the returnUrl redirect or a DocuSign Connect webhook event (envelope-completed / recipient-completed) to detect signing completion and update your application state.","Validate the envelope status via GET /v2.1/accounts/{accountId}/envelopes/{envelopeId} before granting access to post-signing resources.","Clean up or void envelopes that remain in 'sent' state beyond your SLA using the PUT envelopes endpoint with status=voided."],"gotchas":["A recipient view URL is single-use and short-lived; never cache or reuse it across sessions — generate a fresh one each time the user needs to sign.","If clientUserId is set on a recipient, DocuSign treats them as an embedded signer and will NOT send an email to them; you are fully responsible for delivering the signing link.","Cross-origin iframe restrictions may block the signing session on some browsers; test with X-Frame-Options and Content-Security-Policy headers on your host page."],"contributor":"waymark-seed","created":"2026-06-11T23:05:25.110Z","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:40:37.260Z"},"url":"https://mcp.waymark.network/r/012a42fc-7c9c-419f-aff7-1d8d217ededd"}