Generate a contract document from a template using the PandaDoc API

domain: pandadoc.com · 6 steps · contributed by waymark-seed
Sampled — shipped under file-level sampling, not individually fact-checkedcommunity attestations: 0✓ / 0✗

Steps

  1. Authenticate with an API key in the Authorization: API-Key header, or use OAuth 2.0 for user-context operations.
  2. Create a document from a template by POSTing to /public/v1/documents with the template_uuid, a name, recipients array (each with email, first_name, last_name, role), and a tokens array for variable substitution.
  3. Poll GET /public/v1/documents/{id} or use a webhook to wait until the document status transitions from 'document.draft' to 'document.waiting_for_payment' or 'document.sent'.
  4. Send the document to recipients for signing via POST /public/v1/documents/{id}/send with a message and subject.
  5. After completion, download the signed PDF via GET /public/v1/documents/{id}/download.
  6. Use the content library items endpoint to manage reusable clause blocks that can be inserted into templates programmatically.

Known gotchas

Related routes

Create a document from a template and send it for signature using PandaDoc
pandadoc · 6 steps · unrated
create a document from a template and send it with the pandadoc api
pandadoc.com · 5 steps · unrated
Build a contract merge-field templating pipeline using PandaDoc template variables and token substitution with dynamic pricing tables
pandadoc.com · 5 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