Skip to content
ERPDocs

ERPDocs API Overview

The ERPDocs REST API lets your own systems — an ERP, a procurement portal, an HR tool — send agreements for signature without anyone opening ERPDocs.

This page is for the person deciding whether to use the API and what to hand their developer. The full technical reference lives at erpdocs.com/developers.


What the API is for

Use it when Use the app instead when
The same agreement goes to many counterparties and only names, emails and a few values change Every document is different
Sending must be triggered by something in another system (a new supplier, a new hire, a renewal date) A person decides each time who to send to
You send hundreds or thousands per run You send a handful a week
You want completion pushed back into your system automatically You are happy tracking in SignPack → Manage

If you only send occasionally, Using Templates with SignPack in the app is faster to set up and needs no developer.


The one thing to understand first

Sending is template-driven by default, but you can also send raw PDFs.

If the same agreement goes to many counterparties with only names and a few values changing, build a template once in the UI and send by role name and field label.

If your system generates a fresh document every time, upload the PDF directly and place fields with anchor tags inside the document itself (e.g. {{sig:Supplier}}, {{date:Supplier}}, {{text:Supplier:Address}}). ERPDocs detects the tags, removes them from the final PDF, and places the real fields at the exact same positions. No template is required.

Signature boxes, date boxes and text boxes still have to sit at exact coordinates, but the anchor tags carry both the coordinates and the role mapping.

That means:

  1. Template path — build the template in ERPDocs, then send by template_id.
  2. Raw-PDF path — generate the PDF in your system with anchor tags, then POST /api/v1/signpacks.

Role names and field labels are the contract. Renaming a role or a field label later will break the integration silently. Agree on them before the developer starts, and treat renames as a change that needs coordinating.


What you need to get started

Item Where it comes from Who does it
A finished template with roles and placed fields Templates → Create a template You
An API key with the right scopes Admin → API & Webhooks An org admin
A sender email Any active user in your organization You
A webhook endpoint (optional) A URL on your own systems Your developer
The API reference erpdocs.com/developers Your developer

Start with Creating an API Key.


What the API can do

Capability Notes
Send one envelope from a template Immediate
Send one envelope from a raw PDF with anchor tags POST /api/v1/signpacks; no template required
Send up to 1000 envelopes in one request Queued in the background; you poll or wait for a webhook
Read the role names and prefillable field labels on a template So the developer never has to guess
List and inspect envelopes and their recipients Including who has signed
Download the final sealed PDF With its SHA-256 hash so you can verify integrity
Send manual reminder emails Only for envelopes still awaiting signature
Receive signed webhooks on send, completion and batch finish HMAC-SHA256, verifiable
Host signing inside your own product Embedded signing — your app authenticates the signer, ERPDocs returns a one-time iframe URL. Invitation and reminder emails are suppressed for those signers; completion and signed-copy emails are sent by default, but you can opt a recipient out with suppress_completion_email
Manage brand profiles for email and signing UI white-labelling brand.read / brand.write

Auto-filled data: what stays fixed and what the signer can change

If your system fills in values before sending, this distinction matters.

Where the value sits in the template Signer can change it? Use it for
A box assigned to a signer Yes Values you are suggesting, that the signer may correct
A tag box (no recipient assigned) No — locked, read-only Values you are asserting: amounts, invoice numbers, reference codes

If a figure must appear on the signed PDF exactly as your system calculated it, place it in a tag box when you build the template. A normal text box assigned to a signer can be edited by that signer before they sign.


What the API cannot do

Stated plainly so nobody designs a project around something that does not exist.

  • Raw-PDF upload and send is available via POST /api/v1/signpacks with anchor tags. Without anchor tags, a template is still required.
  • No template creation or editing. Templates, roles and field placement are UI-only.
  • No cancel, recall or correction endpoints. Those are UI-only. Voiding is available via POST /api/v1/signpacks/{id}/void.
  • No DSC (hardware token) signing. DSC is a UI flow. Templates whose roles require DSC can fail per row when sent in bulk.
  • No cancelling a batch once it is queued.
  • No ready-made SDKs. Your developer works with plain HTTPS and JSON, which works in every language.
  • Sandbox does not simulate signing. Sandbox keys are useful for testing the connection and permissions only. A sandbox key used on a write endpoint returns 403 sandbox_write_blocked.
  • Public demo key. A shared sandbox key is published on the developer portal so you can try the read endpoints without signing up. It is rate-limited to 30 requests/minute and points at a synthetic demo organization.

Rate limits and volume

Limit Value
Rows per bulk request 1000
Bulk requests per minute, per key 10
All other requests per minute, per key 300

A job larger than 1000 must be split into multiple requests. There is no extra charge for API use, and no separate quota beyond these limits.


Security

  • Keys are per organization. A key can only ever see and act on your own organization's data.
  • Keys carry scopes — grant only what the integration needs. A read-only reporting job should not be able to send.
  • The raw key is shown once at creation and never again.
  • Key creation and revocation are recorded in the Audit Log.
  • Webhook deliveries are signed; your developer must verify the signature so nobody can forge a "completed" notification.

Next steps