API reference

Version 1.0.0 · Base URL https://app.smartcontact.online/v1 · 251 operations · Download openapi.json

Account

GET /me/two-step

Your two-step sign-in: whether this workspace requires it and whether this session passed

200 OK (TwoStepStatus)
FieldTypeNotes
required boolean This workspace requires two-step sign-in
session_verified boolean This session passed a second step
second_step one of: passkey, sso, app_code, null
sign_in_method string or null How this session signed in (WorkOS): password, passkey, oauth, magic_code, sso…
app_set_up boolean You have an authenticator app for SmartContact
app_added_at string or null

POST /me/two-step/app

Start setting up an authenticator app: returns the QR code to scan. Finish with POST /me/two-step/verify

200 OK
FieldTypeNotes
qr_code string data:image/png URL (plain; the app draws its own from uri)
secret string
uri string otpauth:// link to show as a QR code

DELETE /me/two-step/app

Remove your authenticator app (this session must have passed a second step)

204 Removed

No body.

POST /me/two-step/verify

Enter a code from your authenticator app: finishes setting it up and/or completes this session’s second step

Request body
FieldTypeNotes
code required string
200 OK (TwoStepStatus)
FieldTypeNotes
required boolean This workspace requires two-step sign-in
session_verified boolean This session passed a second step
second_step one of: passkey, sso, app_code, null
sign_in_method string or null How this session signed in (WorkOS): password, passkey, oauth, magic_code, sso…
app_set_up boolean You have an authenticator app for SmartContact
app_added_at string or null

GET /me/sign-ins

Your recent sign-ins to this workspace, newest first

200 OK
FieldTypeNotes
data array of SignIn

PATCH /me

Update your name, profile photo (a small data:image URL, or null to remove it) or email notifications

Request body
FieldTypeNotes
first_name string Up to 60 characters.
last_name string Up to 60 characters.
avatar string or null Up to 81920 characters.
email_notifications boolean
204 Updated

No body.

GET /me/email-logging

Your personal address for logging emails: BCC it, or forward an email to it

200 Address
FieldTypeNotes
enabled boolean
address string or null

POST /me/password

Get a one-time link to change your password

200 OK
FieldTypeNotes
url string (uri)

Admin

GET /workspace/two-step

Two-step sign-in rule and where each member stands (admins)

200 OK (WorkspaceTwoStep)
FieldTypeNotes
required boolean
members array of TwoStepMember

PUT /workspace/two-step

Require two-step sign-in for everyone in the workspace, or stop requiring it (admins, signed in with a second step)

Request body
FieldTypeNotes
required required boolean
200 OK (WorkspaceTwoStep)
FieldTypeNotes
required boolean
members array of TwoStepMember

GET /workspace/sign-ins

Sign-in history for the workspace, newest first (admins)

ParameterInTypeNotes
user_id query string (uuid)
blocked query one of: true, false
limit query integer Default 50.
offset query integer or null Default 0.
200 OK
FieldTypeNotes
data array of SignIn
total integer

POST /pipeline-stages

Add a stage to the end of a pipeline

Request body
FieldTypeNotes
pipeline_id required string (uuid)
name required string Up to 60 characters.
kind one of: open, won, lost, account Default "open".
201 Created (PipelineStageAdmin)
FieldTypeNotes
id string (uuid)
name string
position integer
kind one of: open, won, lost, account
probability integer or null
companies integer

POST /lead-sources

Add a lead source

Request body
FieldTypeNotes
name required string Up to 60 characters.
channel required one of: web, referral, event, outbound, social, email, phone, partner, ads, other
201 Created (LeadSourceAdmin)
FieldTypeNotes
id string (uuid)
name string
channel string
companies integer

GET /automations

Workflow automation rules, with the plan limit

200 Rules
FieldTypeNotes
data array of AutomationRule
limit integer or null
enabled integer

POST /automations

Create a rule: when a record is created or updated, if conditions match, run actions

Request body
FieldTypeNotes
name required string Up to 100 characters.
enabled boolean Default true.
trigger_object required one of: company, contact, deal
trigger_event required one of: created, updated
trigger_field string or null For "updated": only when this field changes Default null. Up to 80 characters.
conditions array of object Default [].
actions required array of object
201 Created (AutomationRule)
FieldTypeNotes
name string Up to 100 characters.
enabled boolean Default true.
trigger_object one of: company, contact, deal
trigger_event one of: created, updated
trigger_field string or null For "updated": only when this field changes Default null. Up to 80 characters.
conditions array of object Default [].
actions array of object
id string (uuid)
runs integer
last_run_at string or null
created_at string

PATCH /automations/{id}

Change a rule, or turn it on or off

ParameterInTypeNotes
id required path string (uuid)
Request body
FieldTypeNotes
name string Up to 100 characters.
enabled boolean Default true.
trigger_object one of: company, contact, deal
trigger_event one of: created, updated
trigger_field string or null For "updated": only when this field changes Default null. Up to 80 characters.
conditions array of object Default [].
actions array of object
200 Updated (AutomationRule)
FieldTypeNotes
name string Up to 100 characters.
enabled boolean Default true.
trigger_object one of: company, contact, deal
trigger_event one of: created, updated
trigger_field string or null For "updated": only when this field changes Default null. Up to 80 characters.
conditions array of object Default [].
actions array of object
id string (uuid)
runs integer
last_run_at string or null
created_at string

DELETE /automations/{id}

Delete a rule

ParameterInTypeNotes
id required path string (uuid)
204 Deleted

No body.

GET /workspace

Workspace profile and settings

200 OK (Workspace)
FieldTypeNotes
id string (uuid)
slug string
name string
plan string
settings WorkspaceSettings

PATCH /workspace

Rename the workspace or change its settings (admins)

Request body
FieldTypeNotes
name string Up to 100 characters.
settings object
200 OK (Workspace)
FieldTypeNotes
id string (uuid)
slug string
name string
plan string
settings WorkspaceSettings

GET /workspace/retention-preview

How many leads and contacts a retention policy of this many months would move to the recycle bin now

ParameterInTypeNotes
months required query integer
200 OK
FieldTypeNotes
companies integer
contacts integer
capped boolean

GET /pipelines

Pipelines with their stages and company counts

200 OK
FieldTypeNotes
data array of Pipeline

POST /pipelines

Create a pipeline, optionally with initial stages

Request body
FieldTypeNotes
name required string Up to 80 characters.
object one of: company, deal Default "company".
stages array of object Default [].
201 Created (Pipeline)
FieldTypeNotes
id string (uuid)
name string
object one of: company, deal
is_default boolean
position integer
stages array of PipelineStageAdmin

PATCH /pipelines/{id}

Rename a pipeline, make it the default, or reorder its stages

ParameterInTypeNotes
id required path string (uuid)
Request body
FieldTypeNotes
name string Up to 80 characters.
is_default one of: true
stage_order array of string (uuid) Every stage id of this pipeline, in the new order
200 OK (Pipeline)
FieldTypeNotes
id string (uuid)
name string
object one of: company, deal
is_default boolean
position integer
stages array of PipelineStageAdmin

DELETE /pipelines/{id}

Delete a pipeline that no company uses (not the default one)

ParameterInTypeNotes
id required path string (uuid)
204 Deleted

No body.

PATCH /pipeline-stages/{id}

Rename a stage or change its kind (e.g. mark the stage where a lead becomes an Account)

ParameterInTypeNotes
id required path string (uuid)
Request body
FieldTypeNotes
name string Up to 60 characters.
kind one of: open, won, lost, account
probability integer or null 0–100.
200 OK (PipelineStageAdmin)
FieldTypeNotes
id string (uuid)
name string
position integer
kind one of: open, won, lost, account
probability integer or null
companies integer

DELETE /pipeline-stages/{id}

Delete a stage. Companies in it must move: pass move_to (a stage id) when it is in use

ParameterInTypeNotes
id required path string (uuid)
move_to query string (uuid)
204 Deleted

No body.

PATCH /lead-sources/{id}

Rename a lead source

ParameterInTypeNotes
id required path string (uuid)
Request body
FieldTypeNotes
name string Up to 60 characters.
channel one of: web, referral, event, outbound, social, email, phone, partner, ads, other
200 OK (LeadSourceAdmin)
FieldTypeNotes
id string (uuid)
name string
channel string
companies integer

DELETE /lead-sources/{id}

Delete an unused lead source

ParameterInTypeNotes
id required path string (uuid)
204 Deleted

No body.

GET /custom-fields

Custom fields, in display order

ParameterInTypeNotes
object query one of: company, contact, deal
include_archived query one of: true, false Default "false".
200 Fields
FieldTypeNotes
data array of CustomField

POST /custom-fields

Add a custom field

Request body
FieldTypeNotes
object required one of: company, contact, deal
label required string Up to 60 characters.
type required one of: text, number, date, select, checkbox, url
options array of string
201 Created (CustomField)
FieldTypeNotes
id string (uuid)
object one of: company, contact, deal
key string
label string
type one of: text, number, date, select, checkbox, url
options array of string
position integer
archived boolean

PATCH /custom-fields/{id}

Rename, re-order, change choices, archive or restore a custom field (the key and type never change)

ParameterInTypeNotes
id required path string (uuid)
Request body
FieldTypeNotes
label string Up to 60 characters.
options array of string
position integer 0–1000.
archived boolean
200 Updated (CustomField)
FieldTypeNotes
id string (uuid)
object one of: company, contact, deal
key string
label string
type one of: text, number, date, select, checkbox, url
options array of string
position integer
archived boolean

GET /audit-log

Who did what: admin changes (settings, users, keys, billing, support access) and record changes, newest first

ParameterInTypeNotes
source query one of: all, admin, record Default "all".
before query string (date-time)
limit query integer Default 50.
offset query integer or null Default 0.
200 Entries
FieldTypeNotes
data array of AuditEntry
total integer
next_before string or null

POST /export

Export the whole workspace as a ZIP of CSV files (companies, contacts, deals, activities, tasks, meetings, users)

200 Download link (valid 10 minutes)
FieldTypeNotes
url string
size integer
file_name string

GET /web-forms

Web-to-lead forms

200 Forms
FieldTypeNotes
data array of WebForm

POST /web-forms

Create a web-to-lead form; paste embed_html into your website

Request body
FieldTypeNotes
name required string Up to 100 characters.
fields array of one of: company, first_name, last_name, email, phone, job_title, message
require_consent boolean
consent_text string or null Up to 500 characters.
marketing_consent_text string or null Adds an optional, unticked marketing checkbox with this wording. Ticking it records email marketing consent. Up to 500 characters.
owner_id string (uuid) or null
source_id string (uuid) or null
campaign_id string (uuid) or null Campaign credited with new leads, unless the page's ?utm_campaign= matches another
redirect_url string or null
enabled boolean
captcha boolean Add a Cloudflare Turnstile spam check. Paste the new embed_html into your website first
201 Created (WebForm)
FieldTypeNotes
id string (uuid)
name string
public_key string
fields array of one of: company, first_name, last_name, email, phone, job_title, message
require_consent boolean
consent_text string or null
marketing_consent_text string or null
owner_id string (uuid) or null
source_id string (uuid) or null
campaign_id string (uuid) or null
redirect_url string or null
enabled boolean
captcha boolean Cloudflare Turnstile spam check on (its widget is in embed_html)
submissions integer
last_submission_at string or null
created_at string
action_url string
embed_html string

PATCH /web-forms/{id}

Change, disable or re-enable a web form

ParameterInTypeNotes
id required path string (uuid)
Request body
FieldTypeNotes
name string Up to 100 characters.
fields array of one of: company, first_name, last_name, email, phone, job_title, message
require_consent boolean
consent_text string or null Up to 500 characters.
marketing_consent_text string or null Adds an optional, unticked marketing checkbox with this wording. Ticking it records email marketing consent. Up to 500 characters.
owner_id string (uuid) or null
source_id string (uuid) or null
campaign_id string (uuid) or null Campaign credited with new leads, unless the page's ?utm_campaign= matches another
redirect_url string or null
enabled boolean
captcha boolean Add a Cloudflare Turnstile spam check. Paste the new embed_html into your website first
200 Updated (WebForm)
FieldTypeNotes
id string (uuid)
name string
public_key string
fields array of one of: company, first_name, last_name, email, phone, job_title, message
require_consent boolean
consent_text string or null
marketing_consent_text string or null
owner_id string (uuid) or null
source_id string (uuid) or null
campaign_id string (uuid) or null
redirect_url string or null
enabled boolean
captcha boolean Cloudflare Turnstile spam check on (its widget is in embed_html)
submissions integer
last_submission_at string or null
created_at string
action_url string
embed_html string

GET /roles

Roles, their permissions and access groups

200 OK
FieldTypeNotes
data array of Role
permissions array of string
access_groups object

POST /roles

Create a custom role, optionally based on another role (its permissions are copied)

Request body
FieldTypeNotes
name required string Up to 40 characters.
permissions array of one of: companies:read, companies:write, contacts:read, contacts:write, activities:write, tasks:read, tasks:write, drive:write, settings:manage, users:manage, privacy:override
access_groups array of one of: hr, legal, finance, c_suite, smt, directors, support, technical_support, customer_services, sales, marketing Default [].
based_on string (uuid)
201 Created (Role)
FieldTypeNotes
id string (uuid)
name string
permissions array of string
access_groups array of string
is_system boolean
members integer

