Developers · Enterprise

The DocuNeg API

Connect DocuNeg to the systems you already run. Import contracts, invite counterparties, follow activity, pull reports and get a webhook when something happens — while the negotiation itself stays in DocuNeg.

  • REST · JSON over HTTPS
  • OpenAPI 3.0
  • Signed webhooks

Read the API referenceSee the plans

List your organization’s documents
$ curl https://api.docuneg.com/api/v1/documents \
    -H "Authorization: Bearer dn_live_…"
# 200 OK — documents as records,
# each with status, parties, versions
# and a link to open it in DocuNeg
01 What the API covers

Everything around the negotiation

Documents

List and read contracts as records. Rename, archive, delete, or download the original file.

GET /documents

Imports

Bring a Word document in from intake: reserve, upload, confirm — and it’s converted.

POST /imports

Counterparties

Invite the other side to a document straight from your own systems.

POST …/{id}/counterparties

Webhooks

Subscribe to events. Test, redeliver, and rotate the signing secret.

POST /webhooks

Reports

Everything the Reports page and Home show an admin, as JSON or CSV — into your own dashboards.

GET /reports/cycle-time

Audit

Activity across the organization, or for a single document.

GET /audit/events

Templates

Bring templates and their categories in from where you keep them, one at a time or a hundred at once.

POST /templates/batch

Users & organization

Invite people one by one or in bulk, change roles, deactivate or delete, and manage organization settings.

POST /users
02 Where the line is

Your systems handle the records. DocuNeg handles the negotiation.

Editing, comments, proposals and signing happen inside DocuNeg, where the disclosure boundary and approvals apply. Every document the API returns carries a link to open it there.

Through the API

  • Import contracts from your intake
  • Invite counterparties
  • Track status, parties and versions
  • Pull reports and activity
  • Manage users and organization settings
  • React to events with webhooks

In DocuNeg

  • Editing and redlining
  • Internal and external comments
  • Proposals and counter-proposals
  • Approvals and signing

Keeping these in one governed place is what keeps internal positions from leaking to the other side.

03 A typical integration

From intake to your CRM, without copy-paste

  1. 1Import the draftYour intake tool sends the Word file.POST /imports
  2. 2Invite the other sideThe counterparty gets their invitation.POST …/counterparties
  3. 3Negotiate in DocuNegRounds, comments, approvals — in the workspace.
  4. 4Hear when it’s signedYour endpoint receives the event.document.signed
  5. 5Update your recordsRead the document and sync your CRM.GET /documents/{id}
Get told when a contract is signed
$ curl -X POST https://api.docuneg.com/api/v1/webhooks \
    -H "Authorization: Bearer dn_live_…" \
    -H "Content-Type: application/json" \
    -d '{ "url": "https://example.com/hooks/docuneg", "events": ["document.signed"] }'
04 How it works

Predictable by design

One key per organization

Create it in Settings → Integrations and send it as a Bearer token. It only ever reaches your own organization’s data.

Bearer dn_live_…

Read and write scopes

read covers every GET. Anything that changes data needs write.

read · write

Rate limits you can see

Each key has its own budget, reported on every response. A 429 tells you when to retry.

X-RateLimit-Remaining

One error shape

Every error returns the same body, with a stable code where there is one to branch on.

statusCode · error · code

API reference

Included with Enterprise.

The API and webhooks are part of the Enterprise plan. Evaluating it for a specific workflow? Tell us what you want to connect.