Skip to main content
Use PandaDoc through Corsair: one client, typed API calls, and incoming webhooks. Authenticate with an API key from the PandaDoc Developer Dashboard (app.pandadoc.com/developers/); sandbox keys work the same way. The header is Authorization: API-Key <key>, which the plugin sets for you. Creating a document from a template or PDF URL is asynchronous: the create call answers immediately with document.create_pending, and the document reaches document.draft a few seconds later. Listen for the document_state_changed webhook (subscribe with webhooks.createSubscription, and store the subscription’s shared_key) or poll documents.get. Document creation by file upload (multipart) and the OAuth flow are not part of this plugin; neither are the member, workspace, content-library, catalog, section, quote and notarization endpoints. Every operation is described in PandaDoc’s API reference: https://developers.pandadoc.com/reference/about What you get:
  • 26 typed API operations
  • 1 incoming webhook event types

Setup

1

Install

2

Add the plugin

corsair.ts
With multiTenancy: true, scope calls with corsair.withTenant(id). See Quick start for KEK + Hub keys, and Multi-tenancy for account isolation.
3

Choose authentication

4

Connect a tenant

Mint a connect link and send the tenant to it. Hub hosts the page and delivers the result to your app — see Connect / OAuth.

Example API calls

Read a document
Create a document from a template
See the full list on the API page.

Webhooks

This plugin registers 1 webhook event type. Configure the provider to POST to your Corsair HTTP handler, then use webhookHooks on the plugin factory. See Webhooks for every event path and payload shape, and Webhooks concept for routing.

What’s next

API reference

Every pandadoc.api.* operation with input and output types.

Webhooks

Event paths, payloads, and webhookHooks examples.

Connect / OAuth

createLink, Hub delivery, and tenant connect flows.

Use with agents

Expose this plugin’s operations as MCP tools.