PATCH /roles/{id}

Edit a custom role (built-in roles are fixed)

ParameterInTypeNotes
id required path string (uuid)
Request body
FieldTypeNotes
name string Up to 40 characters.
permissions array of one of: companies:read, companies:write, contacts:read, contacts:write, activities:write, tasks:read, tasks:write, drive:write, settings:manage, users:manage, privacy:override
access_groups array of one of: hr, legal, finance, c_suite, smt, directors, support, technical_support, customer_services, sales, marketing
200 OK (Role)
FieldTypeNotes
id string (uuid)
name string
permissions array of string
access_groups array of string
is_system boolean
members integer

DELETE /roles/{id}

Delete an unused custom role

ParameterInTypeNotes
id required path string (uuid)
204 Deleted

No body.

PATCH /members/{id}

Change a member's role or disable/enable them. Disabling needs my_drive: delete their My drive now, or keep it 90 days (admins can open it)

ParameterInTypeNotes
id required path string (uuid)
Request body
FieldTypeNotes
role_id string (uuid)
status one of: active, disabled
my_drive one of: delete, keep
204 Updated

No body.

POST /workspace/transfer-ownership

Hand the workspace to another member (Owners): they become Owner and you become Admin

Request body
FieldTypeNotes
user_id required string (uuid)
204 Transferred

No body.

GET /invitations

Pending invitations

200 OK
FieldTypeNotes
data array of Invitation

POST /invitations

Invite someone by email; they join with the chosen role when they accept

Request body
FieldTypeNotes
email required string (email) Up to 254 characters.
role_id required string (uuid)
201 Invited (Invitation)
FieldTypeNotes
id string (uuid)
email string
role string
status string
created_at string

DELETE /invitations/{id}

Revoke a pending invitation

ParameterInTypeNotes
id required path string (uuid)
204 Revoked

No body.

POST /workspace/close

Close the workspace (owners). Billing stops at once with no refund, nobody can sign in, and everything is permanently deleted after 30 days

Request body
FieldTypeNotes
confirm_name required string The workspace name, typed again to confirm Up to 200 characters.
reason string Up to 1000 characters.
200 Closed
FieldTypeNotes
status one of: closed
delete_after string

GET /email-to-lead

The workspace's lead address: email sent to it becomes leads

200 Lead address
FieldTypeNotes
enabled boolean
address string or null
owner_id string (uuid) or null
source_id string (uuid) or null
received_today integer
daily_cap integer

PUT /email-to-lead

Switch the lead address on or off, choose who new leads go to and their lead source; rotate=true gives it a new address

Request body
FieldTypeNotes
enabled required boolean
owner_id string (uuid) or null
source_id string (uuid) or null
rotate boolean
200 Lead address
FieldTypeNotes
enabled boolean
address string or null
owner_id string (uuid) or null
source_id string (uuid) or null
received_today integer
daily_cap integer

API keys

GET /api-keys

List workspace API keys (secrets are never returned)

200 Keys
FieldTypeNotes
data array of ApiKey

POST /api-keys

Create an API key. The key is returned once and cannot be shown again.

Request body (ApiKeyCreate)
FieldTypeNotes
name required string Up to 100 characters.
kind required one of: agent, integration agent: an AI agent (labelled as an agent, cannot delete). integration: your own scripts and private apps.
role string Role name the key acts with: "Agent (read only)", "Agent (read & write)", or any other role except Owner/Admin Default "Agent (read only)".
expires_in_days integer 1–730.
201 Created (any)
FieldTypeNotes
id string (uuid)
name string
kind one of: agent, integration
prefix string Public part of the key, safe to show
role string
created_by string (uuid)
created_at string
expires_at string or null
last_used_at string or null
revoked_at string or null
key string

DELETE /api-keys/{id}

Revoke an API key immediately

ParameterInTypeNotes
id required path string (uuid)
204 Revoked

No body.

Billing

GET /referrals

The workspace's referral link, the workspaces it referred and the credit earned (admins)

200 Referral programme
FieldTypeNotes
code string
link string
percent integer
months integer
credit_minor integer
currency string
data array of object

GET /partner

The workspace's partner programme status (admins)

200 Partner status
FieldTypeNotes
status one of: none, applied, approved, rejected, suspended
firm_name string or null
firm_type string or null
applied_at string or null
paying_clients integer

POST /partner

Apply to the partner programme (admins). SmartContact staff review each application

Request body
FieldTypeNotes
firm_name required string Up to 200 characters.
firm_type required one of: accountant, bookkeeper, msp, consultant, other
website string Up to 300 characters.
clients integer 0–100000.
accept_terms required one of: true Accepts the partner programme terms at https://smartcontact.online/terms/partners/
200 Applied
FieldTypeNotes
status one of: none, applied, approved, rejected, suspended
firm_name string or null
firm_type string or null
applied_at string or null
paying_clients integer

GET /billing

Plan, seats, subscription and invoices (admins)

200 Billing
FieldTypeNotes
plan string
seats integer Active users: the quantity Checkout charges and the subscription follows
invited integer Pending invitations: each is billed, for the rest of the period, when accepted
limits object
has_billing_account boolean
complimentary_until string or null Standard is free until this date (granted by SmartContact); add payment details to stay on Standard
subscription any
invoices array of any
drive object The Drive add-on: tier bought (100gb / 1tb) and space in bytes; bytes without a tier were given by SmartContact

POST /billing/checkout

Start upgrading to Standard: returns a Stripe Checkout URL

Request body
FieldTypeNotes
interval one of: month, year Default "month".
200 Checkout
FieldTypeNotes
url string (uri)

POST /billing/drive/checkout

Buy the Storage & Drive add-on (Standard): +100 GB £5/month or +1 TB £20/month of company storage. Returns a Stripe Checkout URL

Request body
FieldTypeNotes
tier required one of: 100gb, 1tb
200 Checkout
FieldTypeNotes
url string (uri)

POST /billing/drive/change

Change the Drive add-on size now (prorated). Going smaller needs the files to fit.

Request body
FieldTypeNotes
tier required one of: 100gb, 1tb
200 Changed
FieldTypeNotes
tier string
bytes number

POST /billing/drive/cancel

Cancel the Drive add-on at the end of the month paid for (cancel=false takes that back). Files stay; uploads stop.

Request body
FieldTypeNotes
cancel required boolean
200 Done
FieldTypeNotes
cancel_at_period_end boolean

POST /billing/portal

Open the Stripe Customer Portal: card, billing details, VAT number, invoices, cancel

200 Portal
FieldTypeNotes
url string (uri)

Calls

POST /calls

Log a finished phone call. It goes on the timeline of the contact (or company) whose number it was For phone-system integrations. The other party (from for inbound calls, to for outbound ones) is matched on the last 9 digits of a contact's phone or mobile, else a company's phone. Calls nobody matches are kept without a timeline entry (GET /calls?unmatched=true). Posting the same external_id again returns 200 with the call already logged.

Request body (CallCreate)
FieldTypeNotes
external_id required string The phone system's id for the call. Posting the same id again returns the call already logged Up to 200 characters.
direction required one of: inbound, outbound
result one of: answered, missed, voicemail, no_answer, busy, failed Default "answered".
from string Up to 40 characters.
to string Up to 40 characters.
started_at required string (date-time)
duration_seconds integer Default 0. 0–86400.
agent_name string Up to 120 characters.
agent_email string Up to 254 characters.
recording_url string Up to 2000 characters.
notes string Up to 2000 characters.
contact_id string (uuid) Log it on this contact instead of matching the number (e.g. the phone system already looked it up)
200 Already logged (same external_id) (Call)
FieldTypeNotes
id string (uuid)
source string
external_id string
direction one of: inbound, outbound
result one of: answered, missed, voicemail, no_answer, busy, failed
from_number string or null
to_number string or null
started_at string
duration_seconds integer
agent_name string or null
matched object or null
activity_id string (uuid) or null
duplicate boolean
201 Logged (Call)
FieldTypeNotes
id string (uuid)
source string
external_id string
direction one of: inbound, outbound
result one of: answered, missed, voicemail, no_answer, busy, failed
from_number string or null
to_number string or null
started_at string
duration_seconds integer
agent_name string or null
matched object or null
activity_id string (uuid) or null
duplicate boolean

GET /calls

Calls logged from phone systems, newest first

ParameterInTypeNotes
limit query integer Default 25.
cursor query string
unmatched query one of: true, false Only calls that matched no contact or company
200 A page of calls
FieldTypeNotes
data array of Call
next_cursor string or null

GET /phone-lookup

Who a phone number belongs to: matching contacts, else companies (for caller ID and screen pops)

ParameterInTypeNotes
number required query string
200 Matches, best first
FieldTypeNotes
data array of object

GET /phone-survey

The phone systems we ask about, and your answer (null until you answer)

200 Survey
FieldTypeNotes
options array of object
answer object or null

PUT /phone-survey

Say which phone system your business uses, so we build the integrations people need

Request body (PhoneSurveyAnswer)
FieldTypeNotes
system required one of: teams, 3cx, ringcentral, zoom, vonage, 8x8, aircall, dialpad, gamma, bt, mobiles, other
other string Which one, when system is "other" Up to 100 characters.
200 Saved
FieldTypeNotes
options array of object
answer object or null

Companies

GET /companies

List companies (leads and accounts)

ParameterInTypeNotes
limit query integer Default 25.
cursor query string
q query string Matches name, domain, account number or postcode
owner query one of: me or one of: none or string (uuid)
custom query string Records whose custom fields contain these values (JSON object)
cf query string Custom field conditions (JSON): eq, contains, from, to, within_days, empty
kind query one of: lead, account
stage_id query string (uuid)
pipeline_id query string (uuid)
source_id query string (uuid)
campaign_id query string (uuid)
deleted query one of: true, false true lists the recycle bin Default "false".
sort query one of: created_desc, created_asc, name_asc, name_desc, updated_desc Default "created_desc".
offset query integer or null Offset paging (returns total); use instead of cursor
200 A page of companies
FieldTypeNotes
data array of Company
next_cursor string or null
total integer

POST /companies

Create a company

Request body (CompanyCreate)
FieldTypeNotes
name required string Up to 200 characters.
website string (uri) or null Up to 300 characters.
domain string or null Up to 253 characters.
phone string or null Up to 40 characters.
address object
country_code string or null Up to 2 characters.
industry string or null Up to 100 characters.
turnover_band string or null Up to 50 characters.
employee_count integer or null
account_number string or null Up to 50 characters.
company_number string or null Company registration number (e.g. Companies House) Up to 50 characters.
sic_codes array of string SIC codes the company operates in (UK SIC 2007 codes are 5 digits)
description string or null What the company does, in a sentence or two Up to 2000 characters.
owner_id string (uuid) or null
stage_id string (uuid) or null
source_id string (uuid) or null
campaign_id string (uuid) or null Marketing campaign that brought this lead in (Standard plan)
primary_contact_id string (uuid) or null
custom object
201 Created (Company)
FieldTypeNotes
id string (uuid)
name string or null
website string (uri) or null Up to 300 characters.
domain string or null Up to 253 characters.
phone string or null Up to 40 characters.
address object
country_code string or null Up to 2 characters.
industry string or null Up to 100 characters.
turnover_band string or null Up to 50 characters.
employee_count integer or null
account_number string or null Up to 50 characters.
company_number string or null Company registration number (e.g. Companies House) Up to 50 characters.
sic_codes array of string SIC codes the company operates in (UK SIC 2007 codes are 5 digits)
description string or null What the company does, in a sentence or two Up to 2000 characters.
owner_id string (uuid) or null
stage_id string (uuid) or null
source_id string (uuid) or null
campaign_id string (uuid) or null Marketing campaign that brought this lead in (Standard plan)
primary_contact_id string (uuid) or null
custom object
is_account boolean True when the stage kind is "account" (legacy Lead vs Account).
stage_name string or null
pipeline_id string (uuid) or null
owner_name string or null
source_name string or null
campaign_name string or null
deleted_at string or null
created_at string
updated_at string

GET /companies/counts

Counts for the navigation: all, leads, accounts, mine, unassigned, recycle bin

200 Counts
FieldTypeNotes
all number
leads number
accounts number
mine number
unassigned number
deleted number

POST /companies/bulk

Bulk move stage, reassign owner, delete or restore (people only, up to 200 at a time). Delete takes each company's contacts to the recycle bin too; restore brings them back

Request body
FieldTypeNotes
ids required array of string (uuid)
action required one of: move_stage, reassign, delete, restore
stage_id string (uuid)
owner_id string (uuid) or null
200 Updated
FieldTypeNotes
updated integer

GET /companies/{id}

Get a company

