Skip to main content

CRM

The CRM lives at Dashboard → CRM: a deals pipeline with forecast math, plus companies, contacts, leads, tasks, calls, sequences, and watchers tabs. Everything is live workspace data — every API call below needs a Bearer JWT and an X-Workspace-Id header.

Deals: pipeline, table, forecast

The CRM home shows four stat cards — open pipeline value, forecast commit with coverage multiple against quota, best case, and flagged deals — then a per-stage pipeline board (up to 4 cards per column, each with an Open button), an all-deals table, and the latest activity feed.

Deal stages are stored lowercase and displayed with title case:

  • lead → qualified → discovery → proposal → negotiation, then closed_won or closed_lost
  • Each deal gets a human ref like D-007; amounts are stored as value and served as both amount_cents and a human label ($12k, $1.5M)

The forecast call is computed, not typed:

  • Commit = proposal + negotiation at full value
  • Best case = commit plus discovery
  • Pipeline = every open deal; coverage = pipeline ÷ quota (default quota $1M, overridable per request)
  • Pass weighted=true to count each deal at its probability instead of full value

Open a deal to get its stage stepper (moving stages accepts display or stored form), a notes timeline with a composer, linked tasks with checkboxes, and a forecast panel where the category dropdown (commit / best / pipe / out / closed) overrides the stage-derived category. Deals belong to a contact — the company name on a deal comes from that contact's company field.

Companies, contacts, leads

Companies are the real account object: name, domain, website, industry, headcount, plan, tier, lifecycle stage (lead / prospect / customer / partner / churned), health, owner, and source. Company names are unique per workspace. The portal table shows plan, headcount, and a health dot; the add form takes name plus optional domain.

Contactsare the people: name, email, company (free text), title, phone, stage, source, notes, and score. The list view enriches each row with the linked company's owner, an activity count, and a last-touch timestamp. Explicit contact↔company links (with a role like "champion") live in a separate link table — linking or unlinking never touches the contact's free-text company field.

Leads are the scoring view over the same contacts table, sorted by score. The portal offers status moves (new / working / qualified / unqualified) via a per-row dropdown, plus a name-and-company add form.

Tasks, calls, meetings, notes, activities

Tasksare human follow-ups ("send the MSA"), not agent tasks. Each has an optional deal and contact link, a due label, an owner, and a done flag with a T-012-style ref. The portal renders them as checkboxes; toggling writes through immediately.

Callscarry a subject, company, optional contact, timestamp (rendered as a friendly "Thu Oct 9, 2:30 PM" label), duration in minutes, owner, and summary. Meetings carry a title, company, optional contact, timestamp, and a comma-separated attendee list that the API returns as an array.

Notes are free text pinned to any deal, contact, or company via an entity + entity_id pair, with an author stamp. Activities are timeline entries on a contact or deal (at least one id is required) with a type and description; subjects longer than 140 characters are truncated in list views.

API pointers

MethodPathWhat it does
GET/api/dealsList deals; filter by stage, owner, forecast_cat
GET/api/deals/pipelineOne column per stage with deals and totals
GET/api/deals/forecastCommit / best-case / pipeline / coverage; quota_cents + weighted params
GET/api/deals/{id}Deal + contact card, notes, and linked tasks
POST/api/deals/{id}/moveChange stage (accepts display or stored form)
POST/api/deals/{id}/categoryForecast-category override
GET/api/companiesList with tier / lifecycle_stage / search filters; includes contact_count + open_deal_value
POST/api/companiesCreate (name unique; 409 on duplicate)
GET/api/companies/{id}Company plus linked contacts and deals
PATCH/api/companies/{id}Partial update
DELETE/api/companies/{id}Delete and unlink all contacts
POST/api/companies/{id}/linksLink a contact with a role
DELETE/api/companies/{id}/links/{contact_id}Unlink a contact
GET/api/companies/stats/summaryCounts by lifecycle stage and tier
GET/api/contactsList with stage / search filters
POST/api/contactsCreate a contact
GET/api/contacts/{id}Contact plus recent activities and deals
PATCH/api/contacts/{id}Partial update
DELETE/api/contacts/{id}Delete and remove company links
GET/api/leadsScore-sorted list; status / search filters
POST/api/leadsCreate a lead
PATCH/api/leads/{id}Update, incl. status moves (maps to stage)
GET/api/tasksList; done / owner / deal_id filters
POST/api/tasksCreate a follow-up task
PATCH/api/tasks/{id}Partial update
POST/api/tasks/{id}/toggleFlip the done flag
DELETE/api/tasks/{id}Delete a task
GET/api/callsCall log, newest first; owner filter
POST/api/callsLog a call
PATCH/api/calls/{id}Update a call
GET/api/meetingsMeeting log, newest first
POST/api/meetingsLog a meeting
PATCH/api/meetings/{id}Update a meeting
GET/api/activitiesTimeline entries; contact_id / deal_id filters
POST/api/activitiesLog an activity (contact_id or deal_id required)
DELETE/api/activities/{id}Delete an activity
GET/api/notesList; entity / entity_id filters
POST/api/notesPin a note to a deal, contact, or company
DELETE/api/notes/{id}Delete a note

Outreach and monitoring live in their own guides: Sequences and Watchers.