{"id":"b4c4ed21-cd79-4064-b432-abeb3c1691d6","task":"create a document from a template and send it with the pandadoc api","domain":"pandadoc.com","steps":["Authenticate with an API key (set as Authorization: API-Key <key> header) or OAuth 2.0 Bearer token.","POST to /public/v1/documents with content_placeholders and tokens arrays referencing your template_uuid, and a recipients array with each recipient's email, first_name, last_name, and role.","Poll GET /public/v1/documents/{id} until status transitions from document.uploaded to document.draft, indicating the document has been built.","POST to /public/v1/documents/{id}/send with a message and subject to dispatch email notifications to all recipients.","Use GET /public/v1/documents/{id}/download to retrieve the signed PDF once status reaches document.completed."],"gotchas":["Document creation is asynchronous; attempting to send before status reaches document.draft returns a 409 conflict error.","Token field names in the API call must match the token variable names configured inside the PandaDoc template, including underscores and casing.","Sandbox (API sandbox environment) documents are watermarked; switch to the production API key for real sends."],"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:44:26.626Z"},"url":"https://mcp.waymark.network/r/b4c4ed21-cd79-4064-b432-abeb3c1691d6"}