ParameterInTypeNotes
id required path string (uuid)
include_deleted query one of: true, false true also returns the record if it is in the recycle bin
200 The company (Company)
FieldTypeNotes
id string (uuid)
name string or null
website string (uri) or null Up to 300 characters.
domain string or null Up to 253 characters.
phone string or null Up to 40 characters.
address object
country_code string or null Up to 2 characters.
industry string or null Up to 100 characters.
turnover_band string or null Up to 50 characters.
employee_count integer or null
account_number string or null Up to 50 characters.
company_number string or null Company registration number (e.g. Companies House) Up to 50 characters.
sic_codes array of string SIC codes the company operates in (UK SIC 2007 codes are 5 digits)
description string or null What the company does, in a sentence or two Up to 2000 characters.
owner_id string (uuid) or null
stage_id string (uuid) or null
source_id string (uuid) or null
campaign_id string (uuid) or null Marketing campaign that brought this lead in (Standard plan)
primary_contact_id string (uuid) or null
custom object
is_account boolean True when the stage kind is "account" (legacy Lead vs Account).
stage_name string or null
pipeline_id string (uuid) or null
owner_name string or null
source_name string or null
campaign_name string or null
deleted_at string or null
created_at string
updated_at string

PATCH /companies/{id}

Update company fields

ParameterInTypeNotes
id required path string (uuid)
Request body (CompanyUpdate)
FieldTypeNotes
name string Up to 200 characters.
website string (uri) or null Up to 300 characters.
domain string or null Up to 253 characters.
phone string or null Up to 40 characters.
address object
country_code string or null Up to 2 characters.
industry string or null Up to 100 characters.
turnover_band string or null Up to 50 characters.
employee_count integer or null
account_number string or null Up to 50 characters.
company_number string or null Company registration number (e.g. Companies House) Up to 50 characters.
sic_codes array of string SIC codes the company operates in (UK SIC 2007 codes are 5 digits)
description string or null What the company does, in a sentence or two Up to 2000 characters.
owner_id string (uuid) or null
stage_id string (uuid) or null
source_id string (uuid) or null
campaign_id string (uuid) or null Marketing campaign that brought this lead in (Standard plan)
primary_contact_id string (uuid) or null
custom object
200 Updated (Company)
FieldTypeNotes
id string (uuid)
name string or null
website string (uri) or null Up to 300 characters.
domain string or null Up to 253 characters.
phone string or null Up to 40 characters.
address object
country_code string or null Up to 2 characters.
industry string or null Up to 100 characters.
turnover_band string or null Up to 50 characters.
employee_count integer or null
account_number string or null Up to 50 characters.
company_number string or null Company registration number (e.g. Companies House) Up to 50 characters.
sic_codes array of string SIC codes the company operates in (UK SIC 2007 codes are 5 digits)
description string or null What the company does, in a sentence or two Up to 2000 characters.
owner_id string (uuid) or null
stage_id string (uuid) or null
source_id string (uuid) or null
campaign_id string (uuid) or null Marketing campaign that brought this lead in (Standard plan)
primary_contact_id string (uuid) or null
custom object
is_account boolean True when the stage kind is "account" (legacy Lead vs Account).
stage_name string or null
pipeline_id string (uuid) or null
owner_name string or null
source_name string or null
campaign_name string or null
deleted_at string or null
created_at string
updated_at string

DELETE /companies/{id}

Move a company and its contacts to the recycle bin (restorable for 30 days)

ParameterInTypeNotes
id required path string (uuid)
204 Deleted

No body.

GET /lookup/companies-house-status

Whether Companies House lookup is available here

200 Status
FieldTypeNotes
enabled boolean

GET /lookup/companies-house

Search the UK Companies House register by name or company number

ParameterInTypeNotes
q required query string
200 Matches
FieldTypeNotes
data array of object

GET /lookup/companies-house/{number}

A company's details from Companies House, ready to fill a company record

ParameterInTypeNotes
number required path string
200 Company
FieldTypeNotes
company_number string
name string
status string or null
type string or null
incorporated string or null
sic_codes array of string
address object
country_code string

POST /companies/{id}/merge

Merge other company records into this one: their timeline, tasks, files, contacts, deals and meetings move here, empty fields are filled in, and the others go to the recycle bin

ParameterInTypeNotes
id required path string (uuid)
Request body
FieldTypeNotes
source_ids required array of string (uuid)
200 Merged
FieldTypeNotes
merged integer

Contacts

GET /contacts/{id}/consents

A contact's marketing consent: current state per channel and the full history

ParameterInTypeNotes
id required path string (uuid)
200 Consent
FieldTypeNotes
current object
history array of Consent

POST /contacts/{id}/consents

Record that a contact agreed to, or withdrew from, marketing by a channel Consent history is never edited: each change adds an entry. Record what the person was told (wording) when they agree. AI agents may record withdrawals only.

ParameterInTypeNotes
id required path string (uuid)
Request body
FieldTypeNotes
channel required one of: email, sms, phone, post
status required one of: granted, withdrawn
source required one of: web_form, verbal, written, email, event, import, other
wording string Up to 1000 characters.
note string Up to 1000 characters.
201 Recorded (Consent)
FieldTypeNotes
id string (uuid)
channel one of: email, sms, phone, post
status one of: granted, withdrawn
source one of: web_form, verbal, written, email, event, import, other
wording string or null
note string or null
actor_type string
actor_label string or null
recorded_at string

GET /contacts/marketable.csv

CSV of contacts who currently agree to marketing by a channel Only people whose latest consent for the channel is "granted". Withdrawn, never asked and erased people are left out.

ParameterInTypeNotes
channel query one of: email, sms, phone, post Default "email".
200 CSV

No body.

GET /contacts

List contacts

ParameterInTypeNotes
limit query integer Default 25.
cursor query string
q query string Every word must match the name, email, phone, job title or company name; phone numbers match on digits
company_id query string (uuid)
reports_to_id query string (uuid) A manager's direct reports
owner query one of: me or one of: none or string (uuid) me, none (unassigned) or a user id
custom query string Records whose custom fields contain these values (JSON object)
cf query string Custom field conditions (JSON): eq, contains, from, to, within_days, empty
deleted query one of: true, false true lists the recycle bin Default "false".
200 A page of contacts
FieldTypeNotes
data array of Contact
next_cursor string or null

POST /contacts

Create a contact

Request body (ContactCreate)
FieldTypeNotes
company_id string (uuid) or null
first_name string or null Up to 100 characters.
last_name string or null Up to 100 characters.
email string (email) or null Up to 254 characters.
phone string or null Up to 40 characters.
mobile string or null Up to 40 characters.
job_title string or null Up to 150 characters.
reports_to_id string (uuid) or null
owner_id string (uuid) or null
lawful_basis one of: legitimate_interest, consent, contract
custom object
201 Created (Contact)
FieldTypeNotes
id string (uuid)
company_id string (uuid) or null
first_name string or null Up to 100 characters.
last_name string or null Up to 100 characters.
email string (email) or null Up to 254 characters.
phone string or null Up to 40 characters.
mobile string or null Up to 40 characters.
job_title string or null Up to 150 characters.
reports_to_id string (uuid) or null
owner_id string (uuid) or null
lawful_basis one of: legitimate_interest, consent, contract
custom object
created_at string
updated_at string
deleted_at string or null

POST /contacts/bulk

Bulk reassign owner, delete or restore contacts (people only, up to 200 at a time)

Request body
FieldTypeNotes
ids required array of string (uuid)
action required one of: reassign, delete, restore
owner_id string (uuid) or null For reassign: the new owner, or null to unassign
200 Updated
FieldTypeNotes
updated integer

GET /contacts/{id}

Get a contact

ParameterInTypeNotes
id required path string (uuid)
include_deleted query one of: true, false true also returns the record if it is in the recycle bin
200 The contact (Contact)
FieldTypeNotes
id string (uuid)
company_id string (uuid) or null
first_name string or null Up to 100 characters.
last_name string or null Up to 100 characters.
email string (email) or null Up to 254 characters.
phone string or null Up to 40 characters.
mobile string or null Up to 40 characters.
job_title string or null Up to 150 characters.
reports_to_id string (uuid) or null
owner_id string (uuid) or null
lawful_basis one of: legitimate_interest, consent, contract
custom object
created_at string
updated_at string
deleted_at string or null

PATCH /contacts/{id}

Update contact fields

ParameterInTypeNotes
id required path string (uuid)
Request body (ContactUpdate)
FieldTypeNotes
company_id string (uuid) or null
first_name string or null Up to 100 characters.
last_name string or null Up to 100 characters.
email string (email) or null Up to 254 characters.
phone string or null Up to 40 characters.
mobile string or null Up to 40 characters.
job_title string or null Up to 150 characters.
reports_to_id string (uuid) or null
owner_id string (uuid) or null
lawful_basis one of: legitimate_interest, consent, contract
custom object
200 Updated (Contact)
FieldTypeNotes
id string (uuid)
company_id string (uuid) or null
first_name string or null Up to 100 characters.
last_name string or null Up to 100 characters.
email string (email) or null Up to 254 characters.
phone string or null Up to 40 characters.
mobile string or null Up to 40 characters.
job_title string or null Up to 150 characters.
reports_to_id string (uuid) or null
owner_id string (uuid) or null
lawful_basis one of: legitimate_interest, consent, contract
custom object
created_at string
updated_at string
deleted_at string or null

DELETE /contacts/{id}

Move a contact to the recycle bin (restorable for 30 days)

ParameterInTypeNotes
id required path string (uuid)
204 Deleted

No body.

POST /contacts/{id}/restore

Restore a contact from the recycle bin

ParameterInTypeNotes
id required path string (uuid)
204 Restored

No body.

POST /contacts/{id}/merge

Merge other contact records into this one: their timeline, tasks, files, deals and meetings move here, empty fields are filled in, and the others go to the recycle bin

ParameterInTypeNotes
id required path string (uuid)
Request body
FieldTypeNotes
source_ids required array of string (uuid)
200 Merged
FieldTypeNotes
merged integer

Deals

GET /deals

List deals with totals (value and weighted value)

ParameterInTypeNotes
pipeline_id query string (uuid)
stage_id query string (uuid)
company_id query string (uuid)
campaign_id query string (uuid)
owner query one of: me or string (uuid)
custom query string Records whose custom fields contain these values (JSON object)
cf query string Custom field conditions (JSON): eq, contains, from, to, within_days, empty
status query one of: open, won, lost
q query string
deleted query one of: true, false true lists the recycle bin Default "false".
sort query one of: close_asc, value_desc, created_desc, updated_desc Default "created_desc".
limit query integer Default 50.
offset query integer or null Default 0.
200 Deals
FieldTypeNotes
data array of Deal
total integer
value number
weighted number

POST /deals

Create a deal (defaults to the first stage of the default deals pipeline)

Request body
FieldTypeNotes
name required string Up to 200 characters.
company_id string (uuid) or null
contact_id string (uuid) or null
value number Deal value in major units (e.g. 1250.50) 0–1000000000000.
currency string Up to 3 characters.
stage_id string (uuid)
probability integer or null 0–100.
expected_close string (date) or null
lost_reason string or null Up to 500 characters.
owner_id string (uuid) or null
source_id string (uuid) or null
campaign_id string (uuid) or null Campaign credited with this deal; defaults to the company's campaign
custom object
201 Created (Deal)
FieldTypeNotes
id string (uuid)
name string
company_id string (uuid) or null
company_name string or null
contact_id string (uuid) or null
contact_name string or null
value number
currency string
pipeline_id string (uuid)
stage_id string (uuid)
stage_name string
stage_kind string
probability integer or null Deal probability, or the stage default when unset
expected_close string or null
status one of: open, won, lost
closed_at string or null
lost_reason string or null
owner_id string (uuid) or null
owner_name string or null
source_id string (uuid) or null
campaign_id string (uuid) or null
campaign_name string or null
custom object
created_at string
updated_at string
deleted_at string or null Set while the deal is in the recycle bin

GET /deals/forecast

Open pipeline, weighted forecast and won/lost totals for this month and quarter

ParameterInTypeNotes
pipeline_id query string (uuid)
owner query one of: me or string (uuid)
200 Forecast

No body.

GET /deals/{id}

Get a deal

ParameterInTypeNotes
id required path string (uuid)
include_deleted query one of: true, false true also returns the record if it is in the recycle bin
200 Deal (Deal)
FieldTypeNotes
id string (uuid)
name string
company_id string (uuid) or null
company_name string or null
contact_id string (uuid) or null
contact_name string or null
value number
currency string
pipeline_id string (uuid)
stage_id string (uuid)
stage_name string
stage_kind string
probability integer or null Deal probability, or the stage default when unset
expected_close string or null
status one of: open, won, lost
closed_at string or null
lost_reason string or null
owner_id string (uuid) or null
owner_name string or null
source_id string (uuid) or null
campaign_id string (uuid) or null
campaign_name string or null
custom object
created_at string
updated_at string
deleted_at string or null Set while the deal is in the recycle bin

PATCH /deals/{id}

Update a deal; moving it to a Won or Lost stage closes it

ParameterInTypeNotes
id required path string (uuid)
Request body
FieldTypeNotes
name string Up to 200 characters.
company_id string (uuid) or null
contact_id string (uuid) or null
value number Deal value in major units (e.g. 1250.50) 0–1000000000000.
currency string Up to 3 characters.
stage_id string (uuid)
probability integer or null 0–100.
expected_close string (date) or null
lost_reason string or null Up to 500 characters.
owner_id string (uuid) or null
source_id string (uuid) or null
campaign_id string (uuid) or null Campaign credited with this deal; defaults to the company's campaign
custom object
200 Updated (Deal)
FieldTypeNotes
id string (uuid)
name string
company_id string (uuid) or null
company_name string or null
contact_id string (uuid) or null
contact_name string or null
value number
currency string
pipeline_id string (uuid)
stage_id string (uuid)
stage_name string
stage_kind string
probability integer or null Deal probability, or the stage default when unset
expected_close string or null
status one of: open, won, lost
closed_at string or null
lost_reason string or null
owner_id string (uuid) or null
owner_name string or null
source_id string (uuid) or null
campaign_id string (uuid) or null
campaign_name string or null
custom object
created_at string
updated_at string
deleted_at string or null Set while the deal is in the recycle bin

