Overview
What the CRM API does, how a call is built and where to go next.
On this page
The CRM API reads and writes companies, persons, deals and the work on them, and 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
- Companies and persons: who you sell to, with an owner and a status.
- Deals: create, move through the stages, win or lose with a reason, reopen, create the order in ERP, merge duplicates.
- Pipelines and stages: the stages, their weights and the days after which a deal is stale.
- Activities, notes and tasks: the timeline of a company and the next step of a deal.
- Custom fields: the extra fields your records carry.
- 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 record changes. See Event envelope.
Deal stages
A deal has one stage. The product views show the same words. Deals, pipelines and stages says how a deal moves.
| Status | Meaning |
|---|---|
lead | The deal is entered, for example from a form on a website. Nobody has qualified it yet. |
qualified | The need, the buyer and the time frame are known. |
offer | An offer has been sent. |
negotiation | The buyer and the owner are agreeing on the terms. |
won | The deal is won, with its reason. An order can be created in ERP from it. |
lost | The deal is lost, with its reason. It can be reopened. |
Where next
- Create a company and a deal in the Quickstart.
- Learn the records in Companies and persons and Deals, pipelines and stages.
- Follow a task end to end in the guides.
- Check the list before you go live: Go-live checklist.