Skip to main content
A company’s clients and its meetings, kept by its agents and open to a person. Every route takes agents:write, the reads too, except the inquiry below.

Contacts

A contact has a name, company, email, phone, stage (lead, talking, proposal, won, lost), value_micro_usd, next_step, next_step_at and source. An email is on file once per company: adding one already on file updates that contact, and never moves its stage.
  • GET /v1/crm/contacts, newest touched first. Filter with stage and q (name, company or email), or ids: up to 100 contact ids, comma-separated, for just those contacts.
  • POST /v1/crm/contacts
  • GET /v1/crm/contacts/{id}, with its activity, newest first.
  • PATCH /v1/crm/contacts/{id}. A stage that changes writes its own line on the timeline.
  • DELETE /v1/crm/contacts/{id}. Deletes the contact and its timeline.

Inquiries

POST /v1/crm/inquiries takes name, email, and optionally company, phone, source and note, with agents:read, so a website’s contact form can file a message through its app’s own key. A new email becomes a contact at talking (source site unless given); an email already on file is left as it is. The note goes on that contact’s timeline either way. The reply is 202 with { "object": "crm_inquiry", "received": true } and nothing else.

Timeline

A line has a kind (note, email, call, meeting, stage), a body, at, ends_at, and by: the agent that wrote it, or null for a person. Only a meeting may stand without a contact. A stage line is written by the move itself, and stays.
  • POST /v1/crm/activity
  • PATCH /v1/crm/activity/{id}
  • DELETE /v1/crm/activity/{id}

Calendar

GET /v1/crm/calendar?from=&to= reads meetings, and each open contact’s next step on its day, soonest first, across at most a year.

From an agent

In a company whose template declares the CRM, agents have crm.read and crm.write, and open_panel turns the panel beside the chat to crm, calendar or ads. An agent cannot delete a contact.