Overview
What the DMS API does, how a call is built and where to go next.
On this page
The DMS API files documents, reads the values of an invoice, routes a document to its approvers, collects signatures and keeps every version and every decision, and it tells you what happened. It is a JSON API over HTTPS: you send requests, and it sends events to an address you register.
Client credentials, your base address and a test company are issued with your account. Accounts are opened by our team: ask for one through the contact form and we set it up with you.
Request an accountWhat it covers
- Documents: create one from a file, read it, revise it, archive it, import an archive, read its versions.
- Properties and classes: the properties of a draft and the four classes with their approvers, keep-until rule and readers.
- Search: find documents by name, number, counterparty, project and extracted value.
- Extraction: the values read from an invoice, with how sure each reading is; accept or correct them.
- Approval: submit a document, approve it or return it with a reason.
- Signatures: send a contract or an offer for signature and follow each recipient.
- Audit: who did what to a document, and when.
- Events and subscriptions: where your system hears about a change.
How a call works
Sign in
Ask for a token with your client credentials. See Authentication.
Read
List and read records. Lists come in pages of up to 500. See Pagination.
Change
Every change carries an
operationIdand, on an existing record, anexpectedRevision. See Idempotency and concurrency.Listen
Events tell you when a document changes. See Event envelope.
Document statuses
A document has one status. The product views show the same words. Documents and versions says how a document moves from one to the next.
| Status | Meaning |
|---|---|
draft | The document is created and can still be changed. A document that an approver returned is a draft again, marked returned. |
in-review | The document waits for the next approver of its route. |
approved | Every approver of the route approved. A contract or an offer can now be sent for signature; an invoice or a report can be archived. |
signed | Every recipient signed. The document can be archived. |
archived | The document is kept until its keep-until date. Nothing changes on it any more. |
Where next
- Create an invoice, read its values and send it to approval in the Quickstart.
- Learn the records in Documents and versions and Classes and properties.
- Follow a task end to end in the guides.
- Check the list before you go live: Go-live checklist.