For Agents
Send documents for e-signature, retrieve signed PDFs, manage templates and signers, and check signing status on the Legalesign EU platform.
Install Jentic One Beta
Jentic One is a self-hosted execution layer for AI agents. It lets your agent call the Legalesign API, or any other public or private API you need. You set the rules, the agent never sees your credentials, and every call is logged.
Two steps, two machines. Install the instance in a safe environment, then register your agent from wherever it runs.
Step 1: Jentic One Host machine
# On the machine that will host your Jentic One instance:
curl -fsSL https://raw.githubusercontent.com/jentic/jentic-one/main/tools/install.sh | shStep 2: Agent machine
# On the machine where your agent runs (keep this separate from the instance):
curl -fsSL https://raw.githubusercontent.com/jentic/jentic-one/main/tools/install.sh | sh
jentic register # connects your agent to your Jentic One instanceJentic One is in public beta. The setup above keeps your agent separate from the instance, which is what you want before using real credentials: an agent running as the same OS user as Jentic One can read its stored keys directly. Just evaluating? A single local install is fine to start. See the secure deployment guide for the tiers.
What an agent can do with Legalesign API.
Send a PDF or HTML document for electronic signature to one or more signers
Retrieve a fast status summary of a sent document including signer progress
Download the final signed PDF or the in-progress draft for a document
GET STARTED
Use for: I need to send a contract for signature to a customer, Get the signed PDF for a completed envelope, Check whether a document has been signed yet, List all documents I have sent in the last week
Not supported: Does not handle identity verification, payment collection, or document drafting - use for sending PDFs and HTML documents for electronic signature only.
The Legalesign API is the REST interface for Legalesign, an electronic signature SaaS used to send, sign and archive legally binding documents. It supports sending PDF or HTML documents to one or more signers, attaching static PDFs to email envelopes, managing reusable templates, and reading status and signed PDFs back into downstream systems. Authentication uses an API key in the Authorization header with an ApiKey [key]:[secret] value, scoped per Legalesign account on the EU region endpoint.
Manage reusable document templates and their signer placeholders
Upload static PDF attachments that travel with signing email envelopes
Manage groups, members and account users for team-based signing workflows
Patterns agents use Legalesign API for, with concrete tasks.
★ Customer contract e-signing
Send a sales contract to a customer for legally binding electronic signature, then download the executed PDF when complete. POST /document/ accepts the PDF and signer metadata and creates a signing envelope; GET /pdf/{docId}/ returns the final signed PDF for archiving. End-to-end integration takes a day for basic flows.
POST /document/ with the PDF, signer email and name, then poll GET /status/{docId}/ until signed and download GET /pdf/{docId}/.
Signing status reconciliation
Reconcile in-flight envelopes against an internal CRM by polling the lightweight status endpoint instead of hammering the full document endpoint. GET /status/ returns a fast short summary across documents, suitable for a daily sync job that updates deal stages.
GET /status/ filtered to the last 7 days, map each docId to its CRM record, and update the deal stage to 'Signed' for any document whose status is signed.
Template-driven onboarding
Onboard new clients with a reusable Legalesign template that has predefined signer fields, so the API call only needs to supply the signer name and email. Templates are managed via the /template/ endpoints and referenced by ID when creating documents, which removes the need to upload the PDF on every send.
List templates via GET /template/, pick the Onboarding template ID, and POST /document/ referencing that template with the new client's signer details.
Agent-driven contract execution via Jentic
An AI agent reads an approved deal in the CRM, calls Legalesign through Jentic to send the standard contract for signature, and pushes the signed PDF back into the deal record once complete. Jentic stores the Legalesign API key in the MAXsystem vault so the agent never handles the raw secret.
Search Jentic for 'send a contract for signature', load the schema for POST /document/, and execute with the customer email and contract PDF from the CRM.
45 endpoints — the legalesign api is the rest interface for legalesign, an electronic signature saas used to send, sign and archive legally binding documents.
METHOD
PATH
DESCRIPTION
/document/
Send a document for signature
/document/
List sent documents
/document/{docId}/
Get details of a single document
/status/{docId}/
Fast status check for a document
/pdf/{docId}/
Download the signed or draft PDF
/attachment/
Upload a PDF attachment
/document/preview/
Preview the signing page for an HTML document
/document/
Send a document for signature
/document/
List sent documents
/document/{docId}/
Get details of a single document
/status/{docId}/
Fast status check for a document
/pdf/{docId}/
Download the signed or draft PDF
Three things that make agents converge on Jentic-routed access.
Credential isolation
The Legalesign API key (formatted as 'ApiKey key:secret') is stored in the Jentic MAXsystem vault. The agent receives a scoped reference, never the raw secret, and Jentic injects the Authorization header at execution time.
Intent-based discovery
Agents search by intent such as 'send a contract for signature' and Jentic returns the matching POST /document/ operation with its signer-array input schema, so the agent calls the right endpoint without reading the 45-endpoint reference.
Time to first call
Direct Legalesign integration: 2-3 days to wire up auth, document send, status polling and PDF download. Through Jentic: under 30 minutes - search, load, execute.
Alternatives and complements available in the Jentic catalogue.
Specific to using Legalesign API through Jentic.
What authentication does the Legalesign API use?
Legalesign uses an API key passed in the Authorization header with the literal value 'ApiKey [key]:[secret]'. Get the key from the API settings page after activating an account. Through Jentic the key is stored in the MAXsystem vault and injected at request time.
Can I send a document for signature with the Legalesign API?
Yes. POST /document/ creates a signing envelope from a PDF or HTML payload and one or more signers. Signers receive a branded email with the signing link, and the document moves through the standard signed/declined/expired states.
How do I download the signed PDF after a document is complete?
Call GET /pdf/{docId}/ - it returns the final signed PDF if the envelope is complete, or the in-progress draft otherwise. Pair it with GET /status/{docId}/ to confirm signing has finished before downloading.
What are the rate limits for the Legalesign API?
Rate limits are not declared in the OpenAPI spec. The trial sandbox is capped at 5 signers; production accounts have plan-based throughput. Contact support@legalesign.com for the limits that apply to your account.
How do I integrate Legalesign with an AI agent through Jentic?
Run pip install jentic, then search for 'send a contract for signature'. Jentic returns the POST /document/ operation, loads its input schema, and executes with the API key from the vault. The agent only sees the docId in the response.
Can I preview what the signer will see before sending?
Yes. POST /document/preview/ returns a preview of the signing page for an HTML document so the agent or developer can verify formatting before issuing a real send.
/attachment/
Upload a PDF attachment
/document/preview/
Preview the signing page for an HTML document