DELETE /deals/{id}

Move a deal to the recycle bin (restorable for 30 days)

ParameterInTypeNotes
id required path string (uuid)
204 Deleted

No body.

POST /deals/{id}/restore

Restore a deal from the recycle bin

ParameterInTypeNotes
id required path string (uuid)
204 Restored

No body.

Documents

GET /documents

Files attached to a company or contact

ParameterInTypeNotes
target_type required query one of: company, contact, deal
target_id required query string (uuid)
200 Files
FieldTypeNotes
data array of Document

POST /documents

Start an upload: returns the document and a 15-minute upload URL (HTTP PUT the file bytes to it)

Request body
FieldTypeNotes
target_type required one of: company, contact, deal
target_id required string (uuid)
name required string Up to 255 characters.
content_type required string Up to 150 characters.
size_bytes required integer
201 Upload ready
FieldTypeNotes
document Document
upload_url string (uri)

GET /documents/usage

The workspace storage pool (bytes): record files plus Drive files, against the plan space plus the Storage & Drive add-on

200 Usage
FieldTypeNotes
used number
quota number
records number
drive number
plan_bytes number
addon_bytes number

POST /documents/{id}/complete

Confirm an upload finished; the file then appears on the record

ParameterInTypeNotes
id required path string (uuid)
200 Ready (Document)
FieldTypeNotes
id string (uuid)
target_type one of: company, contact, deal
target_id string (uuid)
name string
content_type string
size_bytes integer
status string
uploaded_by string (uuid)
uploaded_by_name string or null
created_at string

GET /documents/{id}/download

A 5-minute download link for a file

ParameterInTypeNotes
id required path string (uuid)
200 Link
FieldTypeNotes
url string (uri)

DELETE /documents/{id}

Delete a file (removed from storage immediately)

ParameterInTypeNotes
id required path string (uuid)
204 Deleted

No body.

Drive

GET /drive

Whether the Drive is on (Standard), space used and available in the company pool and in My Drive (bytes), and what the caller may do

200 OK
FieldTypeNotes
enabled boolean
company object
personal object
can_write boolean
is_admin boolean
bin_days number

GET /drive/items

Folders and files in a folder (top level of the drive when folder_id is left out), or search the drive by name with q

ParameterInTypeNotes
space query one of: company, personal company = the Company Drive, personal = My Drive (private) Default "company".
folder_id query string (uuid)
q query string
owner_id query string (uuid) Admins: the kept My drive of a disabled person (read-only, logged)
200 OK
FieldTypeNotes
path array of object
folders array of DriveFolder
files array of DriveFile

POST /drive/folders

Create a folder in the Company Drive or My Drive. Only admins can make a company folder admins only.

Request body
FieldTypeNotes
space one of: company, personal company = the Company Drive, personal = My Drive (private) Default "company".
name required string Up to 100 characters.
parent_id string (uuid) or null
admins_only boolean Default false.
access_groups array of one of: hr, legal, finance, c_suite, smt, directors, support, technical_support, customer_services, sales, marketing Default [].
201 Created (DriveFolder)
FieldTypeNotes
id string (uuid)
parent_id string (uuid) or null
name string
admins_only boolean
access_groups array of string
created_at string

PATCH /drive/folders/{id}

Rename or move a folder within its drive (parent_id null = top level), or change admins only (admins, company folders)

ParameterInTypeNotes
id required path string (uuid)
Request body
FieldTypeNotes
name string Up to 100 characters.
parent_id string (uuid) or null
admins_only boolean
access_groups array of one of: hr, legal, finance, c_suite, smt, directors, support, technical_support, customer_services, sales, marketing
200 OK (DriveFolder)
FieldTypeNotes
id string (uuid)
parent_id string (uuid) or null
name string
admins_only boolean
access_groups array of string
created_at string

DELETE /drive/folders/{id}

Move a folder and everything in it to the bin (kept 30 days)

ParameterInTypeNotes
id required path string (uuid)
204 In the bin

No body.

POST /drive/files

Start an upload to the Company Drive or My Drive: returns the file and a 15-minute upload URL (HTTP PUT the file bytes to it)

Request body
FieldTypeNotes
space one of: company, personal company = the Company Drive, personal = My Drive (private) Default "company".
folder_id string (uuid) or null
name required string Up to 255 characters.
content_type required string Up to 150 characters.
size_bytes required integer
201 Upload ready
FieldTypeNotes
file DriveFile
upload_url string (uri)

POST /drive/files/{id}/complete

Confirm an upload finished; the file then appears in its folder

ParameterInTypeNotes
id required path string (uuid)
200 OK (DriveFile)
FieldTypeNotes
id string (uuid)
folder_id string (uuid) or null
name string
content_type string
size_bytes integer
status string
uploaded_by string (uuid)
uploaded_by_name string or null
created_at string
updated_at string

PATCH /drive/files/{id}

Rename a file or move it to another folder of the same drive (folder_id null = top level)

ParameterInTypeNotes
id required path string (uuid)
Request body
FieldTypeNotes
name string Up to 255 characters.
folder_id string (uuid) or null
200 OK (DriveFile)
FieldTypeNotes
id string (uuid)
folder_id string (uuid) or null
name string
content_type string
size_bytes integer
status string
uploaded_by string (uuid)
uploaded_by_name string or null
created_at string
updated_at string

DELETE /drive/files/{id}

Move a file to the bin (kept 30 days)

ParameterInTypeNotes
id required path string (uuid)
204 In the bin

No body.

GET /drive/files/{id}/versions

Earlier versions of a file, newest first (as many as Settings › Drive version history keeps)

ParameterInTypeNotes
id required path string (uuid)
200 OK
FieldTypeNotes
data array of DriveFileVersion

POST /drive/files/{id}/versions

Start uploading a new version of a file: returns a 15-minute upload URL (PUT the bytes, then complete)

ParameterInTypeNotes
id required path string (uuid)
Request body
FieldTypeNotes
content_type required string Up to 150 characters.
size_bytes required integer
201 Upload ready
FieldTypeNotes
version_id string (uuid)
upload_url string (uri)

POST /drive/files/{id}/versions/{vid}/complete

Confirm a new version finished uploading: it becomes the file; the previous content is kept as a version if version history is on, otherwise deleted

ParameterInTypeNotes
id required path string (uuid)
vid required path string (uuid)
200 OK (DriveFile)
FieldTypeNotes
id string (uuid)
folder_id string (uuid) or null
name string
content_type string
size_bytes integer
status string
uploaded_by string (uuid)
uploaded_by_name string or null
created_at string
updated_at string

POST /drive/files/{id}/versions/{vid}/restore

Make an earlier version the current one; what is there now is kept as a version

ParameterInTypeNotes
id required path string (uuid)
vid required path string (uuid)
200 OK (DriveFile)
FieldTypeNotes
id string (uuid)
folder_id string (uuid) or null
name string
content_type string
size_bytes integer
status string
uploaded_by string (uuid)
uploaded_by_name string or null
created_at string
updated_at string

GET /drive/files/{id}/versions/{vid}/download

A 5-minute download link to an earlier version

ParameterInTypeNotes
id required path string (uuid)
vid required path string (uuid)
200 Link
FieldTypeNotes
url string (uri)

GET /drive/files/{id}/download

A 5-minute link to a file. preview=true opens PDFs and images in the browser instead of downloading.

ParameterInTypeNotes
id required path string (uuid)
preview query one of: true, false
200 Link
FieldTypeNotes
url string (uri)
preview boolean

GET /drive/bin

What was deleted from a drive in the last 30 days

ParameterInTypeNotes
space query one of: company, personal company = the Company Drive, personal = My Drive (private) Default "company".
200 OK
FieldTypeNotes
data array of DriveBinItem

POST /drive/bin/{id}/restore

Put a deleted folder or file back. If its folder is gone too, it comes back at the top level of its drive.

ParameterInTypeNotes
id required path string (uuid)
200 Restored
FieldTypeNotes
id string (uuid)
kind one of: folder, file
name string
parent_id string (uuid) or null

DELETE /drive/bin/{id}

Delete a folder or file in the bin for good (removed from storage now)

ParameterInTypeNotes
id required path string (uuid)
204 Deleted

No body.

Duplicates

GET /duplicates

Likely duplicate companies (same domain or name) or contacts (same email, or same name at the same company)

ParameterInTypeNotes
object required query one of: company, contact
200 Groups
FieldTypeNotes
data array of object

POST /duplicates/dismiss

Mark a group as not duplicates so it stops being suggested

Request body
FieldTypeNotes
object required one of: company, contact
key required string Up to 4000 characters.
204 Dismissed

No body.

Email templates

GET /email-templates

Your email templates and the shared ones, with the merge fields you can use

200 Templates
FieldTypeNotes
data array of EmailTemplate
merge_fields object

POST /email-templates

Create an email template

Request body
FieldTypeNotes
name required string Up to 100 characters.
subject required string Up to 200 characters.
body required string Plain text. Merge fields like {{contact.first_name|there}} (the part after | is used when the value is empty). Up to 20000 characters.
shared boolean Everyone in the workspace can use it (only you and admins can change it) Default true.
201 Created (EmailTemplate)
FieldTypeNotes
id string (uuid)
name string
subject string
body string
shared boolean
owner_id string (uuid)
owner_name string or null
mine boolean
created_at string
updated_at string

PATCH /email-templates/{id}

Change a template (yours, or any shared one if you are an admin)

ParameterInTypeNotes
id required path string (uuid)
Request body
FieldTypeNotes
name string Up to 100 characters.
subject string Up to 200 characters.
body string Plain text. Merge fields like {{contact.first_name|there}} (the part after | is used when the value is empty). Up to 20000 characters.
shared boolean Everyone in the workspace can use it (only you and admins can change it) Default true.
200 Updated (EmailTemplate)
FieldTypeNotes
id string (uuid)
name string
subject string
body string
shared boolean
owner_id string (uuid)
owner_name string or null
mine boolean
created_at string
updated_at string

DELETE /email-templates/{id}

Delete a template (sequences that copied it keep their own text)

ParameterInTypeNotes
id required path string (uuid)
204 Deleted

No body.

POST /email/render

Fill merge fields for a contact: preview a template or step, or prefill an email you are writing

Request body
FieldTypeNotes
template_id string (uuid)
subject string Up to 200 characters.
body string Up to 20000 characters.
contact_id string (uuid) or null
200 Filled
FieldTypeNotes
subject string
text string
html string
missing array of string

Import

POST /import/companies

Import companies (and an optional contact each) from mapped rows. Use dry_run first. Several rows can name the same company to add several contacts to it. A row with contact fields and no company name adds a contact on its own. When a company already exists and duplicates is skip, the company is left as it is and new contacts are still added to it.

Request body
FieldTypeNotes
rows required array of object
duplicates one of: skip, update, create What to do when a company with the same domain or name exists Default "skip".
dry_run boolean Default false.
origin string Shown on the timeline: "Imported from <origin>". Default CSV. Up to 40 characters.
200 Import report
FieldTypeNotes
created integer
updated integer
skipped integer
contacts integer
errors array of object
dry_run boolean

POST /import/deals

Import deals from mapped rows, linking companies by name and contacts by email. Use dry_run first.

Request body
FieldTypeNotes
rows required array of object
duplicates one of: skip, update, create What to do when a deal with the same name exists at the same company Default "skip".
dry_run boolean Default false.
origin string Shown on the timeline: "Imported from <origin>". Default CSV. Up to 40 characters.
200 Import report
FieldTypeNotes
created integer
updated integer
skipped integer
companies integer Companies created because a deal named one that did not exist
errors array of object
dry_run boolean

POST /import/crm/{provider}

Read one page of companies, contacts or deals from another CRM with the customer's API key, as import rows The key is used for this request only: it is never stored or logged. Send the rows to /import/companies or /import/deals (dry run first). Repeat with next_cursor until it is null. Zoho: send client_id, client_secret, code and region on the first call, then the returned token as api_key.

ParameterInTypeNotes
provider required path one of: pipedrive, hubspot, capsule, zoho, freshsales
Request body
FieldTypeNotes
object required one of: companies, contacts, deals
credentials required object
cursor string or null Up to 500 characters.
200 One page of rows
FieldTypeNotes
rows array of object
next_cursor string or null
total integer
token string

Integrations

GET /integrations/xero

Whether Xero can be connected, and the connection

200 Status (XeroStatus)
FieldTypeNotes
available boolean
included_in_plan boolean
connection object or null

PATCH /integrations/xero

Choose the Xero sales account and whether accepted quotes become invoices automatically (admins)

Request body
FieldTypeNotes
sales_account_code string or null Up to 20 characters.
auto_invoice boolean
200 Status (XeroStatus)
FieldTypeNotes
available boolean
included_in_plan boolean
connection object or null

