Skip to content
Last updated

Embed API

Overview

The Embed API enables you to seamlessly integrate Docue's document-building interface into your own platform, offering your users a smooth document creation experience - entirely within your branded environment.

Please note that this is a separate product from Docue.com platform. If you are a user of Docue.com and are interested in integrating it into your system, please visit our Platform API Documentation. The Embed API is primarily designed for system providers or resellers looking to integrate Docue's document-building features into their existing products.

Example implementation

Example implementation can be found at https://example-embeddable-builder.vercel.app. It demonstrates example flows from the end user's perspective on how the Embed API works.

Prerequisites

To use this API, you need an API key. You can generate sandbox and production API keys in the customer portal at https://api.builder.docue.com/customer.

Sandbox and production API keys operate within the same API. All created resources are automatically isolated into separate environments. You cannot access production data using a sandbox API key or vice versa. Using a sandbox API key does not count toward your account limits and does not incur any costs.

If you do not have access to the customer portal yet, please contact our customer support at support@docue.com.

Base URLs

Legal Engine and Sign Engine are currently served from different hosts:

EngineBase URLPaths
Legal Enginehttps://api.builder.docue.com/api/...
Sign Enginehttps://api.embed.docue.com/sign/...

Use the same API key for both. Legal Engine was built first, and we are migrating it to the platform that runs Sign Engine. Until the migration is complete, send each request to the host of the engine it belongs to. The API reference uses the correct host for each endpoint.

Legal Engine adds lawyer-drafted document automation: your users answer guided questions and generate compliant legal documents without leaving your product.

See Legal Engine for the Template Browser, Builder, trial mode, duplication, updating document state, white-labeling, and pricing.

Sign Engine

Sign Engine lets you collect legally binding digital signatures on PDF documents through the Embed API.

See Sign Engine for integration approaches, invitations, webhooks, the audit log, and retrieving signed documents.