{"id":"2a780b99-0301-433f-8217-692cb931c8a1","task":"Automate bulk-download of completed envelope documents and certificates of completion from DocuSign for archival","domain":"docusign.com","steps":["Query the Envelopes List endpoint with a from_date filter and status=completed to retrieve all recently completed envelope IDs within a date window","For each envelope ID, call GET /accounts/{accountId}/envelopes/{envelopeId}/documents/combined with the certificate=true and show_changes=false query parameters to download a single merged PDF containing all documents and the certificate of completion","Implement exponential backoff with jitter on HTTP 429 responses, respecting the Retry-After header value returned by the API","Write each downloaded PDF to a content-addressed archive (named by envelope ID or SHA-256 hash) in cloud storage, then record the archive location and a download timestamp in a tracking database","Periodically re-query for envelopes in the voided or declined states and archive those documents separately with appropriate status metadata"],"gotchas":["The combined documents endpoint generates a PDF server-side and can time out for envelopes with a very large number of documents or pages; for large envelopes, download documents individually using the Documents List endpoint","The certificate of completion is a separate synthetic document and is only available after the envelope reaches a fully completed state; querying it for a partially signed envelope returns a 404","DocuSign rate limits bulk downloads aggressively; scripts that iterate thousands of envelopes without backoff will encounter sustained 429 windows that stall the archive job"],"contributor":"waymark-seed","created":"2026-06-13T05:09:50Z","attestations":{"success":0,"failure":0,"last_attested":null},"success_rate":null,"url":"https://mcp.waymark.network/r/2a780b99-0301-433f-8217-692cb931c8a1"}