DELETE /integrations/xero

Disconnect Xero (admins). Invoices already in Xero stay there

204 Disconnected

No body.

POST /integrations/xero/connect

Start connecting Xero (admins): open the returned URL to sign in to Xero and pick the organisation

200 Sign-in URL
FieldTypeNotes
url string

GET /integrations/xero/accounts

The connected organisation's revenue accounts (admins)

200 Accounts
FieldTypeNotes
data array of object

POST /integrations/xero/sync

Check Xero now for paid invoices (this also happens daily)

200 Result
FieldTypeNotes
checked integer
paid integer
error string

GET /integrations/calendar

Which calendars can be connected here, and which ones you have connected

200 Status
FieldTypeNotes
available array of one of: microsoft, google
included_in_plan boolean Calendar sync is part of the Standard plan
connections array of object

POST /integrations/calendar/{provider}/connect

Start connecting a calendar: open the returned URL to sign in with Microsoft or Google

ParameterInTypeNotes
provider required path one of: microsoft, google
200 Sign-in URL
FieldTypeNotes
url string

DELETE /integrations/calendar/{provider}

Disconnect a calendar (its tokens are deleted; events already created stay in your calendar)

ParameterInTypeNotes
provider required path one of: microsoft, google
204 Disconnected

No body.

GET /integrations/mail

Outlook email: whether it can be connected here, and your connection

200 Status (MailStatus)
FieldTypeNotes
available boolean Outlook email is set up for SmartContact here
included_in_plan boolean Outlook email is part of the Standard plan
admin_consent_url string or null For a work account whose organisation needs an admin's approval: the link to send to that admin
connection object or null

POST /integrations/mail/microsoft/connect

Start connecting your Outlook mailbox: open the returned URL to sign in with Microsoft

200 Sign-in URL
FieldTypeNotes
url string

POST /integrations/mail/microsoft/sync

Fetch new mail from your Outlook mailbox now (it also arrives by itself within a minute or so)

200 Synced
FieldTypeNotes
stored integer

DELETE /integrations/mail/microsoft

Disconnect your Outlook mailbox (its tokens are deleted; emails already logged stay on the timeline)

204 Disconnected

No body.

Marketing

GET /campaigns

List marketing campaigns with spend, leads, deals and won value (Standard plan)

ParameterInTypeNotes
q query string
status query one of: planned, active, ended
source_id query string (uuid)
limit query integer Default 100.
offset query integer or null Default 0.
200 Campaigns
FieldTypeNotes
data array of Campaign
total integer

POST /campaigns

Create a campaign (currency defaults to the workspace currency)

Request body
FieldTypeNotes
name required string Up to 200 characters.
source_id string (uuid) or null
status one of: planned, active, ended
starts_on string (date) or null
ends_on string (date) or null
budget number or null Budget in major units 0–1000000000000.
currency string Up to 3 characters.
utm_campaign string or null Matches ?utm_campaign= on pages with your web forms
external_ref string or null ID in another system, e.g. a Klaviyo campaign id Up to 200 characters.
owner_id string (uuid) or null
notes string or null Up to 5000 characters.
201 Created (Campaign)
FieldTypeNotes
id string (uuid)
name string
source_id string (uuid) or null
source_name string or null
status one of: planned, active, ended
starts_on string or null
ends_on string or null
budget number or null
currency string
utm_campaign string or null
external_ref string or null
owner_id string (uuid) or null
owner_name string or null
notes string or null
spend number Total spend so far, in the campaign currency
leads integer Companies this campaign brought in
deals integer
won_value number Value of won deals credited to the campaign (campaign currency)
touchpoints integer
sequences integer Email sequences this campaign owns (not archived)
sequence_enrolled integer People started in its sequences
sequence_sent integer Emails its sequences sent
sequence_replied integer People who replied to one of its sequences
created_at string
updated_at string

GET /campaigns/{id}

Get a campaign with its totals

ParameterInTypeNotes
id required path string (uuid)
200 Campaign (Campaign)
FieldTypeNotes
id string (uuid)
name string
source_id string (uuid) or null
source_name string or null
status one of: planned, active, ended
starts_on string or null
ends_on string or null
budget number or null
currency string
utm_campaign string or null
external_ref string or null
owner_id string (uuid) or null
owner_name string or null
notes string or null
spend number Total spend so far, in the campaign currency
leads integer Companies this campaign brought in
deals integer
won_value number Value of won deals credited to the campaign (campaign currency)
touchpoints integer
sequences integer Email sequences this campaign owns (not archived)
sequence_enrolled integer People started in its sequences
sequence_sent integer Emails its sequences sent
sequence_replied integer People who replied to one of its sequences
created_at string
updated_at string

PATCH /campaigns/{id}

Update a campaign

ParameterInTypeNotes
id required path string (uuid)
Request body
FieldTypeNotes
name string Up to 200 characters.
source_id string (uuid) or null
status one of: planned, active, ended
starts_on string (date) or null
ends_on string (date) or null
budget number or null Budget in major units 0–1000000000000.
currency string Up to 3 characters.
utm_campaign string or null Matches ?utm_campaign= on pages with your web forms
external_ref string or null ID in another system, e.g. a Klaviyo campaign id Up to 200 characters.
owner_id string (uuid) or null
notes string or null Up to 5000 characters.
200 Updated (Campaign)
FieldTypeNotes
id string (uuid)
name string
source_id string (uuid) or null
source_name string or null
status one of: planned, active, ended
starts_on string or null
ends_on string or null
budget number or null
currency string
utm_campaign string or null
external_ref string or null
owner_id string (uuid) or null
owner_name string or null
notes string or null
spend number Total spend so far, in the campaign currency
leads integer Companies this campaign brought in
deals integer
won_value number Value of won deals credited to the campaign (campaign currency)
touchpoints integer
sequences integer Email sequences this campaign owns (not archived)
sequence_enrolled integer People started in its sequences
sequence_sent integer Emails its sequences sent
sequence_replied integer People who replied to one of its sequences
created_at string
updated_at string

DELETE /campaigns/{id}

Delete a campaign (records it brought in keep their link for reporting)

ParameterInTypeNotes
id required path string (uuid)
204 Deleted

No body.

GET /campaigns/{id}/spend

Spend lines, newest first

ParameterInTypeNotes
id required path string (uuid)
200 Spend
FieldTypeNotes
data array of CampaignSpend
total number

POST /campaigns/{id}/spend

Add spend lines (up to 1000). Lines with an external_ref replace the earlier line with the same ref

ParameterInTypeNotes
id required path string (uuid)
Request body
FieldTypeNotes
lines required array of object
200 Saved
FieldTypeNotes
created integer
updated integer

DELETE /campaigns/{id}/spend/{spend_id}

Remove a spend line

ParameterInTypeNotes
id required path string (uuid)
spend_id required path string (uuid)
204 Removed

No body.

GET /touchpoints

Touchpoints for a campaign, contact or company, newest first

ParameterInTypeNotes
campaign_id query string (uuid)
contact_id query string (uuid)
company_id query string (uuid)
limit query integer Default 50.
offset query integer or null Default 0.
200 Touchpoints
FieldTypeNotes
data array of Touchpoint
total integer

POST /touchpoints

Record touchpoints (up to 500). Identify the person by contact_id or email, or the company by company_id Touchpoints with an external_ref are recorded once per campaign; sending the same ref again is counted as a duplicate. Items whose contact or company cannot be found are skipped and listed in `unmatched` (by position).

Request body
FieldTypeNotes
touchpoints required array of object
200 Recorded
FieldTypeNotes
created integer
duplicates integer
unmatched array of integer

Marketplace

GET /marketplace

Plugins in the marketplace, featured first, with whether this workspace has each installed

ParameterInTypeNotes
category query string
q query string
200 Plugins
FieldTypeNotes
data array of object
categories array of object

GET /marketplace/{slug}

One plugin: listing, what it can access, price and whether it is installed

ParameterInTypeNotes
slug required path string
200 Plugin

No body.

POST /marketplace/{slug}/install

Install a plugin (admins). The plugin gets an API key limited to the scopes shown, sent to its install URL

ParameterInTypeNotes
slug required path string
Request body
FieldTypeNotes
accept_scopes required one of: true
accept_price boolean
201 Installed

No body.

GET /installs

Plugins installed in this workspace

200 Installs
FieldTypeNotes
data array of object

POST /installs/{id}/setup-link

A link to an installed plugin's own settings page (admins), signed so the plugin knows which workspace and admin opened it. Valid for 10 minutes

ParameterInTypeNotes
id required path string (uuid)
200 Link
FieldTypeNotes
url string

POST /installs/{id}/update

Move an installed plugin to its latest version (admins), approving any new access it asks for. The plugin is told

ParameterInTypeNotes
id required path string (uuid)
Request body
FieldTypeNotes
version required string
accept_scopes required one of: true
200 Updated

No body.

DELETE /installs/{id}

Uninstall a plugin (admins). Its key stops working at once and the plugin is told

ParameterInTypeNotes
id required path string (uuid)
204 Uninstalled

No body.

Meetings

GET /meetings

Meetings in a date range (default: the next 30 days), optionally for a company or only yours

ParameterInTypeNotes
from query string (date-time)
to query string (date-time)
company_id query string (uuid)
mine query one of: true, false Default "false".
limit query integer Default 100.
200 Meetings
FieldTypeNotes
data array of Meeting

POST /meetings

Schedule a meeting with colleagues and/or contacts

