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.
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.

| Connection | Acts as | Use it for |
|---|---|---|
| AI assistant (MCP) | The person who signs in | Claude and other assistants — see Connect an AI assistant |
| API key | The organization | Your own systems and scripts |
| Webhook | — | Being told when something changes |
Create an API key
- Click Create key.
- Give it a name that says which system uses it, so you know what you are revoking later.
- Choose the access it needs.
- Set Expires if the key is for a limited job. It is optional, and a date is safer than no date.
- Click Create key.
- Copy the key and store it somewhere safe. DocuNeg shows it once, in this dialog, and never again.

| Access | What the key can do |
|---|---|
| Read only | See documents, templates, activity and reports. Nothing can be changed. |
| Read and write | Also 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.

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.
- Click Add webhook.
- Enter the Endpoint URL on your side that will receive the deliveries.
- Add a description if the URL alone will not tell you later what this one is for.
- Leave All events ticked to receive everything, including kinds added later. Untick it to choose events one by one.
- Click Add webhook.
- Copy the signing secret. Like a key, it is shown once.

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.

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.
Welcome the 21st century for document negotiation.
Kiss the dark ages goodbye.