ComposeIt LogoComposeIt
Integrations

Docuseal

Learn how to dynamically request signatures on generated documents with Docuseal.

Generate templates dynamically in ComposeIt and automatically route them to Docuseal for electronic signing.

Users can already drag and drop Docuseal fields directly into their visual templates. A fully native, out-of-the-box Docuseal integration is coming soon!


Programmatic Signatures

When you compile a PDF document using the ComposeIt API, you can send it directly to the Docuseal client for signing using the following script:

import docuseal from '@docuseal/api';

// Provide the direct public HTTP/HTTPS link to your PDF
const pdfUrl = "https://example.com/path/to/your/file.pdf";

docuseal.configure({ key: "API_KEY", url: "https://api.docuseal.com" });

const submission = await docuseal.createSubmissionFromPdf({
  name: "Rental Agreement",
  documents: [
    {
      name: "rental-agreement",
      file: pdfUrl, // DocuSeal will fetch the PDF directly from this URL
    },
  ],
  submitters: [
    {
      role: "First Party",
      email: "john.doe@example.com",
    },
  ],
});

Embedded Field Tags

For more information on the text input fields and signature tags, refer to the Docuseal Embedded Text Field Tags Guide.

We use cookies to ensure you get the best experience on our website. For more information on how we use cookies, please see our privacy policy.