Maton

PandaDoc

Access the PandaDoc API with managed authentication. Read documents, templates, contacts, and folders; create documents from templates and send them for signature. All access runs through the Maton gateway and the maton CLI.

Permissions

Suggested read access

In the Console, Read limits the connection to these 54 read-only endpoints, plus deny rules for any write endpoint a broader rule would otherwise match. Endpoints Maton has found to return credentials, start jobs, or spend credits are left out; a few reads that can change state or return a secret depending on their parameters stay in, and their descriptions say how. It is a suggestion: the saved rules are exactly the ones you see, and you can change them with Custom. See Access policy.

Reference

Paths start with public/v1/ (a few newer endpoints use public/v2/): https://api.pandadoc.com/public/v1/documents becomes /pandadoc/public/v1/documents. Lists put their records in results.

Connect with maton connection create pandadoc; the PandaDoc connection guide shows where to create the API key.

Current Member

maton api '/pandadoc/public/v1/members/current'

Response:

{
  "user_id": "Xk3pQ9vT2mLr8sYwNa4bCd",
  "membership_id": "Mn7hJ2kL9pQr4sTv6wXy8z",
  "email": "you@example.com",
  "first_name": "Alex",
  "last_name": "Lee",
  "workspace": "Wq5eR7tY9uIo1pAs3dFg5h",
  "workspace_name": "Acme",
  "organization_id": "Og2hJ4kL6zXc8vBn0mQw1e",
  "role": "Admin",
  "is_active": true
}

Documents

List Documents

maton api '/pandadoc/public/v1/documents?count=20&page=1'
maton api '/pandadoc/public/v1/documents?status=2&q=proposal'

Response:

{
  "results": [
    {"id": "Dc4vB6nM8qW0eR2tY4uI6o", "name": "Acme proposal", "status": "document.sent", "date_created": "2026-12-01T09:00:00.000000Z", "date_modified": "2026-12-01T09:05:00.000000Z", "date_sent": "2026-12-01T09:05:00.000000Z", "date_completed": null, "expiration_date": null, "version": "2"}
  ]
}

Page with count (up to 100) and page. Filter with q (name), status (a number: 0 draft, 1 sent, 2 completed, and so on), template_id, folder_uuid, contact_id, and date ranges such as created_from. GET public/v1/documents/{document_id} returns status only; .../details adds recipients, fields, tokens, and pricing; .../download returns the PDF.

Create a Document from a Template

maton api '/pandadoc/public/v1/templates?q=proposal'
maton api '/pandadoc/public/v1/documents' -X POST -H 'Content-Type: application/json' --input - <<'JSON'
{"name": "Acme proposal", "template_uuid": "{template_id}", "recipients": [{"email": "sam@example.com", "first_name": "Sam", "last_name": "Park", "role": "Client"}], "tokens": [{"name": "Client.Company", "value": "Acme"}]}
JSON

Creation is asynchronous: the response has status: "document.uploaded", and the document can be sent once GET public/v1/documents/{document_id} shows document.draft, usually a few seconds later. Each recipient's role must match a role in the template.

Send a Document

maton api '/pandadoc/public/v1/documents/{document_id}/send' -X POST -H 'Content-Type: application/json' --input - <<'JSON'
{"subject": "Your proposal from Acme", "message": "Please review and sign.", "silent": false}
JSON

"silent": true moves the document to sent without emailing recipients. DELETE public/v1/documents/{document_id} deletes a document.

Templates, Contacts, and Folders

maton api '/pandadoc/public/v1/templates?count=20'
maton api '/pandadoc/public/v1/contacts'
maton api '/pandadoc/public/v1/documents/folders'

GET public/v1/templates/{template_id}/details shows a template's roles, tokens, and fields. Contacts have POST public/v1/contacts, PATCH and DELETE public/v1/contacts/{contact_id}.

Notes

  • Authentication: the connection holds a PandaDoc sandbox or production API key from Settings → Integrations → API and Webhooks, sent as Authorization: API-Key {key}. A key acts as the user who generated it and stops working if that user is removed from the workspace.
  • Connection metadata: the key user's user_id, email, first_name, last_name, and organization_id.
  • Sandbox keys work on every plan, add a [DEV] prefix and a watermark to documents, send only to addresses in the user's own email domain, and allow 10 requests a minute per endpoint.
  • Errors: 400 an invalid request ({"type": "request_error", "detail": "..."}), 401 a wrong or deactivated key, 403 a plan or role that doesn't allow the call, 404 not found, 409 a document in the wrong status for the call, 429 rate limited.
  • Rate limits: production limits are per endpoint, such as 2,000 requests a minute for listing and status, 500 for creating from a template, 400 for sending, and 100 for downloads.
  • Size limits: request bodies up to 2 MB; uploaded PDFs up to 50 MB.

Resources

On this page