Account
GET /me/two-step
Your two-step sign-in: whether this workspace requires it and whether this session passed
200 OK (TwoStepStatus)
| Field | Type | Notes |
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
| Field | Type | Notes |
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
| Field | Type | Notes |
code required | string | |
200 OK (TwoStepStatus)
| Field | Type | Notes |
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
| Field | Type | Notes |
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
| Field | Type | Notes |
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
| Field | Type | Notes |
enabled | boolean | |
address | string or null | |
POST /me/password
Get a one-time link to change your password
200 OK
| Field | Type | Notes |
url | string (uri) | |
Admin
GET /workspace/two-step
Two-step sign-in rule and where each member stands (admins)
200 OK (WorkspaceTwoStep)
| Field | Type | Notes |
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
| Field | Type | Notes |
required required | boolean | |
200 OK (WorkspaceTwoStep)
| Field | Type | Notes |
required | boolean | |
members | array of TwoStepMember | |
GET /workspace/sign-ins
Sign-in history for the workspace, newest first (admins)
| Parameter | In | Type | Notes |
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
| Field | Type | Notes |
data | array of SignIn | |
total | integer | |
POST /pipeline-stages
Add a stage to the end of a pipeline
Request body
| Field | Type | Notes |
pipeline_id required | string (uuid) | |
name required | string | Up to 60 characters. |
kind | one of: open, won, lost, account | Default "open". |
201 Created (PipelineStageAdmin)
| Field | Type | Notes |
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
| Field | Type | Notes |
name required | string | Up to 60 characters. |
channel required | one of: web, referral, event, outbound, social, email, phone, partner, ads, other | |
201 Created (LeadSourceAdmin)
| Field | Type | Notes |
id | string (uuid) | |
name | string | |
channel | string | |
companies | integer | |
GET /automations
Workflow automation rules, with the plan limit
200 Rules
| Field | Type | Notes |
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
| Field | Type | Notes |
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)
| Field | Type | Notes |
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
| Parameter | In | Type | Notes |
id required | path | string (uuid) | |
Request body
| Field | Type | Notes |
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)
| Field | Type | Notes |
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
| Parameter | In | Type | Notes |
id required | path | string (uuid) | |
204 Deleted
No body.
GET /workspace
Workspace profile and settings
200 OK (Workspace)
| Field | Type | Notes |
id | string (uuid) | |
slug | string | |
name | string | |
plan | string | |
settings | WorkspaceSettings | |
PATCH /workspace
Rename the workspace or change its settings (admins)
Request body
| Field | Type | Notes |
name | string | Up to 100 characters. |
settings | object | |
200 OK (Workspace)
| Field | Type | Notes |
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
| Parameter | In | Type | Notes |
months required | query | integer | |
200 OK
| Field | Type | Notes |
companies | integer | |
contacts | integer | |
capped | boolean | |
GET /pipelines
Pipelines with their stages and company counts
200 OK
| Field | Type | Notes |
data | array of Pipeline | |
POST /pipelines
Create a pipeline, optionally with initial stages
Request body
| Field | Type | Notes |
name required | string | Up to 80 characters. |
object | one of: company, deal | Default "company". |
stages | array of object | Default []. |
201 Created (Pipeline)
| Field | Type | Notes |
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
| Parameter | In | Type | Notes |
id required | path | string (uuid) | |
Request body
| Field | Type | Notes |
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)
| Field | Type | Notes |
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)
| Parameter | In | Type | Notes |
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)
| Parameter | In | Type | Notes |
id required | path | string (uuid) | |
Request body
| Field | Type | Notes |
name | string | Up to 60 characters. |
kind | one of: open, won, lost, account | |
probability | integer or null | 0–100. |
200 OK (PipelineStageAdmin)
| Field | Type | Notes |
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
| Parameter | In | Type | Notes |
id required | path | string (uuid) | |
move_to | query | string (uuid) | |
204 Deleted
No body.
PATCH /lead-sources/{id}
Rename a lead source
| Parameter | In | Type | Notes |
id required | path | string (uuid) | |
Request body
| Field | Type | Notes |
name | string | Up to 60 characters. |
channel | one of: web, referral, event, outbound, social, email, phone, partner, ads, other | |
200 OK (LeadSourceAdmin)
| Field | Type | Notes |
id | string (uuid) | |
name | string | |
channel | string | |
companies | integer | |
DELETE /lead-sources/{id}
Delete an unused lead source
| Parameter | In | Type | Notes |
id required | path | string (uuid) | |
204 Deleted
No body.
GET /custom-fields
Custom fields, in display order
| Parameter | In | Type | Notes |
object | query | one of: company, contact, deal | |
include_archived | query | one of: true, false | Default "false". |
200 Fields
| Field | Type | Notes |
data | array of CustomField | |
POST /custom-fields
Add a custom field
Request body
| Field | Type | Notes |
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)
| Field | Type | Notes |
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)
| Parameter | In | Type | Notes |
id required | path | string (uuid) | |
Request body
| Field | Type | Notes |
label | string | Up to 60 characters. |
options | array of string | |
position | integer | 0–1000. |
archived | boolean | |
200 Updated (CustomField)
| Field | Type | Notes |
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
| Parameter | In | Type | Notes |
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
| Field | Type | Notes |
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)
| Field | Type | Notes |
url | string | |
size | integer | |
file_name | string | |
POST /web-forms
Create a web-to-lead form; paste embed_html into your website
Request body
| Field | Type | Notes |
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)
| Field | Type | Notes |
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
| Field | Type | Notes |
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
| Field | Type | Notes |
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)
| Field | Type | Notes |
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)
| Parameter | In | Type | Notes |
id required | path | string (uuid) | |
Request body
| Field | Type | Notes |
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)
| Field | Type | Notes |
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
| Parameter | In | Type | Notes |
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)
| Parameter | In | Type | Notes |
id required | path | string (uuid) | |
Request body
| Field | Type | Notes |
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
| Field | Type | Notes |
user_id required | string (uuid) | |
204 Transferred
No body.
GET /invitations
Pending invitations
200 OK
| Field | Type | Notes |
data | array of Invitation | |
POST /invitations
Invite someone by email; they join with the chosen role when they accept
Request body
| Field | Type | Notes |
email required | string (email) | Up to 254 characters. |
role_id required | string (uuid) | |
201 Invited (Invitation)
| Field | Type | Notes |
id | string (uuid) | |
email | string | |
role | string | |
status | string | |
created_at | string | |
DELETE /invitations/{id}
Revoke a pending invitation
| Parameter | In | Type | Notes |
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
| Field | Type | Notes |
confirm_name required | string | The workspace name, typed again to confirm Up to 200 characters. |
reason | string | Up to 1000 characters. |
200 Closed
| Field | Type | Notes |
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
| Field | Type | Notes |
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
| Field | Type | Notes |
enabled required | boolean | |
owner_id | string (uuid) or null | |
source_id | string (uuid) or null | |
rotate | boolean | |
200 Lead address
| Field | Type | Notes |
enabled | boolean | |
address | string or null | |
owner_id | string (uuid) or null | |
source_id | string (uuid) or null | |
received_today | integer | |
daily_cap | integer | |
Billing
GET /referrals
The workspace's referral link, the workspaces it referred and the credit earned (admins)
200 Referral programme
| Field | Type | Notes |
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
| Field | Type | Notes |
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
| Field | Type | Notes |
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
| Field | Type | Notes |
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
| Field | Type | Notes |
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
| Field | Type | Notes |
interval | one of: month, year | Default "month". |
200 Checkout
| Field | Type | Notes |
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
| Field | Type | Notes |
tier required | one of: 100gb, 1tb | |
200 Checkout
| Field | Type | Notes |
url | string (uri) | |
POST /billing/drive/change
Change the Drive add-on size now (prorated). Going smaller needs the files to fit.
Request body
| Field | Type | Notes |
tier required | one of: 100gb, 1tb | |
200 Changed
| Field | Type | Notes |
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
| Field | Type | Notes |
cancel required | boolean | |
200 Done
| Field | Type | Notes |
cancel_at_period_end | boolean | |
POST /billing/portal
Open the Stripe Customer Portal: card, billing details, VAT number, invoices, cancel
200 Portal
| Field | Type | Notes |
url | string (uri) | |
Companies
GET /companies
List companies (leads and accounts)
| Parameter | In | Type | Notes |
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
| Field | Type | Notes |
data | array of Company | |
next_cursor | string or null | |
total | integer | |
POST /companies
Create a company
Request body (CompanyCreate)
| Field | Type | Notes |
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)
| Field | Type | Notes |
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
| Field | Type | Notes |
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
| Field | Type | Notes |
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
| Field | Type | Notes |
updated | integer | |
GET /companies/{id}
Get a company
| Parameter | In | Type | Notes |
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)
| Field | Type | Notes |
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
| Parameter | In | Type | Notes |
id required | path | string (uuid) | |
Request body (CompanyUpdate)
| Field | Type | Notes |
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)
| Field | Type | Notes |
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)
| Parameter | In | Type | Notes |
id required | path | string (uuid) | |
204 Deleted
No body.
GET /lookup/companies-house-status
Whether Companies House lookup is available here
200 Status
| Field | Type | Notes |
enabled | boolean | |
GET /lookup/companies-house
Search the UK Companies House register by name or company number
| Parameter | In | Type | Notes |
q required | query | string | |
200 Matches
| Field | Type | Notes |
data | array of object | |
GET /lookup/companies-house/{number}
A company's details from Companies House, ready to fill a company record
| Parameter | In | Type | Notes |
number required | path | string | |
200 Company
| Field | Type | Notes |
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
| Parameter | In | Type | Notes |
id required | path | string (uuid) | |
Request body
| Field | Type | Notes |
source_ids required | array of string (uuid) | |
200 Merged
| Field | Type | Notes |
merged | integer | |
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.
| Parameter | In | Type | Notes |
id required | path | string (uuid) | |
Request body
| Field | Type | Notes |
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)
| Field | Type | Notes |
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 | |
POST /contacts
Create a contact
Request body (ContactCreate)
| Field | Type | Notes |
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)
| Field | Type | Notes |
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
| Field | Type | Notes |
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
| Field | Type | Notes |
updated | integer | |
POST /contacts/{id}/restore
Restore a contact from the recycle bin
| Parameter | In | Type | Notes |
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
| Parameter | In | Type | Notes |
id required | path | string (uuid) | |
Request body
| Field | Type | Notes |
source_ids required | array of string (uuid) | |
200 Merged
| Field | Type | Notes |
merged | integer | |
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
| Field | Type | Notes |
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
| Parameter | In | Type | Notes |
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
| Field | Type | Notes |
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
| Field | Type | Notes |
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)
| Field | Type | Notes |
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)
| Parameter | In | Type | Notes |
id required | path | string (uuid) | |
Request body
| Field | Type | Notes |
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)
| Field | Type | Notes |
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)
| Parameter | In | Type | Notes |
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
| Field | Type | Notes |
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
| Field | Type | Notes |
file | DriveFile | |
upload_url | string (uri) | |
POST /drive/files/{id}/complete
Confirm an upload finished; the file then appears in its folder
| Parameter | In | Type | Notes |
id required | path | string (uuid) | |
200 OK (DriveFile)
| Field | Type | Notes |
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)
| Parameter | In | Type | Notes |
id required | path | string (uuid) | |
Request body
| Field | Type | Notes |
name | string | Up to 255 characters. |
folder_id | string (uuid) or null | |
200 OK (DriveFile)
| Field | Type | Notes |
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)
| Parameter | In | Type | Notes |
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)
| Parameter | In | Type | Notes |
id required | path | string (uuid) | |
200 OK
| Field | Type | Notes |
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)
| Parameter | In | Type | Notes |
id required | path | string (uuid) | |
Request body
| Field | Type | Notes |
content_type required | string | Up to 150 characters. |
size_bytes required | integer | |
201 Upload ready
| Field | Type | Notes |
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
| Parameter | In | Type | Notes |
id required | path | string (uuid) | |
vid required | path | string (uuid) | |
200 OK (DriveFile)
| Field | Type | Notes |
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
| Parameter | In | Type | Notes |
id required | path | string (uuid) | |
vid required | path | string (uuid) | |
200 OK (DriveFile)
| Field | Type | Notes |
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
| Parameter | In | Type | Notes |
id required | path | string (uuid) | |
vid required | path | string (uuid) | |
200 Link
| Field | Type | Notes |
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.
| Parameter | In | Type | Notes |
id required | path | string (uuid) | |
preview | query | one of: true, false | |
200 Link
| Field | Type | Notes |
url | string (uri) | |
preview | boolean | |
GET /drive/bin
What was deleted from a drive in the last 30 days
| Parameter | In | Type | Notes |
space | query | one of: company, personal | company = the Company Drive, personal = My Drive (private) Default "company". |
200 OK
| Field | Type | Notes |
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.
| Parameter | In | Type | Notes |
id required | path | string (uuid) | |
200 Restored
| Field | Type | Notes |
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)
| Parameter | In | Type | Notes |
id required | path | string (uuid) | |
204 Deleted
No body.
Integrations
GET /integrations/xero
Whether Xero can be connected, and the connection
200 Status (XeroStatus)
| Field | Type | Notes |
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
| Field | Type | Notes |
sales_account_code | string or null | Up to 20 characters. |
auto_invoice | boolean | |
200 Status (XeroStatus)
| Field | Type | Notes |
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
| Field | Type | Notes |
url | string | |
GET /integrations/xero/accounts
The connected organisation's revenue accounts (admins)
200 Accounts
| Field | Type | Notes |
data | array of object | |
POST /integrations/xero/sync
Check Xero now for paid invoices (this also happens daily)
200 Result
| Field | Type | Notes |
checked | integer | |
paid | integer | |
error | string | |
GET /integrations/calendar
Which calendars can be connected here, and which ones you have connected
200 Status
| Field | Type | Notes |
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
| Parameter | In | Type | Notes |
provider required | path | one of: microsoft, google | |
200 Sign-in URL
| Field | Type | Notes |
url | string | |
DELETE /integrations/calendar/{provider}
Disconnect a calendar (its tokens are deleted; events already created stay in your calendar)
| Parameter | In | Type | Notes |
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)
| Field | Type | Notes |
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
| Field | Type | Notes |
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
| Field | Type | Notes |
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)
| Parameter | In | Type | Notes |
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
| Field | Type | Notes |
data | array of Campaign | |
total | integer | |
POST /campaigns
Create a campaign (currency defaults to the workspace currency)
Request body
| Field | Type | Notes |
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)
| Field | Type | Notes |
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
| Parameter | In | Type | Notes |
id required | path | string (uuid) | |
200 Campaign (Campaign)
| Field | Type | Notes |
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
| Parameter | In | Type | Notes |
id required | path | string (uuid) | |
Request body
| Field | Type | Notes |
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)
| Field | Type | Notes |
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)
| Parameter | In | Type | Notes |
id required | path | string (uuid) | |
204 Deleted
No body.
GET /campaigns/{id}/spend
Spend lines, newest first
| Parameter | In | Type | Notes |
id required | path | string (uuid) | |
200 Spend
| Field | Type | Notes |
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
| Parameter | In | Type | Notes |
id required | path | string (uuid) | |
Request body
| Field | Type | Notes |
lines required | array of object | |
200 Saved
| Field | Type | Notes |
created | integer | |
updated | integer | |
DELETE /campaigns/{id}/spend/{spend_id}
Remove a spend line
| Parameter | In | Type | Notes |
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
| Parameter | In | Type | Notes |
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
| Field | Type | Notes |
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
| Field | Type | Notes |
touchpoints required | array of object | |
200 Recorded
| Field | Type | Notes |
created | integer | |
duplicates | integer | |
unmatched | array of integer | |
Marketplace
GET /marketplace
Plugins in the marketplace, featured first, with whether this workspace has each installed
| Parameter | In | Type | Notes |
category | query | string | |
q | query | string | |
200 Plugins
| Field | Type | Notes |
data | array of object | |
categories | array of object | |
GET /marketplace/{slug}
One plugin: listing, what it can access, price and whether it is installed
| Parameter | In | Type | Notes |
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
| Parameter | In | Type | Notes |
slug required | path | string | |
Request body
| Field | Type | Notes |
accept_scopes required | one of: true | |
accept_price | boolean | |
201 Installed
No body.
GET /installs
Plugins installed in this workspace
200 Installs
| Field | Type | Notes |
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
| Parameter | In | Type | Notes |
id required | path | string (uuid) | |
200 Link
| Field | Type | Notes |
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
| Parameter | In | Type | Notes |
id required | path | string (uuid) | |
Request body
| Field | Type | Notes |
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
| Parameter | In | Type | Notes |
id required | path | string (uuid) | |
204 Uninstalled
No body.
Privacy
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.
| Parameter | In | Type | Notes |
id required | path | string (uuid) | |
Request body
| Field | Type | Notes |
confirm required | one of: ERASE | |
200 Erased
| Field | Type | Notes |
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.
| Parameter | In | Type | Notes |
id required | path | string (uuid) | |
Request body
| Field | Type | Notes |
confirm required | one of: ERASE | |
200 Erased
| Field | Type | Notes |
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
| Field | Type | Notes |
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
| Parameter | In | Type | Notes |
id required | path | string (uuid) | |
Request body
| Field | Type | Notes |
reason required | string | Up to 500 characters. |
200 Overridden (Erasure)
| Field | Type | Notes |
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
| Parameter | In | Type | Notes |
status | query | one of: open, done, refused, all | Default "all". |
200 Requests
| Field | Type | Notes |
data | array of PrivacyRequest | |
POST /privacy/requests
Log a privacy request; it is due one calendar month after it was received
Request body
| Field | Type | Notes |
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)
| Field | Type | Notes |
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)
| Field | Type | Notes |
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
| Parameter | In | Type | Notes |
id required | path | string (uuid) | |
Request body
| Field | Type | Notes |
reason required | string | Up to 1000 characters. |
200 Request (PrivacyRequest)
| Field | Type | Notes |
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
| Parameter | In | Type | Notes |
id required | path | string (uuid) | |
Request body
| Field | Type | Notes |
status required | one of: done, refused | |
outcome required | string | Up to 4000 characters. |
200 Request (PrivacyRequest)
| Field | Type | Notes |
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
| Parameter | In | Type | Notes |
q | query | string | |
active | query | one of: true, false, all | Default "true". |
200 Products
| Field | Type | Notes |
data | array of Product | |
POST /products
Add a product or service to the price list (admins)
Request body
| Field | Type | Notes |
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)
| Field | Type | Notes |
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
| Parameter | In | Type | Notes |
id required | path | string (uuid) | |
Request body
| Field | Type | Notes |
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)
| Field | Type | Notes |
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
| Parameter | In | Type | Notes |
limit | query | integer | Default 25. |
cursor | query | string | |
deal_id | query | string (uuid) | |
status | query | one of: draft, sent, accepted, declined, void | |
200 Quotes
| Field | Type | Notes |
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
| Field | Type | Notes |
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)
| Field | Type | Notes |
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
| Parameter | In | Type | Notes |
id required | path | string (uuid) | |
200 Quote (Quote)
| Field | Type | Notes |
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
| Parameter | In | Type | Notes |
id required | path | string (uuid) | |
Request body
| Field | Type | Notes |
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)
| Field | Type | Notes |
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)
| Parameter | In | Type | Notes |
id required | path | string (uuid) | |
Request body
| Field | Type | Notes |
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)
| Field | Type | Notes |
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
| Parameter | In | Type | Notes |
id required | path | string (uuid) | |
200 Done (Quote)
| Field | Type | Notes |
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
| Parameter | In | Type | Notes |
id required | path | string (uuid) | |
200 Done (Quote)
| Field | Type | Notes |
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
| Parameter | In | Type | Notes |
id required | path | string (uuid) | |
Request body
| Field | Type | Notes |
name required | string | Who accepted, on the customer side Up to 200 characters. |
200 Accepted (Quote)
| Field | Type | Notes |
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
| Parameter | In | Type | Notes |
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
| Parameter | In | Type | Notes |
id required | path | string (uuid) | |
200 Events
| Field | Type | Notes |
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)
| Parameter | In | Type | Notes |
id required | path | string (uuid) | |
200 Invoice
| Field | Type | Notes |
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
| Field | Type | Notes |
data | array of object | |
GET /reports/summary
Pipeline overview: companies by stage, owner and source, leads added per month (12 months), task health
| Parameter | In | Type | Notes |
pipeline_id | query | string (uuid) | |
200 Summary
| Field | Type | Notes |
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)
| Parameter | In | Type | Notes |
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
| Field | Type | Notes |
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
| Field | Type | Notes |
data | array of object | |
POST /reports/run
Run a report definition without saving it
Request body (ReportDefinition)
| Field | Type | Notes |
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
| Field | Type | Notes |
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
| Field | Type | Notes |
data | array of SavedReport | |
POST /reports/saved
Save a report (admins can share it with the workspace)
Request body
| Field | Type | Notes |
name required | string | Up to 80 characters. |
definition required | ReportDefinition | |
shared | boolean | Default false. |
201 Saved (SavedReport)
| Field | Type | Notes |
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
| Parameter | In | Type | Notes |
id required | path | string (uuid) | |
Request body
| Field | Type | Notes |
name | string | Up to 80 characters. |
definition | ReportDefinition | |
shared | boolean | |
200 Saved (SavedReport)
| Field | Type | Notes |
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
| Parameter | In | Type | Notes |
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
| Field | Type | Notes |
definition required | ReportDefinition | |
keys required | array of string or null | |
200 Records
| Field | Type | Notes |
total | integer | |
records | array of object | |
PUT /reports/saved/{id}/pin
Pin a report to your Home page
| Parameter | In | Type | Notes |
id required | path | string (uuid) | |
204 Done
No body.
DELETE /reports/saved/{id}/pin
Unpin a report from your Home page
| Parameter | In | Type | Notes |
id required | path | string (uuid) | |
204 Done
No body.
GET /reports/saved/{id}/run
Run a saved report
| Parameter | In | Type | Notes |
id required | path | string (uuid) | |
200 Result
| Field | Type | Notes |
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
| Parameter | In | Type | Notes |
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.
Sequences
GET /sequences
List email sequences with their numbers
| Parameter | In | Type | Notes |
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
| Field | Type | Notes |
data | array of EmailSequence | |
POST /sequences
Create an email sequence
Request body
| Field | Type | Notes |
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)
| Field | Type | Notes |
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
| Parameter | In | Type | Notes |
id required | path | string (uuid) | |
200 Sequence (EmailSequence)
| Field | Type | Notes |
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.
| Parameter | In | Type | Notes |
id required | path | string (uuid) | |
Request body
| Field | Type | Notes |
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)
| Field | Type | Notes |
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.
| Parameter | In | Type | Notes |
id required | path | string (uuid) | |
Request body
| Field | Type | Notes |
contact_ids | array of string (uuid) | |
segment | SequenceSegment | |
dry_run | boolean | |
200 Results per contact
| Field | Type | Notes |
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)
| Parameter | In | Type | Notes |
id required | path | string (uuid) | |
status | query | one of: active, paused, completed, stopped | |
200 Enrolments
| Field | Type | Notes |
data | array of SequenceEnrolment | |
POST /enrolments/{id}/stop
Take someone out of a sequence
| Parameter | In | Type | Notes |
id required | path | string (uuid) | |
200 Updated (SequenceEnrolment)
| Field | Type | Notes |
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
| Parameter | In | Type | Notes |
id required | path | string (uuid) | |
200 Updated (SequenceEnrolment)
| Field | Type | Notes |
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
| Parameter | In | Type | Notes |
id required | path | string (uuid) | |
200 Updated (SequenceEnrolment)
| Field | Type | Notes |
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
| Field | Type | Notes |
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
| Field | Type | Notes |
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)
| Field | Type | Notes |
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 | |
Webhooks
GET /webhook-events
Events you can subscribe to, and the permission each needs
200 Events
| Field | Type | Notes |
data | array of object | |
GET /webhooks
Webhook subscriptions: all of them for admins, otherwise the ones you or your API key made
200 Subscriptions
| Field | Type | Notes |
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
| Field | Type | Notes |
url required | string | Up to 2000 characters. |
events required | array of string | |
description | string | Up to 200 characters. |
201 Subscribed (any)
| Field | Type | Notes |
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
| Parameter | In | Type | Notes |
id required | path | string (uuid) | |
204 Removed
No body.
GET /webhooks/{id}/deliveries
The last 50 deliveries of a webhook (admins)
| Parameter | In | Type | Notes |
id required | path | string (uuid) | |
200 Deliveries
| Field | Type | Notes |
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
| Field | Type | Notes |
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
| Field | Type | Notes |
workspace_name required | string | Up to 100 characters. |
acquisition | object | |
201 Workspace created
| Field | Type | Notes |
workspace_id | string (uuid) | |
slug | string | |
organization_id | string | |
GET /me
The signed-in user, workspace and permissions
200 Me (Me)
| Field | Type | Notes |
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
| Field | Type | Notes |
data | array of PipelineStage | |
GET /lead-sources
Lead sources
200 Sources
| Field | Type | Notes |
data | array of LeadSource | |
GET /members
Workspace members (for owner and assignee pickers)
200 Members
| Field | Type | Notes |
data | array of Member | |
GET /review-prompt
Whether to ask this admin for a review (once per workspace, after 30 active days)
200 Prompt
| Field | Type | Notes |
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
| Field | Type | Notes |
action required | one of: shown, dismissed, reviewed | |
204 Logged
No body.