Skip to content
DocuMapDocuMapbyTrueScreen
Documentation

API, webhook and MCP server documentation.

Everything you need to connect DocuMap to your systems and your AI assistants.

Introduction

DocuMap connects in two ways. The MCP server brings your data rooms into AI assistants that support the Model Context Protocol. The REST API and webhooks connect DocuMap to your business software and automated workflows.

Every call, through MCP or the API, acts with the permissions of whoever authorised it and stays in the data room log.

Authentication

For the API you create a key from your account, with read-only or read and write permissions. The key goes in the header of every request and can be revoked at any time.

curl -H "Authorization: Bearer $DOCUMAP_API_KEY" \ $DOCUMAP_API/v1/rooms

MCP needs no key: the assistant asks you to sign in with your account and give your consent.

MCP server

  1. Open the connector or app settings of your assistant: ChatGPT, Claude, Gemini or your own agent.
  2. Add the DocuMap MCP server with its address.
  3. Sign in with your DocuMap account and choose the permissions: read only, or read and write.
  4. Ask in your own words: the assistant uses the DocuMap tools to search, read, upload and organise.

The available tools cover searching documents, reading their text, questions answered with cited sources, uploading and organising folders. The assistant sees only the data rooms and folders you can see.

REST API

The main resources are data rooms, folders, documents with their versions, people with their roles, and the log.

# Upload a document to a folder POST /v1/rooms/{id}/documents Content-Type: multipart/form-data 201 Created

Webhooks

Register your system's address and choose the events: DocuMap notifies you when a document is uploaded, signed or released from escrow.

Action log

Every action taken by an API key or by an assistant connected through MCP enters the data room log as an action by an AI agent, with date, time and the document involved. Administrators see it and export it like any other action.

Connect DocuMap to your systems.

We show you the API and MCP on your own use case.