Skip to main content

Connecting to PandaDoc

Your users will need the following information to connect their PandaDoc account with your integration built with Paragon Connect:
  • PandaDoc API Key
Once your users have connected their PandaDoc account, you can use the Paragon SDK to access the PandaDoc API on behalf of connected users. See the PandaDoc REST API documentation for their full API reference. Any PandaDoc API endpoints can be accessed with the Paragon SDK as shown in this example.
// You can find your project ID in the Overview tab of any Integration

// Authenticate the user
paragon.authenticate(<ProjectId>, <UserToken>);
            
// Send a document
paragon.request("pandadoc", "/documents/<ID>/send", {
  method: "POST",
  body: {
     "message": "Hello! This document was sent from the PandaDoc API.",
     "subject": "Please check this test API document from PandaDoc",
     "silent": false,
     "sender": {
          "membership_id": "gEy74Zx4VjNfV3Q2rHdgZW"
     }
  }
});

// List documents
paragon.request("pandadoc", "/documents?", {
  method: "GET"
});

// Create a contact
paragon.request("pandadoc", "/contacts", {
  method: "POST",
  body: {
     "email": "[email protected]",
     "first_name": "John",
     "last_name": "Appleseed",
     "company": "Apples & Company",
  }
});
  

Building PandaDoc workflows

Once your PandaDoc account is connected, you can add steps to perform the following actions:
  • Create a Document
  • Update a Document
  • Get Document by ID
  • Delete Document
  • Send a Document
  • Search Documents
You can also use the PandaDoc Request step to access any of PandaDoc’s API endpoints without the authentication piece. When creating or updating records in DocuSign, you can reference data from previous steps by typing {{ to invoke the variable menu.