Help · Integrations

API keys and webhooks

Your CRM, your data warehouse, the script that files contracts every Monday: they reach DocuNeg with an API key, and they hear about what happened through a webhook. Both live on the Integrations page of Organization settings.

HelpDocuNeg Help Center

Open Organization settings from your avatar menu, or click Organization in the top menu. Click API under Quick actions, then Manage integrations. The page holds three things: AI assistants, API keys and webhooks. The difference between them matters.

Only admins can open it, and API keys and webhooks work on the Enterprise plan and above.

The Integrations page header explaining that an AI assistant connects as the person who signs in, an API key acts for the whole organization, and a webhook tells your systems when something happens, with a Read the API reference link
Three ways in, with different identities.
ConnectionActs asUse it for
AI assistant (MCP)The person who signs inClaude and other assistants — see Connect an AI assistant
API keyThe organizationYour own systems and scripts
Webhook—Being told when something changes

Create an API key

  1. Click Create key.
  2. Give it a name that says which system uses it, so you know what you are revoking later.
  3. Choose the access it needs.
  4. Set Expires if the key is for a limited job. It is optional, and a date is safer than no date.
  5. Click Create key.
  6. Copy the key and store it somewhere safe. DocuNeg shows it once, in this dialog, and never again.
The Create an API key dialog with a Name field whose placeholder reads For example, CRM sync, two access options — Read only, selected and described as see documents, templates, activity and reports, nothing can be changed, and Read and write, described as also create documents by importing files, invite counterparties, rename, archive or delete documents, and manage templates, users and webhooks — an optional Expires date field, and Cancel and Create key buttons
Read only unless the system genuinely has to write.
AccessWhat the key can do
Read onlySee documents, templates, activity and reports. Nothing can be changed.
Read and writeAlso create documents by importing files, invite counterparties, and rename, archive or delete documents, and manage templates, users and webhooks.

Send the key on every request in the authorization header:

Authorization: Bearer dn_live_…

Keep track of your keys

The table lists each key with its name and expiry date, the start of the key itself, its access, when it was last used and when it was created. Sort by Last used to find the keys nothing is using any more. Search by name, filter, chart by access, and export the list as CSV.

A key past its expiry date is marked Expired and stops working. Expired keys sit at the bottom of the list, and the Status filter shows live or expired keys on their own.

The API keys section: the Authorization: Bearer dn_live_… line, a search box, a chart of keys by access with one Read only and two Read and write, and a table of three keys with their key, access, last used and created columns and a Revoke button each — CRM sync, Read and write, expiring 23/11/2027 and never used; Data warehouse export, Read only, last used 23/11/2026; and at the bottom Quarterly import, marked Expired on 15/11/2026 with the line It no longer works, and its key struck through
Last used is how you find the keys nobody needs.

Add a webhook

A webhook is the other direction: instead of your system asking DocuNeg what changed, DocuNeg tells it. New versions, signatures and more arrive as they happen.

  1. Click Add webhook.
  2. Enter the Endpoint URL on your side that will receive the deliveries.
  3. Add a description if the URL alone will not tell you later what this one is for.
  4. Leave All events ticked to receive everything, including kinds added later. Untick it to choose events one by one.
  5. Click Add webhook.
  6. Copy the signing secret. Like a key, it is shown once.
The Add a webhook dialog with an Endpoint URL field showing the example https://hooks.example.com/docuneg, an optional Description field, an Events section with All events ticked and the note Including kinds added later, and Cancel and Add webhook buttons
All events covers the kinds that do not exist yet.

Every delivery is signed, so your endpoint can check it really came from DocuNeg before acting on it. The Read the API reference link at the top of the page documents the signature and the event payloads.

The Webhooks section with its empty state reading No webhooks yet, and the line Add a webhook to hear about new versions, signatures and more as they happen, beside an Add webhook button
Nothing listening yet.

What to do next

  • Give each system its own key, so you can revoke one without breaking the rest.
  • Set an expiry date on keys created for a one-off job.
  • Verify the signature on every webhook delivery before you trust it.

All guides

Welcome the 21st century for document negotiation.

Kiss the dark ages goodbye.