Request body
FieldTypeNotes
title required string Up to 300 characters.
starts_at required string (date-time)
ends_at required string (date-time)
location string or null Up to 300 characters.
notes string or null Up to 10000 characters.
company_id string (uuid) or null
status one of: scheduled, done, cancelled
outcome string or null Up to 5000 characters.
user_ids array of string (uuid)
contact_ids array of string (uuid)
online_meeting boolean Add a Teams / Google Meet link (needs the organiser's calendar connected)
send_invites boolean Send calendar invitations to attendees from the organiser's calendar
201 Created (Meeting)
FieldTypeNotes
id string (uuid)
title string
location string or null
notes string or null
starts_at string
ends_at string
company_id string (uuid) or null
company_name string or null
organiser_id string (uuid)
status one of: scheduled, done, cancelled
outcome string or null
attendees array of object
online_meeting boolean
join_url string or null Teams or Google Meet link, once synced to the organiser's calendar
external_provider one of: microsoft, google, null
sync_error string or null

GET /meetings/{id}

Get a meeting

ParameterInTypeNotes
id required path string (uuid)
200 Meeting (Meeting)
FieldTypeNotes
id string (uuid)
title string
location string or null
notes string or null
starts_at string
ends_at string
company_id string (uuid) or null
company_name string or null
organiser_id string (uuid)
status one of: scheduled, done, cancelled
outcome string or null
attendees array of object
online_meeting boolean
join_url string or null Teams or Google Meet link, once synced to the organiser's calendar
external_provider one of: microsoft, google, null
sync_error string or null

PATCH /meetings/{id}

Reschedule, edit, cancel or record the outcome of a meeting

ParameterInTypeNotes
id required path string (uuid)
Request body
FieldTypeNotes
title string Up to 300 characters.
starts_at string (date-time)
ends_at string (date-time)
location string or null Up to 300 characters.
notes string or null Up to 10000 characters.
company_id string (uuid) or null
status one of: scheduled, done, cancelled
outcome string or null Up to 5000 characters.
user_ids array of string (uuid)
contact_ids array of string (uuid)
online_meeting boolean Add a Teams / Google Meet link (needs the organiser's calendar connected)
send_invites boolean Send calendar invitations to attendees from the organiser's calendar
200 Updated (Meeting)
FieldTypeNotes
id string (uuid)
title string
location string or null
notes string or null
starts_at string
ends_at string
company_id string (uuid) or null
company_name string or null
organiser_id string (uuid)
status one of: scheduled, done, cancelled
outcome string or null
attendees array of object
online_meeting boolean
join_url string or null Teams or Google Meet link, once synced to the organiser's calendar
external_provider one of: microsoft, google, null
sync_error string or null

Notifications

GET /notifications

My notifications, newest first, with the unread count

ParameterInTypeNotes
limit query integer Default 30.
unread query one of: true, false
200 Notifications
FieldTypeNotes
data array of Notification
unread integer

POST /notifications/read

Mark notifications as read (all of them when no ids are given)

Request body
FieldTypeNotes
ids array of string (uuid)
200 Unread count after the change
FieldTypeNotes
unread integer

GET /push/key

The key a browser needs to subscribe to push reminders (null when push isn't set up here)

200 Key
FieldTypeNotes
public_key string or null

POST /push/subscriptions

Send my reminders and notifications to this device too

Request body
FieldTypeNotes
endpoint required string (uri) Up to 1000 characters.
keys required object
device string Up to 200 characters.
204 Subscribed

No body.

POST /push/unsubscribe

Stop push on this device

Request body
FieldTypeNotes
endpoint required string Up to 1000 characters.
204 Stopped

No body.

POST /push/test

Send a test notification to my devices

200 Sent
FieldTypeNotes
sent integer

Privacy

GET /contacts/{id}/personal-data

Everything held about this person (for a subject access request), as JSON

ParameterInTypeNotes
id required path string (uuid)
200 Personal data (any)

No body.

POST /contacts/{id}/erase

Erase this person (right to erasure): irreversible Removes their name and contact details, their notes, emails and call notes, their files and meeting attendance, and their name or email wherever it appears in other timeline entries. Kept: that a contact existed (shown as "Erased contact") and an audit entry without personal data.

ParameterInTypeNotes
id required path string (uuid)
Request body
FieldTypeNotes
confirm required one of: ERASE
200 Erased
FieldTypeNotes
erased boolean
files_deleted integer

POST /companies/{id}/erase

Erase this company (e.g. a sole trader exercising the right to erasure): irreversible Removes its name, web address, phone, address, registration numbers, notes and files, and keeps keyed fingerprints so it cannot be added again. Its contacts are separate people: erase them one by one if they asked too. Deals keep their values.

ParameterInTypeNotes
id required path string (uuid)
Request body
FieldTypeNotes
confirm required one of: ERASE
200 Erased
FieldTypeNotes
erased boolean
files_deleted integer

GET /privacy/erasures

Erasures in this workspace, newest first (no personal data: who was erased is not stored)

200 Erasures
FieldTypeNotes
data array of Erasure

POST /privacy/erasures/{id}/override

Let an erased person or company be added again (for example they signed up again with consent). Recorded in the audit log

ParameterInTypeNotes
id required path string (uuid)
Request body
FieldTypeNotes
reason required string Up to 500 characters.
200 Overridden (Erasure)
FieldTypeNotes
id string (uuid)
subject_type one of: contact, company
subject_id string (uuid)
erased_at string
erased_by string or null
status one of: active, overridden
overridden_at string or null
overridden_by string or null
override_reason string or null

GET /privacy/requests

Privacy requests, open ones first by due date

ParameterInTypeNotes
status query one of: open, done, refused, all Default "all".
200 Requests
FieldTypeNotes
data array of PrivacyRequest

POST /privacy/requests

Log a privacy request; it is due one calendar month after it was received

Request body
FieldTypeNotes
kind required one of: access, erasure, rectification, restriction, objection, portability
requester_name required string Up to 200 characters.
requester_email string (email) or null Up to 254 characters.
subject_type one of: contact, company
subject_id string (uuid)
details string Up to 4000 characters.
received_at string (date) Defaults to today
200 Request (PrivacyRequest)
FieldTypeNotes
id string (uuid)
kind one of: access, erasure, rectification, restriction, objection, portability
requester_name string
requester_email string or null
subject_type one of: contact, company, null
subject_id string (uuid) or null
subject_name string or null
details string or null
received_at string
due_at string
extended_reason string or null
status one of: open, done, refused
outcome string or null
closed_at string or null
closed_by string or null
created_by string or null
created_at string
overdue boolean
201 Logged (PrivacyRequest)
FieldTypeNotes
id string (uuid)
kind one of: access, erasure, rectification, restriction, objection, portability
requester_name string
requester_email string or null
subject_type one of: contact, company, null
subject_id string (uuid) or null
subject_name string or null
details string or null
received_at string
due_at string
extended_reason string or null
status one of: open, done, refused
outcome string or null
closed_at string or null
closed_by string or null
created_by string or null
created_at string
overdue boolean

POST /privacy/requests/{id}/extend

Extend the deadline by two months (complex or numerous requests). Tell the person why within the first month

ParameterInTypeNotes
id required path string (uuid)
Request body
FieldTypeNotes
reason required string Up to 1000 characters.
200 Request (PrivacyRequest)
FieldTypeNotes
id string (uuid)
kind one of: access, erasure, rectification, restriction, objection, portability
requester_name string
requester_email string or null
subject_type one of: contact, company, null
subject_id string (uuid) or null
subject_name string or null
details string or null
received_at string
due_at string
extended_reason string or null
status one of: open, done, refused
outcome string or null
closed_at string or null
closed_by string or null
created_by string or null
created_at string
overdue boolean

POST /privacy/requests/{id}/close

Record how the request was answered (done), or why it was refused

ParameterInTypeNotes
id required path string (uuid)
Request body
FieldTypeNotes
status required one of: done, refused
outcome required string Up to 4000 characters.
200 Request (PrivacyRequest)
FieldTypeNotes
id string (uuid)
kind one of: access, erasure, rectification, restriction, objection, portability
requester_name string
requester_email string or null
subject_type one of: contact, company, null
subject_id string (uuid) or null
subject_name string or null
details string or null
received_at string
due_at string
extended_reason string or null
status one of: open, done, refused
outcome string or null
closed_at string or null
closed_by string or null
created_by string or null
created_at string
overdue boolean

Quotes

GET /products

Your price list of products and services

ParameterInTypeNotes
q query string
active query one of: true, false, all Default "true".
200 Products
FieldTypeNotes
data array of Product

POST /products

Add a product or service to the price list (admins)

Request body
FieldTypeNotes
name required string Up to 200 characters.
sku string or null Up to 50 characters.
description string or null Up to 2000 characters.
unit_price number 0–1000000000.
tax_rate number 0–100.
active boolean
201 Created (Product)
FieldTypeNotes
id string (uuid)
name string
sku string or null
description string or null
unit_price number Price before VAT in major units (e.g. 450.00)
tax_rate number VAT %, e.g. 20
active boolean
created_at string
updated_at string

PATCH /products/{id}

Change a product (admins). Set active to false to retire it; quotes already made keep their lines

ParameterInTypeNotes
id required path string (uuid)
Request body
FieldTypeNotes
name string Up to 200 characters.
sku string or null Up to 50 characters.
description string or null Up to 2000 characters.
unit_price number 0–1000000000.
tax_rate number 0–100.
active boolean
200 Updated (Product)
FieldTypeNotes
id string (uuid)
name string
sku string or null
description string or null
unit_price number Price before VAT in major units (e.g. 450.00)
tax_rate number VAT %, e.g. 20
active boolean
created_at string
updated_at string

GET /quotes

List quotes, newest first

ParameterInTypeNotes
limit query integer Default 25.
cursor query string
deal_id query string (uuid)
status query one of: draft, sent, accepted, declined, void
200 Quotes
FieldTypeNotes
data array of object
next_cursor string or null

POST /quotes

Start a draft quote on a deal Title, contact and currency default to the deal's; validity and terms to Settings › Quotes. Lines may name a product_id to take its description, price and VAT rate.

Request body
FieldTypeNotes
deal_id required string (uuid)
title string Up to 200 characters.
contact_id string (uuid) or null
currency string Up to 3 characters.
valid_until string (date) or null
intro string or null Up to 5000 characters.
terms string or null Up to 10000 characters.
lines array of QuoteLineInput Default [].
201 Created (Quote)
FieldTypeNotes
id string (uuid)
number string
deal_id string (uuid)
deal_name string
company_id string (uuid) or null
company_name string or null
contact_id string (uuid) or null
contact_name string or null
contact_email string or null
title string
currency string
status one of: draft, sent, accepted, declined, void
expired boolean Sent, but past its valid-until date: the customer can no longer accept it
valid_until string or null
intro string or null
terms string or null
subtotal number
tax number
total number
link string or null The customer's accept link, once sent (until revised or voided)
sent_at string or null
sent_to string or null
viewed_at string or null
views integer
accepted_at string or null
accepted_name string or null
accepted_hash string or null
declined_at string or null
decline_reason string or null
xero object The Xero draft invoice raised from this quote, when Xero is connected
created_by string or null
created_at string
updated_at string
lines array of QuoteLine Only on a single quote

GET /quotes/{id}

Get a quote with its lines

ParameterInTypeNotes
id required path string (uuid)
200 Quote (Quote)
FieldTypeNotes
id string (uuid)
number string
deal_id string (uuid)
deal_name string
company_id string (uuid) or null
company_name string or null
contact_id string (uuid) or null
contact_name string or null
contact_email string or null
title string
currency string
status one of: draft, sent, accepted, declined, void
expired boolean Sent, but past its valid-until date: the customer can no longer accept it
valid_until string or null
intro string or null
terms string or null
subtotal number
tax number
total number
link string or null The customer's accept link, once sent (until revised or voided)
sent_at string or null
sent_to string or null
viewed_at string or null
views integer
accepted_at string or null
accepted_name string or null
accepted_hash string or null
declined_at string or null
decline_reason string or null
xero object The Xero draft invoice raised from this quote, when Xero is connected
created_by string or null
created_at string
updated_at string
lines array of QuoteLine Only on a single quote

PATCH /quotes/{id}

Change a draft quote. Sending lines replaces them all

ParameterInTypeNotes
id required path string (uuid)
Request body
FieldTypeNotes
title string Up to 200 characters.
contact_id string (uuid) or null
currency string Up to 3 characters.
valid_until string (date) or null
intro string or null Up to 5000 characters.
terms string or null Up to 10000 characters.
lines array of QuoteLineInput
200 Updated (Quote)
FieldTypeNotes
id string (uuid)
number string
deal_id string (uuid)
deal_name string
company_id string (uuid) or null
company_name string or null
contact_id string (uuid) or null
contact_name string or null
contact_email string or null
title string
currency string
status one of: draft, sent, accepted, declined, void
expired boolean Sent, but past its valid-until date: the customer can no longer accept it
valid_until string or null
intro string or null
terms string or null
subtotal number
tax number
total number
link string or null The customer's accept link, once sent (until revised or voided)
sent_at string or null
sent_to string or null
viewed_at string or null
views integer
accepted_at string or null
accepted_name string or null
accepted_hash string or null
declined_at string or null
decline_reason string or null
xero object The Xero draft invoice raised from this quote, when Xero is connected
created_by string or null
created_at string
updated_at string
lines array of QuoteLine Only on a single quote

POST /quotes/{id}/send

Send a quote: freezes it and makes the accept link. Optionally emails the link (again, if already sent)

ParameterInTypeNotes
id required path string (uuid)
Request body
FieldTypeNotes
email_to string (email) or null Email the link here (usually the contact's address). Omit to just get the link Up to 254 characters.
message string A note above the link in the email Up to 2000 characters.
200 Sent (Quote)
FieldTypeNotes
id string (uuid)
number string
deal_id string (uuid)
deal_name string
company_id string (uuid) or null
company_name string or null
contact_id string (uuid) or null
contact_name string or null
contact_email string or null
title string
currency string
status one of: draft, sent, accepted, declined, void
expired boolean Sent, but past its valid-until date: the customer can no longer accept it
valid_until string or null
intro string or null
terms string or null
subtotal number
tax number
total number
link string or null The customer's accept link, once sent (until revised or voided)
sent_at string or null
sent_to string or null
viewed_at string or null
views integer
accepted_at string or null
accepted_name string or null
accepted_hash string or null
declined_at string or null
decline_reason string or null
xero object The Xero draft invoice raised from this quote, when Xero is connected
created_by string or null
created_at string
updated_at string
lines array of QuoteLine Only on a single quote

POST /quotes/{id}/revise

Reopen a sent or declined quote as a draft. Its link stops working; sending again makes a new one

ParameterInTypeNotes
id required path string (uuid)
200 Done (Quote)
FieldTypeNotes
id string (uuid)
number string
deal_id string (uuid)
deal_name string
company_id string (uuid) or null
company_name string or null
contact_id string (uuid) or null
contact_name string or null
contact_email string or null
title string
currency string
status one of: draft, sent, accepted, declined, void
expired boolean Sent, but past its valid-until date: the customer can no longer accept it
valid_until string or null
intro string or null
terms string or null
subtotal number
tax number
total number
link string or null The customer's accept link, once sent (until revised or voided)
sent_at string or null
sent_to string or null
viewed_at string or null
views integer
accepted_at string or null
accepted_name string or null
accepted_hash string or null
declined_at string or null
decline_reason string or null
xero object The Xero draft invoice raised from this quote, when Xero is connected
created_by string or null
created_at string
updated_at string
lines array of QuoteLine Only on a single quote

POST /quotes/{id}/void

Withdraw a quote that has not been accepted. Its link stops working

ParameterInTypeNotes
id required path string (uuid)
200 Done (Quote)
FieldTypeNotes
id string (uuid)
number string
deal_id string (uuid)
deal_name string
company_id string (uuid) or null
company_name string or null
contact_id string (uuid) or null
contact_name string or null
contact_email string or null
title string
currency string
status one of: draft, sent, accepted, declined, void
expired boolean Sent, but past its valid-until date: the customer can no longer accept it
valid_until string or null
intro string or null
terms string or null
subtotal number
tax number
total number
link string or null The customer's accept link, once sent (until revised or voided)
sent_at string or null
sent_to string or null
viewed_at string or null
views integer
accepted_at string or null
accepted_name string or null
accepted_hash string or null
declined_at string or null
decline_reason string or null
xero object The Xero draft invoice raised from this quote, when Xero is connected
created_by string or null
created_at string
updated_at string
lines array of QuoteLine Only on a single quote

POST /quotes/{id}/mark-accepted

Record that the customer accepted outside the link (signed copy, email, phone). Marks the deal won

ParameterInTypeNotes
id required path string (uuid)
Request body
FieldTypeNotes
name required string Who accepted, on the customer side Up to 200 characters.
200 Accepted (Quote)
FieldTypeNotes
id string (uuid)
number string
deal_id string (uuid)
deal_name string
company_id string (uuid) or null
company_name string or null
contact_id string (uuid) or null
contact_name string or null
contact_email string or null
title string
currency string
status one of: draft, sent, accepted, declined, void
expired boolean Sent, but past its valid-until date: the customer can no longer accept it
valid_until string or null
intro string or null
terms string or null
subtotal number
tax number
total number
link string or null The customer's accept link, once sent (until revised or voided)
sent_at string or null
sent_to string or null
viewed_at string or null
views integer
accepted_at string or null
accepted_name string or null
accepted_hash string or null
declined_at string or null
decline_reason string or null
xero object The Xero draft invoice raised from this quote, when Xero is connected
created_by string or null
created_at string
updated_at string
lines array of QuoteLine Only on a single quote

GET /quotes/{id}/pdf

The quote as a PDF

ParameterInTypeNotes
id required path string (uuid)
200 PDF

No body.

GET /quotes/{id}/events

The quote's audit trail: created, sent, viewed (with IP), accepted, declined, invoiced, paid

ParameterInTypeNotes
id required path string (uuid)
200 Events
FieldTypeNotes
data array of object

POST /quotes/{id}/xero

Raise the draft invoice in Xero for an accepted quote now (e.g. after fixing an error)

ParameterInTypeNotes
id required path string (uuid)
200 Invoice
FieldTypeNotes
invoice_id string
invoice_number string or null
status string

Reports

GET /reports/pipeline

Companies per pipeline stage (legacy "leads by stage" report)

200 Counts by stage, in pipeline order
FieldTypeNotes
data array of object

GET /reports/summary

Pipeline overview: companies by stage, owner and source, leads added per month (12 months), task health

ParameterInTypeNotes
pipeline_id query string (uuid)
200 Summary
FieldTypeNotes
by_stage array of object
by_owner array of object
by_source array of object
added_by_month array of object
tasks object
totals object

GET /reports/marketing

Marketing ROI: spend, leads, pipeline, revenue, CAC, ROI and ROAS by campaign, source or channel (Standard plan)

ParameterInTypeNotes
from query string (date) Start date (inclusive); default 12 months ago
to query string (date) End date (inclusive); default today
group query one of: campaign, source, channel Default "campaign".
model query one of: first, last, linear Attribution model for deals: first touch, last touch or linear Default "first".
campaign_id query string (uuid) Only this campaign
200 Report
FieldTypeNotes
period object
currency string
group one of: campaign, source, channel
model one of: first, last, linear
totals object
rows array of object
by_month array of object
other_currency object

GET /reports/fields

What custom reports can be built from: objects, group-by fields, date fields and measures

200 Catalog
FieldTypeNotes
data array of object

POST /reports/run

Run a report definition without saving it

Request body (ReportDefinition)
FieldTypeNotes
object required one of: company, contact, deal, activity, task, touchpoint, spend
group_by array of string Up to two fields, e.g. ["stage"] or ["created_at:month", "owner"] Default [].
measure string Default "count". Up to 60 characters.
filters array of object Keep records whose field is one of the values (null = not set) Default [].
date object Limit to records whose date field falls in the range (inclusive)
chart one of: table, bar, line Default "bar".
200 Result
FieldTypeNotes
object string
columns object
money boolean
currency string or null
rows array of object
truncated boolean

GET /reports/saved

Your reports and the ones shared with the workspace

200 Reports
FieldTypeNotes
data array of SavedReport

POST /reports/saved

Save a report (admins can share it with the workspace)

Request body
FieldTypeNotes
name required string Up to 80 characters.
definition required ReportDefinition
shared boolean Default false.
201 Saved (SavedReport)
FieldTypeNotes
id string (uuid)
name string
definition ReportDefinition
shared boolean
mine boolean
pinned boolean Pinned to your Home page
owner_name string or null
created_at string
updated_at string

PATCH /reports/saved/{id}

Rename, change or share a saved report

ParameterInTypeNotes
id required path string (uuid)
Request body
FieldTypeNotes
name string Up to 80 characters.
definition ReportDefinition
shared boolean
200 Saved (SavedReport)
FieldTypeNotes
id string (uuid)
name string
definition ReportDefinition
shared boolean
mine boolean
pinned boolean Pinned to your Home page
owner_name string or null
created_at string
updated_at string

DELETE /reports/saved/{id}

Delete a saved report

ParameterInTypeNotes
id required path string (uuid)
204 Deleted

No body.

POST /reports/records

The records behind one row of a report (newest first, up to 100)

Request body
FieldTypeNotes
definition required ReportDefinition
keys required array of string or null
200 Records
FieldTypeNotes
total integer
records array of object

PUT /reports/saved/{id}/pin

Pin a report to your Home page

ParameterInTypeNotes
id required path string (uuid)
204 Done

No body.

DELETE /reports/saved/{id}/pin

Unpin a report from your Home page

ParameterInTypeNotes
id required path string (uuid)
204 Done

No body.

GET /reports/saved/{id}/run

Run a saved report

ParameterInTypeNotes
id required path string (uuid)
200 Result
FieldTypeNotes
object string
columns object
money boolean
currency string or null
rows array of object
truncated boolean
name string

GET /reports/sales

Sales performance for a period: revenue, win rate, cycle, forecast, people, sources, funnel, lost reasons, activity

ParameterInTypeNotes
from query string (date) Start date (inclusive); default 12 months ago
to query string (date) End date (inclusive); default today
owner query one of: me or string (uuid)
200 Report

No body.

Saved views

GET /saved-views

Your saved views and the ones shared with the workspace

ParameterInTypeNotes
object query one of: company, contact, deal
200 Views
FieldTypeNotes
data array of SavedView

POST /saved-views

Save the current list filters as a view (shared views need workspace admin)

Request body
FieldTypeNotes
object required one of: company, contact, deal
name required string Up to 60 characters.
filters required object List filters, e.g. {"kind":"lead","owner":"me"}
shared boolean Default false.
201 Created (SavedView)
FieldTypeNotes
id string (uuid)
object one of: company, contact, deal
name string
filters object List filters, e.g. {"kind":"lead","owner":"me"}
shared boolean
owner_id string (uuid)
owner_name string or null
mine boolean The caller created it (and so can change or delete it)
created_at string

PATCH /saved-views/{id}

Rename a view, update its filters, or share / unshare it

ParameterInTypeNotes
id required path string (uuid)
Request body
FieldTypeNotes
name string Up to 60 characters.
filters object List filters, e.g. {"kind":"lead","owner":"me"}
shared boolean
200 Updated (SavedView)
FieldTypeNotes
id string (uuid)
object one of: company, contact, deal
name string
filters object List filters, e.g. {"kind":"lead","owner":"me"}
shared boolean
owner_id string (uuid)
owner_name string or null
mine boolean The caller created it (and so can change or delete it)
created_at string

DELETE /saved-views/{id}

Delete a view (yours, or a shared one if you are an admin)

ParameterInTypeNotes
id required path string (uuid)
204 Deleted

No body.

GET /recent

Records you viewed recently, newest first

200 Recent
FieldTypeNotes
data array of SearchHit

POST /recent

Record that you opened a record

Request body
FieldTypeNotes
type required one of: company, contact
id required string (uuid)
204 Recorded

No body.

Sequences

GET /sequences

List email sequences with their numbers

ParameterInTypeNotes
status query one of: active, paused, archived, live live = active and paused Default "live".
kind query one of: sequence, autoresponder
campaign_id query string (uuid)
200 Sequences
FieldTypeNotes
data array of EmailSequence

POST /sequences

Create an email sequence

Request body
FieldTypeNotes
name required string Up to 100 characters.
description string or null Up to 1000 characters.
consent_rule one of: granted, not_withdrawn, service granted: only people who agreed to email marketing. not_withdrawn: business contacts at companies (PECR 'corporate subscribers') unless they opted out. Sole traders and partnerships need granted. service: autoresponders only, a reply about the person's own enquiry (no marketing consent needed, no unsubscribe link; at most 3 emails within 14 days). Default "granted".
kind one of: sequence, autoresponder autoresponder: outside any campaign, starts itself (needs trigger_kind) Default "sequence".
campaign_id string (uuid) or null The campaign that owns it: its emails and replies count as that campaign’s touchpoints Default null.
trigger_kind one of: inbound_email, web_form, new_contact, null Starts by itself when: a known contact emails a connected mailbox, a web form is sent, or a contact is added (not by import). null = only when people are added. Default null.
trigger_form_id string (uuid) or null web_form: only this form (null = any form) Default null.
sender_id string (uuid) or null Whose mailbox sends when it starts by itself (null = the owner; for inbound_email, the mailbox that received it) Default null.
cooldown_days integer An automatic start skips anyone started in it within this many days Default 30. 0–365.
weekdays_only boolean Default true.
window_start integer Earliest hour to send (workspace time zone) Default 9. 0–23.
window_end integer Send before this hour Default 17. 1–24.
steps required array of object
201 Created (EmailSequence)
FieldTypeNotes
id string (uuid)
name string
description string or null
status one of: active, paused, archived
consent_rule one of: granted, not_withdrawn, service
kind one of: sequence, autoresponder
campaign_id string (uuid) or null
campaign_name string or null
trigger_kind one of: inbound_email, web_form, new_contact, null
trigger_form_id string (uuid) or null
trigger_form_name string or null
sender_id string (uuid) or null
sender_name string or null
cooldown_days integer
library_key string or null
weekdays_only boolean
window_start integer
window_end integer
owner_id string (uuid)
owner_name string or null
steps array of object
stats object
created_at string
updated_at string

GET /sequences/{id}

A sequence with its steps and numbers

ParameterInTypeNotes
id required path string (uuid)
200 Sequence (EmailSequence)
FieldTypeNotes
id string (uuid)
name string
description string or null
status one of: active, paused, archived
consent_rule one of: granted, not_withdrawn, service
kind one of: sequence, autoresponder
campaign_id string (uuid) or null
campaign_name string or null
trigger_kind one of: inbound_email, web_form, new_contact, null
trigger_form_id string (uuid) or null
trigger_form_name string or null
sender_id string (uuid) or null
sender_name string or null
cooldown_days integer
library_key string or null
weekdays_only boolean
window_start integer
window_end integer
owner_id string (uuid)
owner_name string or null
steps array of object
stats object
created_at string
updated_at string

PATCH /sequences/{id}

Change a sequence, its steps, or pause / resume / archive it Replacing the steps keeps everyone where they are: someone due step 3 gets the new step 3.

ParameterInTypeNotes
id required path string (uuid)
Request body
FieldTypeNotes
name string Up to 100 characters.
description string or null Up to 1000 characters.
consent_rule one of: granted, not_withdrawn, service granted: only people who agreed to email marketing. not_withdrawn: business contacts at companies (PECR 'corporate subscribers') unless they opted out. Sole traders and partnerships need granted. service: autoresponders only, a reply about the person's own enquiry (no marketing consent needed, no unsubscribe link; at most 3 emails within 14 days).
kind one of: sequence, autoresponder autoresponder: outside any campaign, starts itself (needs trigger_kind)
campaign_id string (uuid) or null The campaign that owns it: its emails and replies count as that campaign’s touchpoints
trigger_kind one of: inbound_email, web_form, new_contact, null Starts by itself when: a known contact emails a connected mailbox, a web form is sent, or a contact is added (not by import). null = only when people are added.
trigger_form_id string (uuid) or null web_form: only this form (null = any form)
sender_id string (uuid) or null Whose mailbox sends when it starts by itself (null = the owner; for inbound_email, the mailbox that received it)
cooldown_days integer An automatic start skips anyone started in it within this many days 0–365.
weekdays_only boolean
window_start integer Earliest hour to send (workspace time zone) 0–23.
window_end integer Send before this hour 1–24.
status one of: active, paused, archived
steps array of object
200 Updated (EmailSequence)
FieldTypeNotes
id string (uuid)
name string
description string or null
status one of: active, paused, archived
consent_rule one of: granted, not_withdrawn, service
kind one of: sequence, autoresponder
campaign_id string (uuid) or null
campaign_name string or null
trigger_kind one of: inbound_email, web_form, new_contact, null
trigger_form_id string (uuid) or null
trigger_form_name string or null
sender_id string (uuid) or null
sender_name string or null
cooldown_days integer
library_key string or null
weekdays_only boolean
window_start integer
window_end integer
owner_id string (uuid)
owner_name string or null
steps array of object
stats object
created_at string
updated_at string

POST /sequences/{id}/enrol

Start the sequence for up to 50 picked contacts, or up to 250 from a segment, sent from your mailbox Each contact is checked first: they need an email address and email consent that fits the sequence's consent rule, and can't already be in it. Those who don't qualify are listed as skipped with the reason. With a segment, dry_run: true only counts who it would pick.

ParameterInTypeNotes
id required path string (uuid)
Request body
FieldTypeNotes
contact_ids array of string (uuid)
segment SequenceSegment
dry_run boolean
200 Results per contact
FieldTypeNotes
enrolled integer
results array of object
matched integer Segment: everyone it matches (only the newest 250 are started per call)

GET /sequences/{id}/enrolments

People in a sequence (latest 50, or by status)

ParameterInTypeNotes
id required path string (uuid)
status query one of: active, paused, completed, stopped
200 Enrolments
FieldTypeNotes
data array of SequenceEnrolment

GET /contacts/{id}/enrolments

A contact's sequences, current and past

ParameterInTypeNotes
id required path string (uuid)
200 Enrolments
FieldTypeNotes
data array of SequenceEnrolment

POST /enrolments/{id}/stop

Take someone out of a sequence

ParameterInTypeNotes
id required path string (uuid)
200 Updated (SequenceEnrolment)
FieldTypeNotes
id string (uuid)
sequence_id string (uuid)
sequence_name string
contact_id string (uuid)
contact_name string or null
contact_email string or null
sender_id string (uuid)
sender_name string or null
status one of: active, paused, completed, stopped
stop_reason string or null
started_by one of: manual, segment, automation, inbound_email, web_form, new_contact
next_position integer
steps integer
next_at string or null
last_error string or null
enrolled_at string
finished_at string or null

POST /enrolments/{id}/pause

Pause one person’s sequence

ParameterInTypeNotes
id required path string (uuid)
200 Updated (SequenceEnrolment)
FieldTypeNotes
id string (uuid)
sequence_id string (uuid)
sequence_name string
contact_id string (uuid)
contact_name string or null
contact_email string or null
sender_id string (uuid)
sender_name string or null
status one of: active, paused, completed, stopped
stop_reason string or null
started_by one of: manual, segment, automation, inbound_email, web_form, new_contact
next_position integer
steps integer
next_at string or null
last_error string or null
enrolled_at string
finished_at string or null

POST /enrolments/{id}/resume

Resume one person’s sequence

ParameterInTypeNotes
id required path string (uuid)
200 Updated (SequenceEnrolment)
FieldTypeNotes
id string (uuid)
sequence_id string (uuid)
sequence_name string
contact_id string (uuid)
contact_name string or null
contact_email string or null
sender_id string (uuid)
sender_name string or null
status one of: active, paused, completed, stopped
stop_reason string or null
started_by one of: manual, segment, automation, inbound_email, web_form, new_contact
next_position integer
steps integer
next_at string or null
last_error string or null
enrolled_at string
finished_at string or null

GET /sequence-library

Ready-made sequences and autoresponders to start from

200 Library
FieldTypeNotes
data array of SequenceLibraryItem

POST /sequences/from-library

Copy a ready-made sequence into the workspace, paused so you can check it first

Request body
FieldTypeNotes
key required string Up to 60 characters.
name string Up to 100 characters.
campaign_id string (uuid) or null Sequences only: the campaign that owns the copy
201 Created (EmailSequence)
FieldTypeNotes
id string (uuid)
name string
description string or null
status one of: active, paused, archived
consent_rule one of: granted, not_withdrawn, service
kind one of: sequence, autoresponder
campaign_id string (uuid) or null
campaign_name string or null
trigger_kind one of: inbound_email, web_form, new_contact, null
trigger_form_id string (uuid) or null
trigger_form_name string or null
sender_id string (uuid) or null
sender_name string or null
cooldown_days integer
library_key string or null
weekdays_only boolean
window_start integer
window_end integer
owner_id string (uuid)
owner_name string or null
steps array of object
stats object
created_at string
updated_at string

Support

GET /support/tickets

My support tickets (owners and admins see the whole workspace), newest activity first

ParameterInTypeNotes
status query one of: active, closed
200 OK
FieldTypeNotes
data array of SupportTicket

POST /support/tickets

Raise a support ticket

Request body
FieldTypeNotes
subject required string Up to 200 characters.
category one of: question, problem, billing, feature, account, other Default "question".
body required string Up to 20000 characters.
page string Up to 300 characters.
201 Created (SupportTicket)
FieldTypeNotes
id string (uuid)
number integer
subject string
category one of: question, problem, billing, feature, account, other
priority one of: low, normal, high, urgent
status one of: open, waiting, scheduled, closed
fix_version string or null
created_by string (uuid)
created_by_name string or null
created_at string
updated_at string
closed_at string or null
close_reason string or null

GET /support/tickets/{id}

A ticket and its conversation (staff notes are never shown)

ParameterInTypeNotes
id required path string (uuid)
200 OK
FieldTypeNotes
ticket SupportTicket
messages array of SupportMessage

POST /support/tickets/{id}/messages

Reply on a ticket. Replying to a closed or waiting ticket hands it back to support.

ParameterInTypeNotes
id required path string (uuid)
Request body
FieldTypeNotes
body required string Up to 20000 characters.
200 OK (SupportTicket)
FieldTypeNotes
id string (uuid)
number integer
subject string
category one of: question, problem, billing, feature, account, other
priority one of: low, normal, high, urgent
status one of: open, waiting, scheduled, closed
fix_version string or null
created_by string (uuid)
created_by_name string or null
created_at string
updated_at string
closed_at string or null
close_reason string or null

POST /support/tickets/{id}/close

Close my ticket (sorted, or no longer needed)

ParameterInTypeNotes
id required path string (uuid)
200 OK (SupportTicket)
FieldTypeNotes
id string (uuid)
number integer
subject string
category one of: question, problem, billing, feature, account, other
priority one of: low, normal, high, urgent
status one of: open, waiting, scheduled, closed
fix_version string or null
created_by string (uuid)
created_by_name string or null
created_at string
updated_at string
closed_at string or null
close_reason string or null

Tasks

GET /tasks

List tasks (call-backs)

ParameterInTypeNotes
limit query integer Default 25.
cursor query string
assignee query one of: me or one of: any or string (uuid) Default "me".
status query one of: open, done, cancelled
target_type query one of: company, contact, deal
target_id query string (uuid)
due_from query string (date-time) Only tasks due at or after this time, plus undated tasks
due_before query string (date-time) Only tasks due before this time
200 A page of tasks
FieldTypeNotes
data array of Task
next_cursor string or null

POST /tasks

Create a task, optionally on a company or contact

Request body (TaskCreate)
FieldTypeNotes
title required string Up to 300 characters.
notes string Up to 5000 characters.
due_at required string (date-time) When the task is due: date and time, ISO 8601 with offset. Required
remind_at string (date-time)
target_type one of: company, contact, deal
target_id string (uuid)
assignee_id string (uuid)
201 Created (Task)
FieldTypeNotes
id string (uuid)
title string
notes string or null
due_at string or null
remind_at string or null
status one of: open, done, cancelled
target_type one of: company, contact, deal, null
target_id string (uuid) or null
assignee_id string (uuid) or null
created_by string (uuid) or null
completed_at string or null
created_at string
company_id string (uuid) or null
company_name string or null
contact_id string (uuid) or null
contact_name string or null
contact_email string or null

POST /tasks/bulk

Bulk complete, reopen, reassign, reschedule or delete tasks (people only, up to 200 at a time). Delete cancels the task: it leaves every list but is kept for the record

Request body
FieldTypeNotes
ids required array of string (uuid)
action required one of: complete, reopen, reassign, reschedule, delete
assignee_id string (uuid) For reassign: who the tasks go to
due_at string (date-time) For reschedule: the new due date and time, ISO 8601 with offset
200 Updated
FieldTypeNotes
updated integer

GET /tasks/{id}

Get a task

ParameterInTypeNotes
id required path string (uuid)
200 The task (Task)
FieldTypeNotes
id string (uuid)
title string
notes string or null
due_at string or null
remind_at string or null
status one of: open, done, cancelled
target_type one of: company, contact, deal, null
target_id string (uuid) or null
assignee_id string (uuid) or null
created_by string (uuid) or null
completed_at string or null
created_at string
company_id string (uuid) or null
company_name string or null
contact_id string (uuid) or null
contact_name string or null
contact_email string or null

PATCH /tasks/{id}

Update or complete a task

ParameterInTypeNotes
id required path string (uuid)
Request body (TaskUpdate)
FieldTypeNotes
title string Up to 300 characters.
notes string or null Up to 5000 characters.
due_at string (date-time) A task always keeps a due date and time; it can be moved but not cleared
remind_at string (date-time) or null
status one of: open, done, cancelled
assignee_id string (uuid) or null
200 Updated (Task)
FieldTypeNotes
id string (uuid)
title string
notes string or null
due_at string or null
remind_at string or null
status one of: open, done, cancelled
target_type one of: company, contact, deal, null
target_id string (uuid) or null
assignee_id string (uuid) or null
created_by string (uuid) or null
completed_at string or null
created_at string
company_id string (uuid) or null
company_name string or null
contact_id string (uuid) or null
contact_name string or null
contact_email string or null

Timeline

GET /activities

Timeline for a company or contact, newest first

ParameterInTypeNotes
limit query integer Default 25.
cursor query string
target_type required query one of: company, contact, deal
target_id required query string (uuid)
include_contacts query one of: true, false For a company, also include activity on its contacts Default "true".
200 A page of activities
FieldTypeNotes
data array of Activity
next_cursor string or null

POST /activities

Add a note or log a call outcome

201 Created (Activity)
FieldTypeNotes
id string (uuid)
type one of: note, call, system, email, meeting, task, plugin
subject string or null
body string or null
outcome string or null
target_type string
target_id string (uuid)
actor_type one of: user, agent, app, system
actor_id string (uuid) or null
actor_label string or null
occurred_at string
email object or null For an Outlook email entry: the message (subject and body are filled in from it)

GET /activities/{id}

Get one timeline entry

ParameterInTypeNotes
id required path string (uuid)
200 The activity (Activity)
FieldTypeNotes
id string (uuid)
type one of: note, call, system, email, meeting, task, plugin
subject string or null
body string or null
outcome string or null
target_type string
target_id string (uuid)
actor_type one of: user, agent, app, system
actor_id string (uuid) or null
actor_label string or null
occurred_at string
email object or null For an Outlook email entry: the message (subject and body are filled in from it)

POST /emails

Send an email (or a reply) from your own Outlook mailbox; it is logged on the contact timeline

Request body (SendEmail)
FieldTypeNotes
contact_id string (uuid) Contact to email (and log it on). Their email address is used when `to` is left out.
to array of string (email)
cc array of string (email)
subject string Default "". Up to 400 characters.
body required string Plain text Up to 100000 characters.
reply_to string (uuid) The email (timeline `email.id`) this answers: it is threaded as a reply
201 Sent
FieldTypeNotes
id string (uuid)
internet_message_id string
conversation_id string or null

Webhooks

GET /webhook-events

Events you can subscribe to, and the permission each needs

200 Events
FieldTypeNotes
data array of object

GET /webhooks

Webhook subscriptions: all of them for admins, otherwise the ones you or your API key made

200 Subscriptions
FieldTypeNotes
data array of WebhookSubscription

POST /webhooks

Subscribe a URL to events. The signing secret is shown once, in this response Each delivery is a POST with a JSON body {id, type, created_at, workspace_id, data, api_url} and headers X-SmartContact-Event, X-SmartContact-Delivery and X-SmartContact-Signature (t=<unix time>,v1=<hex HMAC-SHA256 of "<t>.<body>" with the secret>). Answer 2xx within 10 seconds; failures are retried for about a day; answer 410 to unsubscribe. You only receive events you are allowed to read, and data holds ids and changed field names, never personal data: fetch api_url for the record.

Request body
FieldTypeNotes
url required string Up to 2000 characters.
events required array of string
description string Up to 200 characters.
201 Subscribed (any)
FieldTypeNotes
id string (uuid)
url string
events array of string
description string or null
status one of: active, disabled, deleted
disabled_reason string or null
source one of: workspace, api_key, plugin Who made it: a person in Settings, an API key (e.g. Zapier), or an installed plugin
created_by string or null
created_at string
last_delivery object or null
secret string

DELETE /webhooks/{id}

Unsubscribe (admins: any workspace webhook; otherwise your own). Plugins are removed by uninstalling them

ParameterInTypeNotes
id required path string (uuid)
204 Removed

No body.

GET /webhooks/{id}/deliveries

The last 50 deliveries of a webhook (admins)

ParameterInTypeNotes
id required path string (uuid)
200 Deliveries
FieldTypeNotes
data array of object

Workspace

GET /onboarding/workspaces

Workspaces the signed-in person belongs to, so the app can switch the session to one of them

200 Workspaces
FieldTypeNotes
data array of object

POST /onboarding

Create a workspace for the signed-in user (first sign-in). Then switch the session to the returned organisation.

Request body
FieldTypeNotes
workspace_name required string Up to 100 characters.
acquisition object
201 Workspace created
FieldTypeNotes
workspace_id string (uuid)
slug string
organization_id string

GET /me

The signed-in user, workspace and permissions

200 Me (Me)
FieldTypeNotes
user object
workspace object
permissions array of string
actor_type one of: user, agent, app
support object or null

GET /pipeline-stages

Pipeline stages, in order

200 Stages
FieldTypeNotes
data array of PipelineStage

GET /lead-sources

Lead sources

200 Sources
FieldTypeNotes
data array of LeadSource

GET /members

Workspace members (for owner and assignee pickers)

200 Members
FieldTypeNotes
data array of Member

GET /review-prompt

Whether to ask this admin for a review (once per workspace, after 30 active days)

200 Prompt
FieldTypeNotes
show boolean
url string or null

POST /review-prompt

Logs that the review prompt was shown, dismissed, or used to open the review site

Request body
FieldTypeNotes
action required one of: shown, dismissed, reviewed
204 Logged

No body.