Salesmotion/API Reference

API Reference

Account intelligence over REST. Resolve a company, pull signals, return a full account insight in a single call — built so AI agents and revenue tools can ship in an afternoon.

Base URLhttps://api.salesmotion.io

Introduction

The Salesmotion API exposes the same account intelligence that powers our app: tracked accounts and contacts, signals (relevant news, hiring, M&A, funding, earnings calls), a public company graph with news, jobs, filings, and earnings-call transcripts, and, with the Life Sciences pack, clinical trials, Trial Radar and company tags. Every endpoint is REST, returns JSON, and is versioned under /v1.

For LLM agents that need the full picture in one call, see GET /v1/account-insights — it resolves a company by name, domain, or ID and returns profile, summary, research, SWOT, and value all in one response.

Authentication

Every request is authenticated with a bearer token. Create keys in the Salesmotion app under Settings → Integrations → API; API access is included in the Enterprise plan. Keys are scoped to one organization; we recommend a separate key per integration.

Keys are read only unless you pick Read and write when you create one in Settings > Integrations > API. Read-and-write keys can also add and remove accounts in your workspace. Organization-owned service keys are always read only. API keys work only with the /v1 endpoints on this page.

bash
curl https://api.salesmotion.io/v1/accounts \
  -H "Authorization: Bearer $SALESMOTION_API_KEY"

To check a key, call GET /v1/me. It is not counted against your allowance and returns the organization (with hasApiAccess, hasFullWorkspaceAccess and hasLifeSciencesPack), the key's type and accessLevel (read_only or read_write) and, for personal keys, its user. A missing, malformed, invalid, expired or revoked key gets 401 with a message that says which, and a WWW-Authenticate: Bearer header.

Access Tiers

Three tiers gate the endpoints below. Your org has one or more of them, depending on plan.

Public API

Public company graph

Resolve a company, pull its public profile, news, job openings, earnings calls, and SEC filings. Available to all organizations including public-API-only plans.

Full Access

Workspace reads

Your tracked accounts, contacts, and signals — the same data that powers the Salesmotion app. Public-API-only orgs get empty lists or 404 on these routes.

Life Sciences

Clinical trials and company tags

Trials, Trial Radar and company tags, for organizations with the Life Sciences pack; others get 403. Company, trial and tag reads cover every company in the catalog. Trial Radar and account trials read your tracked accounts, so they also need Full Access.

Quickstart

Get a full account insight for a company in one call — perfect for agents that need to read the room before generating outreach or research notes.

resolve and read in one call
curl "https://api.salesmotion.io/v1/account-insights?domain=acme.com&sections=profile,summary,research" \
  -H "Authorization: Bearer $SALESMOTION_API_KEY"

Already know the account is in your workspace? Skip resolution and read it directly:

bash
curl "https://api.salesmotion.io/v1/accounts/12345?include=company,owner&signalsLimit=10" \
  -H "Authorization: Bearer $SALESMOTION_API_KEY"

Pagination and Counts

List routes take page (starting at 1) and perPage (default 20, maximum 100) and return meta.page, meta.perPage, meta.totalCount and meta.totalPages.

On contacts, signals, account sub-routes and company news, totalCount is exact up to 500 rows and on the last page. Above that it is an estimate, and meta.totalCountIsEstimate is true. To read everything, keep requesting pages until one comes back with fewer than perPage rows, rather than stopping at totalPages.

GET /v1/signals/counts counts each signal type exactly up to 500. A type with more reports 500 and is listed in meta.cappedCounts (with meta.countLimit: 500); accounts is always exact.

Keeping a Copy in Sync

To keep accounts, contacts and signals in your own database or CRM, poll for what changed since your last run. Polling is the supported way to sync. Each list route, and the account and account-list sub-routes, takes createdAfter and updatedAfter (inclusive ISO dates or timestamps; a timestamp without a timezone is read as UTC) and a keyset cursor, afterId.

  • Accounts and contacts: sortBy=updatedAt&sortOrder=asc&updatedAfter=…. updatedAt is when Salesmotion last wrote the row, created or updated.
  • Signals: sortBy=createdAt&sortOrder=asc&createdAfter=…. createdAt is when Salesmotion recorded the signal; afterDate and beforeDate filter the event date instead. Signals are almost never changed after they are recorded.
  • Paging: each page of these sorts carries meta.nextCursor, e.g. { "updatedAfter": "2026-11-18T09:12:44.120Z", "afterId": 204811 }. Pass both values on the next request, instead of page, until meta.nextCursor is null. Store the last cursor for the next run.
  • Overlap: start each run a few minutes before the stored cursor and upsert by id. A write can commit with a timestamp slightly older than rows you already read, and the overlap picks it up.
  • Removed records drop out of the lists. To reconcile removals, compare the IDs you hold with a full read now and then.
poll accounts changed since the last run
# First page: start a few minutes before the stored cursor
curl "https://api.salesmotion.io/v1/accounts?sortBy=updatedAt&sortOrder=asc&updatedAfter=2026-11-18T09:00:00Z&perPage=100&onlyWithFields=id,name,domain,type,updatedAt" \
  -H "Authorization: Bearer $SALESMOTION_API_KEY"

# Next page: copy meta.nextCursor into the query
curl "https://api.salesmotion.io/v1/accounts?sortBy=updatedAt&sortOrder=asc&updatedAfter=2026-11-18T09:12:44.120Z&afterId=204811&perPage=100&onlyWithFields=id,name,domain,type,updatedAt" \
  -H "Authorization: Bearer $SALESMOTION_API_KEY"

# Signals: the same, keyed on createdAt
curl "https://api.salesmotion.io/v1/signals?sortBy=createdAt&sortOrder=asc&createdAfter=2026-11-18T09:00:00Z&perPage=100&onlyWithFields=id,accountId,type,headline,date,createdAt" \
  -H "Authorization: Bearer $SALESMOTION_API_KEY"

afterId needs the matching ascending sort and bound; on its own it returns 400. The sync filters cannot be combined with textQuery on signals. Clinical trials sync on lastUpdatePostDateAfter (see Life Sciences below).

Life Sciences

Trials come from ClinicalTrials.gov and the EU Clinical Trials Register. Pick the route by the question you are asking:

Trials of any company, tracked or not/v1/companies/{companyId}/clinical-trials
Trials of one of your accounts/v1/accounts/{accountId}/clinical-trials
Trials across all your accounts, with counts per phase, status, area and modality/v1/trial-radar
Trials starting, or reaching primary completion, in the next 180 days/v1/trial-radar?lens=startingSoon | completingSoon
One trial with sites, contacts and every linked company/v1/clinical-trials/{trialId}
A trial by NCT ID or EU CT number/v1/clinical-trials/by-registry-id/{registryId}
What a company works on: therapeutic areas, modalities, lifecycle moments, topics/v1/companies/{companyId}/tags
Trial events on your accounts: trial started, phase transition, readout, site activation/v1/signals?type=clinical-trial&subtype=…

For a company you don't track, resolve it first, then read its trials:

trials of any company
curl "https://api.salesmotion.io/v1/companies/by-input/modernatx.com?onlyWithFields=id,name" \
  -H "Authorization: Bearer $SALESMOTION_API_KEY"

curl "https://api.salesmotion.io/v1/companies/{companyId}/clinical-trials?statuses=recruiting&perPage=50" \
  -H "Authorization: Bearer $SALESMOTION_API_KEY"
  • IDs. id is the Salesmotion trial ID. registry is clinicalTrialsGov or euCtis, and the registry ID is nctId or euCtNumber.
  • Roles. A trial links to companies as lead sponsor, collaborator, responsible party or facility (a trial site). Trial lists return lead sponsor and collaborator trials unless you set roles.
  • Dates. Each milestone has an actual and an estimated date. Use the actual one when present.
  • Sync. Store the highest lastUpdatePostDate you have read and pass it as lastUpdatePostDateAfter next time. Upsert by id.

Errors and Status Codes

Every error has the same JSON body. error.code is stable and safe to branch on; message and statusCode repeat the message and status at the top level, and validation errors also list each problem in errors.

400 unknown parameter
{
  "error": {
    "code": "unknown_parameter",
    "message": "Unknown parameter \"limit\". Did you mean \"perPage\"?",
    "param": "limit",
    "requestId": "8a3f6c2e-4b1d-4f7a-9c0e-2d5b7e1a9f30"
  },
  "message": "Unknown parameter \"limit\". Did you mean \"perPage\"?",
  "statusCode": 400
}

Every /v1 response, success or error, carries an X-Request-Id header. It equals meta.requestId or error.requestId, and the requestId of the call in GET /v1/usage/requests. Include it when you contact us.

400Invalid request. error.code is invalid_parameter (a bad value; param names it and allowedValues lists the valid ones), unknown_parameter (a parameter the route does not take; the message suggests a close match, e.g. limit → perPage) or invalid_request.
401unauthorized: the key is missing, malformed, invalid, expired or revoked; the message says which. The response carries WWW-Authenticate: Bearer realm="salesmotion".
403forbidden: API access is off for your organization, the route needs the Life Sciences pack, or a write needs a key with read and write access (checked before the body). account_disabled: the user or organization is disabled.
404not_found: no such record in your organization, or no such endpoint (unknown /v1 paths return this JSON too). Public-API-only organizations receive 404 on single-record Full Access routes.
413payload_too_large: the request body is too large.
422idempotency_conflict: an Idempotency-Key reused with a different body on POST /v1/accounts.
429rate_limited: the allowance for the window is used up. Wait for Retry-After seconds.
500internal_error: something failed on our side. Send us the requestId.
504timeout: the query ran too long. Narrow it with a filter such as accountId or a date, or a smaller perPage.

For account insights, every resolution outcome is a 200: check status for found, multiple_matches or not_found.

Rate Limits and Usage

Allowances are per organization and use rolling windows: the monthly allowance covers the last 30 days and the daily one the last 24 hours. Successful calls count; failed calls do not. Allowance returns a little at a time as old calls age out of the window, not all at once on a fixed date.

RateLimit-LimitCalls allowed in the 30-day window.
RateLimit-RemainingCalls left in the window.
RateLimit-ResetSeconds until the oldest counted call ages out.
Retry-AfterOn a 429: seconds to wait before retrying.
X-RateLimit-*The same limit and remaining values, with X-RateLimit-Reset as an ISO timestamp.

GET /v1/usage and GET /v1/me are not counted. GET /v1/usage reports the window as monthly with windowType: "rolling" and windowDays: 30, and quota.resetsAt is when the oldest counted call ages out. POST /v1/companies/resolve counts as one call for up to 25 inputs.

Dates and Times

Timestamps are UTC in ISO 8601 with a Z: createdAt, updatedAt, addedOn, lastRefreshAt, signal relevance.assessedOn, news datePublished and earnings-call happenedAt when it has a time.

Calendar days have no offset, so they read the same in every timezone: signal date (for hiring, SEC, funding and M&A signals a day stored at 00:00; read the date part), filingDate, reportDate, postedOn, trial dates, tag activity dates and visibleUntil.

Date filters accept an ISO date (2026-11-01) or a timestamp with a timezone. The sync filters createdAfter and updatedAfter also accept a timestamp without one, read as UTC, so you can send back an updatedAt you received.

Field Catalog

Most endpoints accept onlyWithFields to keep payloads small. The full list of fields per resource is below — heavy generated fields like transcripts, filing bodies, and AI insights are opt-in.

Account fields▾
id, organizationId, companyId, ownerId, createdAt, updatedAt, name, domain, logoUrl, featuredImageUrl, description, industry, headquartersLocation, numberOfEmployees, type, priority, mainScore, mainScoreComponents, summary, insights, swotAnalysis, threeWhys, valuePyramid, valueProposition, valueHypothesis, pointOfView, linkedInUrl, crunchbaseUrl, zoomInfoUrl, salesforceUrl, hubspotUrl, salesNavigatorUrl, addedOn, lastRefreshAt, countryCode, employeeCountDetails ({ value, basis, qualifier }, the same shape as the company employeeCountDisplay). Default order: newest first (id descending); with textQuery, best match first.
Contact fields▾
id, organizationId, accountId, firstName, lastName, currentTitle, currentCompanyName, changeType, inCurrentRoleSince, lastChangeDetectedOn, mainScore, linkedInUrl, email, emailStatus, phone, location, previousTitle, previousCompanyName, profilePictureUrl, type, contactRole, personInsights, talkingPoints, positionWhenFormerUser, introPaths, matchingTargetKeywords, matchingTargetJobTitles, matchingTargetLocations, matchingTargetTechnologies, createdAt, updatedAt
Signal fields▾
id, organizationId, accountId, type, subtype, headline, description, date, sources, matchingKeywords, relevance, fullContent, smartSummary, playUrls, slidesUrls, documentsUrls, clinicalTrialPrimaryCompletionDate, clinicalTrialStudyCompletionDate, clinicalTrialLastKnownStatus, clinicalTrialCollaborators, clinicalTrialId, configuredSignalId, createdAt, updatedAt
Company fields▾
id, name, domain, websiteUrl, description, industry, headquartersLocation, numberOfEmployees, employeeCountDisplay (the headcount shown in the app: { value, basis, qualifier }), employeeCountAlternatives (other current counts from official filings, same shape), mainStockSymbol, crunchbaseUrl, linkedInUrl, fiscalYearInfo, insights (opt-in)
News article fields▾
id, companyId, headline, url, datePublished, description, excerpt, publisher, publisherUrl, featuredImageUrl, articleBody (opt-in)
Job opening fields▾
id, companyId, status, url, title, companyName, location, postedOn, applicants, seniorityLevel, employmentType, jobFunction, industries, jobDescription (opt-in)
Earnings call fields▾
id, companyId, stockSymbol, year, quarter, happenedAt, audioUrl, reportUrl, presentationUrl, callType, title, sourceUrl, artifacts, fullTranscript (opt-in), generatedAnalysis (opt-in)
Filing fields▾
id, companyId, type, accessionNumber, url, filingDate, reportDate, fiscalYear, quarter, fullContent (opt-in)
Clinical trial fields▾
id, registry, nctId, euCtNumber, url, briefTitle, officialTitle (opt-in), briefSummary (opt-in), detailedDescription (opt-in), studyType, phases, lastKnownStatus, whyStopped (opt-in), leadSponsor, collaborators, firstPostedDate (opt-in), registryStartDate (opt-in), actualStartDate, estimatedStartDate, actualPrimaryCompletionDate, estimatedPrimaryCompletionDate, actualStudyCompletionDate, estimatedStudyCompletionDate, resultsFirstPostedDate (opt-in), lastUpdatePostDate, estimatedEnrollment, actualEnrollment, conditions, indications, keywords (opt-in), interventions (opt-in), therapeuticAreas, modalities, designInfo (opt-in), eligibility (opt-in), pointOfContact (opt-in), locations (opt-in), siteRegions, createdAt (opt-in), updatedAt (opt-in). Opt-in applies to trial lists; a single trial returns every field.
Company tag fields▾
id, companyId, definitionKey, categoryKey, value, label, activityStartedOn, activityLastSupportedOn, visibleUntil, evidenceCount

Changelog and Versioning

Version 1 grows by addition: new routes, parameters, fields and headers. We don't remove or rename fields, parameters or routes in /v1, so ignore fields you don't know. Changes in behaviour, such as a clearer status code, and anything that needs action from you are announced in the API changelog before or when they ship.

Account Insights

Single-call account intelligence for AI agents — resolves a company by name, domain, or ID and returns the full insight in a compact structure.

GET/v1/account-insightsFull Access

Get Account Insight

Resolve and return a full account insight in a single call. Built for AI agents that need the complete picture (profile, research, SWOT, value) in one request.

Resolution order: accountId (direct lookup) → domain (exact match) → query (domain check, then text search). All resolution outcomes return HTTP 200; only `400` is returned for missing query parameters. `profile.companyId` links to /v1/companies/{companyId} and its news, jobs, earnings calls and filings. Public API-only organizations always receive `status=not_found` on this route. At least one of query, domain, or accountId is required.

Parameters

accountId
number
Direct account ID lookup. Takes priority over domain and query.
domain
string
Exact domain match. Normalized: leading www/subdomains stripped, lowercased. Prefer this when you have a domain.
query
string
Free-text company name search. Case-insensitive. Values that look like a domain are tried as exact domain first.
sections
string
Comma-separated sections to include: profile, summary, research, swotAnalysis, value. Profile is always included.
include
string
Comma-separated opt-in for related resources: contacts, signals. Every included contact and signal carries its id, for /v1/contacts/{contactId} and /v1/signals/{signalId}.
signalsLimit
number
Max signals when included (default 20, max 100).
contactsLimit
number
Max contacts when included (default 10, max 100).

Responses

200Check the `status` field: `found` (data present), `multiple_matches` (candidates present), or `not_found`.
400No query parameters provided — at least one of query, domain, or accountId is required.

Example request

curl
curl -X GET "https://api.salesmotion.io/v1/account-insights?domain=acme.com&sections=profile,summary,research&include=signals" \
  -H "Authorization: Bearer $SALESMOTION_API_KEY"

Response — 200

ts
{
  status: string
  message?: string
  data?: {
    profile: { accountId, companyId?, name?, domain?, logoUrl?, description?, headquartersLocation?, industry?, numberOfEmployees?, score?, type?, priority?, countryCode?, addedOn?, lastRefreshAt?, owner?, links? }
    summary?: { keyInsights?, opportunities?, challenges?, peopleUpdates?, topNews?, talkingPoints?, executivePerspective? }
    research?: { companyOverview?, keyPeopleChanges?, keyProjects?, aspirations?, businessGoals?, opportunities?, macroeconomicPerspective?, recentPressAnnouncements?, businessModel?, strategicInitiatives?, financials? }
    swotAnalysis?: { strengths?, weaknesses?, opportunities?, threats? }
    value?: { threeWhys?, valuePyramid?, valuePropositionIdeas?, valueHypothesis?, pointOfView? }
  }
  candidates?: [{ accountId: number, name?: string, domain?: string }]
  bestMatch?: { accountId: number, name?: string, domain?: string }
  included?: object
  meta: {
    requestId: string
    apiVersion: string
    timestamp: string
  }
  usage: {
    limit: number
    used: number
    remaining: number
    resetsAt: string
  }
}

Accounts

Tracked Salesmotion accounts for the current organization. Reading needs any API key; adding and removing need a key with read and write access.

GET/v1/accountsFull Access

List Accounts

Return tracked Salesmotion accounts for the current organization. Public API-only orgs always receive an empty list.

Supports filtering by owner, type, priority, signal activity, and free-text search. Use `include=company,owner` to embed related resources. Without sortBy, newest accounts come first (id descending); with textQuery, best match first. For incremental sync, see Keeping a Copy in Sync.

Parameters

view
default, export
—
perPage
integer
Results per page (default 20, maximum 100).
page
integer
Page number, starting at 1.
sortOrder
asc, desc
Sort direction (default: desc).
sortBy
id, name, domain, createdAt, updatedAt, type, priority, mainScore, addedOn, lastRefreshAt, numberOfEmployees, industry, countryCode, ownerId
Account field to sort by. Default: newest first (by id, descending); with textQuery, best match first.
onlyWithFields
string
Comma-separated account fields to select (e.g. id,name,domain).
include
string
Supported: company, owner.
updatedAfter
string
ISO date or timestamp, inclusive: only accounts created or updated at or after this time. For sync, sort by updatedAt ascending and follow meta.nextCursor. A timestamp without a timezone is read as UTC.
createdAfter
string
ISO date or timestamp, inclusive: only accounts created at or after this time.
afterId
number
Keyset continuation: with sortBy=updatedAt (or createdAt) and sortOrder=asc, returns rows after (updatedAfter, afterId). Copy both from meta.nextCursor of the previous page instead of using page.
hasSignalsOfType
string
Combined with hasSignalsAfterDate — only count signals of this type (comma-separated).
hasSignalsAfterDate
string
ISO date — only accounts with at least one signal after this date.
priority
1, 2, 3
Filter by priority (1=high, 2=medium, 3=low).
type
customer, prospect, churned, partner, open-opportunity, competitor, other
Filter by account type.
ownerId
string
Filter by account owner user ID.
companyId
string
Filter by linked company ID.
domain
string
Exact domain match (e.g. acme.com).
textQuery
string
Case-insensitive search on account name or domain.
ids
string
Comma-separated account IDs.

Responses

200Account list payload.

Example request

curl
curl -X GET "https://api.salesmotion.io/v1/accounts?sortBy=updatedAt&sortOrder=asc&updatedAfter=2026-11-01T00:00:00Z&onlyWithFields=id,name,domain,updatedAt" \
  -H "Authorization: Bearer $SALESMOTION_API_KEY"

Response — 200

ts
{
  data: [{
  id: number
  organizationId: string
  companyId?: string
  ownerId?: string
  createdAt: string
  updatedAt: string
  name?: string
  domain?: string
  logoUrl?: string
  featuredImageUrl?: string
  description?: string
  industry?: string
  headquartersLocation?: string
  numberOfEmployees?: number
  type: string
  priority?: number
  mainScore?: number
  mainScoreComponents?: object
  summary?: object
  insights?: object
  swotAnalysis?: object
  threeWhys?: object
  valuePyramid?: object
  valueProposition?: object
  valueHypothesis?: object
  pointOfView?: object
  linkedInUrl?: string
  crunchbaseUrl?: string
  zoomInfoUrl?: string
  salesforceUrl?: string
  hubspotUrl?: string
  salesNavigatorUrl?: string
  addedOn?: string
  lastRefreshAt?: string
  countryCode?: string
}]
  included?: object
  meta: {
    requestId: string
    apiVersion: string
    timestamp: string
    page: number
    perPage: number
    totalCount: number
    totalPages: number
    totalCountIsEstimate?: boolean
    nextCursor?: { updatedAfter | createdAfter: string, afterId: number } | null
  }
  usage: {
    limit: number
    used: number
    remaining: number
    resetsAt: string
  }
}
GET/v1/accounts/{accountId}Full Access

Get Account

Return one tracked Salesmotion account. Public API-only orgs always receive 404.

Use `include` and `signalsLimit`/`contactsLimit` to embed related resources without a second round-trip.

Parameters

accountIdrequired
number
—
view
default, export
—
onlyWithFields
string
Comma-separated account fields to select.
signalsLimit
number
—
contactsLimit
number
—
include
string
—

Responses

200Account payload with optional included resources.
404Account not found. Public API-only organizations always receive 404.

Example request

curl
curl -X GET "https://api.salesmotion.io/v1/accounts/12345?include=company,owner&signalsLimit=10" \
  -H "Authorization: Bearer $SALESMOTION_API_KEY"

Response — 200

ts
{
  data: {
  id: number
  organizationId: string
  companyId?: string
  ownerId?: string
  createdAt: string
  updatedAt: string
  name?: string
  domain?: string
  logoUrl?: string
  featuredImageUrl?: string
  description?: string
  industry?: string
  headquartersLocation?: string
  numberOfEmployees?: number
  type: string
  priority?: number
  mainScore?: number
  mainScoreComponents?: object
  summary?: object
  insights?: object
  swotAnalysis?: object
  threeWhys?: object
  valuePyramid?: object
  valueProposition?: object
  valueHypothesis?: object
  pointOfView?: object
  linkedInUrl?: string
  crunchbaseUrl?: string
  zoomInfoUrl?: string
  salesforceUrl?: string
  hubspotUrl?: string
  salesNavigatorUrl?: string
  addedOn?: string
  lastRefreshAt?: string
  countryCode?: string
}
  included?: object
  meta: {
    requestId: string
    apiVersion: string
    timestamp: string
  }
  usage: {
    limit: number
    used: number
    remaining: number
    resetsAt: string
  }
}
POST/v1/accountsFull Access

Add Accounts

Add up to 25 companies as accounts in your workspace and queue them for research.

Each `input` is a website domain, website URL, LinkedIn company URL, Crunchbase URL or company name. Accounts are always added to the organization of the API key. Results come back per input, in request order: `added` (new account, research usually ready within minutes), `existing` (already an account, nothing is re-run; a removed account is restored), `needs_review` (several companies match, see `candidates`, retry with the domain) or `failed` (see `code`: `invalid_input`, `account_limit_reached`, `could_not_add`). Inputs must be unique. Your plan's account limit applies. Requires a personal API key created with **Read and write** access in Settings > Integrations > API; read-only and service-account keys get 403, checked before the body. Send an `Idempotency-Key` header to make retries safe.

Headers

Idempotency-Key
string
1-255 printable characters, e.g. a UUID. A retry with the same key and body within 24 hours returns the original response with `Idempotent-Replayed: true` instead of adding again. The same key with a different body returns 422 with error code `idempotency_conflict`. Keys are scoped to your organization and API key. A replay keeps the original body except `meta.requestId`, which names the retry. A response in which any input has status `failed` is not stored, so a retry with the same key runs again.

Responses

200One result per input.
400Invalid body: 1-25 unique inputs, no other fields.
403Read-only or service-account key, adding accounts not allowed for your role, or workspace inactive.
422idempotency_conflict: Idempotency-Key already used with a different request body.

Example request

curl
curl -X POST "https://api.salesmotion.io/v1/accounts" \
  -H "Authorization: Bearer $SALESMOTION_API_KEY" \
  -H "Idempotency-Key: 3f1c2b9e-7d4a-4c1e-9b8f-2a6d5e0c1f7a" \
  -H "Content-Type: application/json" \
  -d '{"accounts": [{"input": "acme.com"}, {"input": "Globex", "companyName": "Globex Corporation"}]}'

Request body

json
{"accounts": [{"input": "acme.com"}, {"input": "Globex", "companyName": "Globex Corporation"}]}

Response — 200

ts
{
  data: {
    results: [{
      input: string
      status: "added" | "existing" | "needs_review" | "failed"
      accountId?: number
      code?: "invalid_input" | "account_limit_reached" | "could_not_add"
      message?: string
      candidates?: [{ name, domain, websiteUrl, linkedInUrl }]
    }]
  }
  meta: {
    requestId: string
    apiVersion: string
    timestamp: string
  }
}
DELETE/v1/accounts/{accountId}Full Access

Remove Account

Remove an account from your workspace, the same as Remove in the app.

The account is hidden from your workspace and can be restored by adding the company again. Removing an account that is already removed returns `already_removed`. Only accounts in the organization of the API key can be removed. Requires a personal API key created with **Read and write** access.

Parameters

accountIdrequired
number
—

Responses

200Account removed.
403Read-only or service-account key, or workspace inactive.
404No account with this ID in your organization.

Example request

curl
curl -X DELETE "https://api.salesmotion.io/v1/accounts/12345" \
  -H "Authorization: Bearer $SALESMOTION_API_KEY"

Response — 200

ts
{
  data: { accountId: number, status: "removed" | "already_removed" }
  meta: {
    requestId: string
    apiVersion: string
    timestamp: string
  }
}

Actions

Push accounts and contacts to your CRM and send contacts to lemlist, the same as the buttons in the app. All three need a personal API key created with **Read and write** access in Settings > Integrations > API; read-only and service-account keys get 403, checked before the body. Each call counts as one API call.

POST/v1/accounts/{accountId}/crmFull Access

Push Account to CRM

Push a tracked account to the connected CRM (HubSpot or Salesforce), the same as Add to CRM in the app.

Uses whichever CRM your workspace has connected. A matching CRM record (same domain) is linked instead of duplicated, and a repeat call returns `already_added` without changing anything. No request body.

Parameters

accountIdrequired
number
—

Responses

200Pushed, linked or already in the CRM.
403Read-only or service-account key.
404No account with this ID in your organization.
409crm_not_connected: no CRM is connected.
422crm_add_disabled (an admin has not switched on Add to CRM) or crm_rejected (the CRM refused the record; `message` says why).

Example request

curl
curl -X POST "https://api.salesmotion.io/v1/accounts/12345/crm" \
  -H "Authorization: Bearer $SALESMOTION_API_KEY"

Response — 200

ts
{
  data: {
    accountId: number
    provider: "hubspot" | "salesforce"
    status: "created" | "linked" | "already_added"
    recordId?: string
    recordUrl?: string
  }
  meta: {
    requestId: string
    apiVersion: string
    timestamp: string
  }
}
POST/v1/contacts/{contactId}/crmFull Access

Push Contact to CRM

Push a tracked contact to the connected CRM. HubSpot: a contact associated with its company. Salesforce: a Contact on the linked Account, or a Lead when the account is not in Salesforce.

Set `enrich: true` to also start the email and phone lookup, as in the app; it uses enrichment credits. A repeat call returns `already_added`.

Parameters

contactIdrequired
string
—

Responses

200Pushed, linked or already in the CRM.
403Read-only or service-account key.
404No contact with this ID in your organization.
409crm_not_connected.
422crm_add_disabled or crm_rejected.

Example request

curl
curl -X POST "https://api.salesmotion.io/v1/contacts/4567890/crm" \
  -H "Authorization: Bearer $SALESMOTION_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"enrich": false}'

Request body

json
{"enrich": false}

Response — 200

ts
{
  data: {
    contactId: string
    provider: "hubspot" | "salesforce"
    recordType: "Contact" | "Lead"
    status: "created" | "linked" | "already_added"
    recordId?: string
    recordUrl?: string
    enrichmentRequested: boolean
  }
  meta: {
    requestId: string
    apiVersion: string
    timestamp: string
  }
}
POST/v1/contacts/{contactId}/lemlistFull Access

Send Contact to lemlist

Send a tracked contact to your lemlist campaign, the same as Send to lemlist in the app.

Without `messages`, sends the draft the key's user wrote for this contact in the Prospector. With `messages` (one per campaign step, in order: email steps take `body` and, where the step writes its own subject, `subject`; LinkedIn steps take `note`; no `{{ }}` variables), replaces that draft's copy or creates one, then sends. `sequenceId` (the lemlist campaign ID) is needed only when several campaigns are switched on. A repeat call returns `already_sent`. To get a campaign's steps, send `messages: [{}]` and read `steps` from the 422 `invalid_messages` answer.

Parameters

contactIdrequired
string
—

Responses

200Send result.
403Read-only or service-account key.
404No contact with this ID in your organization.
409lemlist_not_connected, no_lemlist_sequence, no_sequence_draft (no draft and no `messages`) or conflict (being sent right now).
422sequencer_not_enabled, sequence_required (see `sequences`), invalid_messages (see `steps`) or send_refused.

Example request

curl
curl -X POST "https://api.salesmotion.io/v1/contacts/4567890/lemlist" \
  -H "Authorization: Bearer $SALESMOTION_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"sequenceId": "cam_jzBkcGcwgPyaPGJuv", "messages": [{"subject": "Your new site in Basel", "body": "Hi Anna..."}, {"note": "Saw your news about Basel"}]}'

Request body

json
{"sequenceId": "cam_jzBkcGcwgPyaPGJuv", "messages": [{"subject": "Your new site in Basel", "body": "Hi Anna..."}, {"note": "Saw your news about Basel"}]}

Response — 200

ts
{
  data: {
    contactId: string
    sequenceId: string
    sequenceName: string
    draftId: number
    status: "sent" | "sent_not_started" | "awaiting_email" | "skipped" | "failed" | "already_sent"
    reason?: string
  }
  meta: {
    requestId: string
    apiVersion: string
    timestamp: string
  }
}

Workspace

Who a key belongs to and what it can use, and the account lists you can see. Account lists are read-only.

GET/v1/me

Get the Key's Identity

Your organization and what it can use, the API key you authenticated with (type and access level) and, for personal keys, its user.

Not counted against your allowance. Answers 200 even when API access is turned off for your organization (`organization.hasApiAccess: false`), so an integration can show a helpful message; an invalid, expired or revoked key gets 401. Use it to check a key before you start, and to decide which features to show: `hasFullWorkspaceAccess` for workspace reads, `hasLifeSciencesPack` for the Life Sciences routes, `accessLevel` for adding and removing accounts.

Responses

200Identity of the credential.
401Missing, invalid, expired or revoked API key.

Example request

curl
curl -X GET "https://api.salesmotion.io/v1/me" \
  -H "Authorization: Bearer $SALESMOTION_API_KEY"

Response — 200

ts
{
  data: {
    organization: { id, name, hasApiAccess, hasFullWorkspaceAccess, hasLifeSciencesPack }
    apiKey?: { id, name?, type: "personal" | "service", accessLevel: "read_only" | "read_write" }
    user?: { id, name?, email? }
  }
  meta: {
    requestId: string
    apiVersion: string
    timestamp: string
  }
}
GET/v1/account-listsFull Access

List Account Lists

The account lists you can see, newest first.

A personal API key sees the lists shared with the organization plus its user's own lists and the lists assigned to that user; a service key sees shared lists only. System lists such as "My Added Accounts" are not included. Public API-only organizations always receive an empty list.

Parameters

perPage
integer
Results per page (default 20, maximum 100).
page
integer
Page number, starting at 1.

Responses

200Account lists.

Example request

curl
curl -X GET "https://api.salesmotion.io/v1/account-lists?perPage=20&page=1" \
  -H "Authorization: Bearer $SALESMOTION_API_KEY"

Response — 200

ts
{
  data: [{
    id: number
    name: string
    isShared: boolean
    ownerId: string
    createdAt: string
    updatedAt: string
  }]
  meta: {
    requestId: string
    apiVersion: string
    timestamp: string
    page: number
    perPage: number
    totalCount: number
    totalPages: number
    totalCountIsEstimate?: boolean
  }
  usage: {
    limit: number
    used: number
    remaining: number
    resetsAt: string
  }
}
GET/v1/account-lists/{listId}/accountsFull Access

List the Accounts in a List

The accounts in one list you can see, with the same fields, onlyWithFields, include, sorting, paging and sync parameters as /v1/accounts.

A list you cannot see returns 404.

Parameters

listIdrequired
number
Account list ID from /v1/account-lists.
view
default, export
—
perPage
integer
Results per page (default 20, maximum 100).
page
integer
Page number, starting at 1.
sortOrder
asc, desc
—
sortBy
id, name, domain, createdAt, updatedAt, type, priority, mainScore, addedOn, lastRefreshAt, numberOfEmployees, industry, countryCode, ownerId
—
updatedAfter
string
ISO date or timestamp, inclusive: only accounts created or updated at or after this time. For sync, sort by updatedAt ascending and follow meta.nextCursor. A timestamp without a timezone is read as UTC.
createdAfter
string
ISO date or timestamp, inclusive: only accounts created at or after this time.
afterId
number
Keyset continuation: with sortBy=updatedAt (or createdAt) and sortOrder=asc, returns rows after (updatedAfter, afterId). Copy both from meta.nextCursor of the previous page instead of using page.
onlyWithFields
string
Comma-separated account fields to select.
include
string
Supported: company, owner.

Responses

200Account list payload.
404No account list with this ID that you can see.

Example request

curl
curl -X GET "https://api.salesmotion.io/v1/account-lists/42/accounts?onlyWithFields=id,name,domain&perPage=100" \
  -H "Authorization: Bearer $SALESMOTION_API_KEY"

Response — 200

ts
{
  data: [{
  id: number
  organizationId: string
  companyId?: string
  ownerId?: string
  createdAt: string
  updatedAt: string
  name?: string
  domain?: string
  logoUrl?: string
  featuredImageUrl?: string
  description?: string
  industry?: string
  headquartersLocation?: string
  numberOfEmployees?: number
  type: string
  priority?: number
  mainScore?: number
  mainScoreComponents?: object
  summary?: object
  insights?: object
  swotAnalysis?: object
  threeWhys?: object
  valuePyramid?: object
  valueProposition?: object
  valueHypothesis?: object
  pointOfView?: object
  linkedInUrl?: string
  crunchbaseUrl?: string
  zoomInfoUrl?: string
  salesforceUrl?: string
  hubspotUrl?: string
  salesNavigatorUrl?: string
  addedOn?: string
  lastRefreshAt?: string
  countryCode?: string
}]
  included?: object
  meta: {
    requestId: string
    apiVersion: string
    timestamp: string
    page: number
    perPage: number
    totalCount: number
    totalPages: number
    totalCountIsEstimate?: boolean
    nextCursor?: { updatedAfter | createdAfter: string, afterId: number } | null
  }
  usage: {
    limit: number
    used: number
    remaining: number
    resetsAt: string
  }
}

Contacts

Contacts linked to tracked accounts in the current organization.

GET/v1/contactsFull Access

List Contacts

Return contacts linked to tracked accounts. Public API-only orgs always receive an empty list.

Filter by change type, role recency, account, or full-text search. Use `include=account` to embed the parent account. Only contacts of active accounts are listed, so every listed contact can be read by ID. For incremental sync, see Keeping a Copy in Sync.

Parameters

perPage
integer
Results per page (default 20, maximum 100).
page
integer
Page number, starting at 1.
sortOrder
asc, desc
Sort direction (default: desc).
sortBy
id, firstName, lastName, currentTitle, currentCompanyName, changeType, inCurrentRoleSince, lastChangeDetectedOn, mainScore, type, email, emailStatus, location, accountId, createdAt, updatedAt
Contact field to sort by (default: inCurrentRoleSince).
onlyWithFields
string
Comma-separated contact fields to select.
include
string
Supported: account.
updatedAfter
string
ISO date or timestamp, inclusive: only contacts created or updated at or after this time. For sync, sort by updatedAt ascending and follow meta.nextCursor. A timestamp without a timezone is read as UTC.
createdAfter
string
ISO date or timestamp, inclusive: only contacts created at or after this time.
afterId
number
Keyset continuation: with sortBy=updatedAt (or createdAt) and sortOrder=asc, returns rows after (updatedAfter, afterId). Copy both from meta.nextCursor of the previous page instead of using page.
isInCurrentRoleBeforeDate
string
ISO date — contacts in current role before this date.
isInCurrentRoleAfterDate
string
ISO date — contacts in current role after this date.
lastChangeDetectedBefore
string
ISO date — only contacts with changes before this date.
lastChangeDetectedAfter
string
ISO date — only contacts with changes after this date.
currentTitleTextQuery
string
Title-specific search.
textQuery
string
Full-text search on name, title, company, location. A first and last name ("Jane Doe") matches the first word on first name and the last word on last name.
type
champion
Filter by contact type.
changeType
newInRole, promotion, internalChange, newJoiner, departure
Filter by change type.
accountId
string
Filter by account ID (comma-separated for multiple).

Responses

200Contact list payload.

Example request

curl
curl -X GET "https://api.salesmotion.io/v1/contacts?sortBy=updatedAt&sortOrder=asc&updatedAfter=2026-11-01T00:00:00Z&onlyWithFields=id,firstName,lastName,currentTitle,updatedAt" \
  -H "Authorization: Bearer $SALESMOTION_API_KEY"

Response — 200

ts
{
  data: [{
  id: string
  organizationId: string
  accountId?: number
  firstName?: string
  lastName?: string
  currentTitle?: string
  currentCompanyName?: string
  changeType?: string
  inCurrentRoleSince?: string
  lastChangeDetectedOn?: string
  mainScore?: number
  linkedInUrl?: string
  email?: string
  emailStatus?: string
  phone?: string
  location?: string
  previousTitle?: string
  previousCompanyName?: string
  profilePictureUrl?: string
  type?: string
  contactRole?: string
  personInsights?: object
  talkingPoints?: object
  positionWhenFormerUser?: object
  introPaths?: string[]
  matchingTargetKeywords?: string[]
  matchingTargetJobTitles?: string[]
  matchingTargetLocations?: string[]
  matchingTargetTechnologies?: string[]
  createdAt?: string
  updatedAt?: string
}]
  meta: {
    requestId: string
    apiVersion: string
    timestamp: string
    page: number
    perPage: number
    totalCount: number
    totalPages: number
    totalCountIsEstimate?: boolean
    nextCursor?: { updatedAfter | createdAfter: string, afterId: number } | null
  }
  usage: {
    limit: number
    used: number
    remaining: number
    resetsAt: string
  }
}
GET/v1/accounts/{accountId}/contactsFull Access

List an Account's Contacts

The contacts of one account: the same as /v1/contacts?accountId={accountId}, with the same filters, sorting, paging and sync parameters.

Returns 404 when the account is not in your organization. Public API-only organizations always receive 404.

Parameters

accountIdrequired
number
Account ID from /v1/accounts.
perPage
integer
Results per page (default 20, maximum 100).
page
integer
Page number, starting at 1.
sortOrder
asc, desc
—
sortBy
id, firstName, lastName, currentTitle, currentCompanyName, changeType, inCurrentRoleSince, lastChangeDetectedOn, mainScore, type, email, emailStatus, location, accountId, createdAt, updatedAt
Default: inCurrentRoleSince.
onlyWithFields
string
Comma-separated contact fields to select.
include
account
—
updatedAfter
string
ISO date or timestamp, inclusive: only contacts created or updated at or after this time. For sync, sort by updatedAt ascending and follow meta.nextCursor. A timestamp without a timezone is read as UTC.
createdAfter
string
ISO date or timestamp, inclusive: only contacts created at or after this time.
afterId
number
Keyset continuation: with sortBy=updatedAt (or createdAt) and sortOrder=asc, returns rows after (updatedAfter, afterId). Copy both from meta.nextCursor of the previous page instead of using page.
isInCurrentRoleBeforeDate
string
ISO date — contacts in current role before this date.
isInCurrentRoleAfterDate
string
ISO date — contacts in current role after this date.
lastChangeDetectedBefore
string
ISO date — only contacts with changes before this date.
lastChangeDetectedAfter
string
ISO date — only contacts with changes after this date.
currentTitleTextQuery
string
Title-specific search.
textQuery
string
Full-text search on name, title, company, location. A first and last name ("Jane Doe") matches the first word on first name and the last word on last name.
type
champion
Filter by contact type.
changeType
newInRole, promotion, internalChange, newJoiner, departure
Filter by change type.

Responses

200Contact list payload.
404Account not found.

Example request

curl
curl -X GET "https://api.salesmotion.io/v1/accounts/12345/contacts?changeType=promotion&perPage=50" \
  -H "Authorization: Bearer $SALESMOTION_API_KEY"

Response — 200

ts
{
  data: [{
  id: string
  organizationId: string
  accountId?: number
  firstName?: string
  lastName?: string
  currentTitle?: string
  currentCompanyName?: string
  changeType?: string
  inCurrentRoleSince?: string
  lastChangeDetectedOn?: string
  mainScore?: number
  linkedInUrl?: string
  email?: string
  emailStatus?: string
  phone?: string
  location?: string
  previousTitle?: string
  previousCompanyName?: string
  profilePictureUrl?: string
  type?: string
  contactRole?: string
  personInsights?: object
  talkingPoints?: object
  positionWhenFormerUser?: object
  introPaths?: string[]
  matchingTargetKeywords?: string[]
  matchingTargetJobTitles?: string[]
  matchingTargetLocations?: string[]
  matchingTargetTechnologies?: string[]
  createdAt?: string
  updatedAt?: string
}]
  meta: {
    requestId: string
    apiVersion: string
    timestamp: string
    page: number
    perPage: number
    totalCount: number
    totalPages: number
    totalCountIsEstimate?: boolean
    nextCursor?: { updatedAfter | createdAfter: string, afterId: number } | null
  }
  usage: {
    limit: number
    used: number
    remaining: number
    resetsAt: string
  }
}
GET/v1/contacts/{contactId}Full Access

Get Contact

Return one tracked contact. Public API-only orgs always receive 404.

Parameters

contactIdrequired
number
Contact ID: a positive integer. Anything else returns 400.
onlyWithFields
string
Comma-separated contact fields to select.
include
string
Supported: account.

Responses

200Contact payload.
400contactId is not a positive integer.
404Contact not found. Public API-only organizations always receive 404.

Example request

curl
curl -X GET "https://api.salesmotion.io/v1/contacts/4567890?include=account" \
  -H "Authorization: Bearer $SALESMOTION_API_KEY"

Response — 200

ts
{
  data: {
  id: string
  organizationId: string
  accountId?: number
  firstName?: string
  lastName?: string
  currentTitle?: string
  currentCompanyName?: string
  changeType?: string
  inCurrentRoleSince?: string
  lastChangeDetectedOn?: string
  mainScore?: number
  linkedInUrl?: string
  email?: string
  emailStatus?: string
  phone?: string
  location?: string
  previousTitle?: string
  previousCompanyName?: string
  profilePictureUrl?: string
  type?: string
  contactRole?: string
  personInsights?: object
  talkingPoints?: object
  positionWhenFormerUser?: object
  introPaths?: string[]
  matchingTargetKeywords?: string[]
  matchingTargetJobTitles?: string[]
  matchingTargetLocations?: string[]
  matchingTargetTechnologies?: string[]
  createdAt?: string
  updatedAt?: string
}
  meta: {
    requestId: string
    apiVersion: string
    timestamp: string
  }
  usage: {
    limit: number
    used: number
    remaining: number
    resetsAt: string
  }
}

Signals

Signals (relevant news, hiring, M&A, funding, earnings calls, and more) linked to tracked accounts.

GET/v1/signalsFull Access

List Signals

Return signals linked to tracked accounts. Public API-only orgs always receive an empty list.

Filter by type, account, or event-date window. Use `textQuery` for full-text search across signal content. Only signals of active accounts are listed. `afterDate` and `beforeDate` filter the event date; `createdAfter` filters when Salesmotion recorded the signal, which is the one to use for incremental sync (see Keeping a Copy in Sync).

Parameters

perPage
integer
Results per page (default 20, maximum 100).
page
integer
Page number, starting at 1.
sortOrder
asc, desc
Sort direction (default: desc).
sortBy
id, date, type, subtype, headline, createdAt, updatedAt, accountId
Signal field to sort by (default: date).
onlyWithFields
string
Comma-separated signal fields to select (e.g. id,type,headline,date). clinicalTrialId links a clinical-trial signal to /v1/clinical-trials/{trialId}; configuredSignalId names the signal configuration that produced it.
createdAfter
string
ISO date or timestamp, inclusive: only signals Salesmotion recorded at or after this time. The recommended way to sync signals, with sortBy=createdAt&sortOrder=asc. Unlike afterDate (the event date), this is when the signal was recorded. Cannot be combined with textQuery.
updatedAfter
string
ISO date or timestamp, inclusive: only signals last written at or after this time. For signal sync, use createdAfter (recommended). Cannot be combined with textQuery.
afterId
number
Keyset continuation: with sortBy=createdAt (or updatedAt) and sortOrder=asc, returns rows after (createdAfter, afterId). Copy both from meta.nextCursor of the previous page instead of using page.
textQuery
string
Full-text search on signal content.
beforeDate
string
ISO date — only signals whose event date is on or before this date.
afterDate
string
ISO date — only signals whose event date is on or after this date. Some documents carry future event dates.
type
string
Filter by signal type (comma-separated, e.g. relevant-news,hiring-alert,press-release,m-and-a-alert,funding-alert,earnings-call,clinical-trial).
subtype
string
Filter by signal subtype (comma-separated). Life Sciences clinical-trial signals use trial-started, phase-transition, trial-readout and site-activation. Cannot be combined with textQuery.
accountId
string
Filter by account ID (comma-separated for multiple).

Responses

200Signal list payload.

Example request

curl
curl -X GET "https://api.salesmotion.io/v1/signals?sortBy=createdAt&sortOrder=asc&createdAfter=2026-11-01T00:00:00Z&onlyWithFields=id,accountId,type,headline,date,createdAt" \
  -H "Authorization: Bearer $SALESMOTION_API_KEY"

Response — 200

ts
{
  data: [{
  id: number
  organizationId: string
  accountId: number
  type: string
  subtype?: string
  headline: string
  description?: string
  date: string
  sources?: string[]
  matchingKeywords?: string[]
  relevance?: object
  fullContent?: string
  smartSummary?: object
  playUrls?: object
  slidesUrls?: string[]
  documentsUrls?: string[]
  clinicalTrialPrimaryCompletionDate?: string
  clinicalTrialStudyCompletionDate?: string
  clinicalTrialLastKnownStatus?: string
  clinicalTrialCollaborators?: string[]
  clinicalTrialId?: number
  configuredSignalId?: number
  createdAt: string
  updatedAt: string
}]
  meta: {
    requestId: string
    apiVersion: string
    timestamp: string
    page: number
    perPage: number
    totalCount: number
    totalPages: number
    totalCountIsEstimate?: boolean
    nextCursor?: { updatedAfter | createdAfter: string, afterId: number } | null
  }
  usage: {
    limit: number
    used: number
    remaining: number
    resetsAt: string
  }
}
GET/v1/accounts/{accountId}/signalsFull Access

List an Account's Signals

The signals of one account: the same as /v1/signals?accountId={accountId}, with the same filters, sorting, paging and sync parameters.

Returns 404 when the account is not in your organization. Public API-only organizations always receive 404.

Parameters

accountIdrequired
number
Account ID from /v1/accounts.
perPage
integer
Results per page (default 20, maximum 100).
page
integer
Page number, starting at 1.
sortOrder
asc, desc
—
sortBy
id, date, type, subtype, headline, createdAt, updatedAt, accountId
Default: date.
onlyWithFields
string
Comma-separated signal fields to select.
createdAfter
string
ISO date or timestamp, inclusive: only signals Salesmotion recorded at or after this time. The recommended way to sync signals, with sortBy=createdAt&sortOrder=asc. Unlike afterDate (the event date), this is when the signal was recorded. Cannot be combined with textQuery.
updatedAfter
string
ISO date or timestamp, inclusive: only signals last written at or after this time. For signal sync, use createdAfter (recommended). Cannot be combined with textQuery.
afterId
number
Keyset continuation: with sortBy=createdAt (or updatedAt) and sortOrder=asc, returns rows after (createdAfter, afterId). Copy both from meta.nextCursor of the previous page instead of using page.
textQuery
string
Full-text search on signal content.
beforeDate
string
ISO date — only signals whose event date is on or before this date.
afterDate
string
ISO date — only signals whose event date is on or after this date. Some documents carry future event dates.
type
string
Filter by signal type (comma-separated, e.g. relevant-news,hiring-alert,press-release,m-and-a-alert,funding-alert,earnings-call,clinical-trial).
subtype
string
Filter by signal subtype (comma-separated). Life Sciences clinical-trial signals use trial-started, phase-transition, trial-readout and site-activation. Cannot be combined with textQuery.

Responses

200Signal list payload.
404Account not found.

Example request

curl
curl -X GET "https://api.salesmotion.io/v1/accounts/12345/signals?type=earnings-call,funding-alert&afterDate=2026-10-01" \
  -H "Authorization: Bearer $SALESMOTION_API_KEY"

Response — 200

ts
{
  data: [{
  id: number
  organizationId: string
  accountId: number
  type: string
  subtype?: string
  headline: string
  description?: string
  date: string
  sources?: string[]
  matchingKeywords?: string[]
  relevance?: object
  fullContent?: string
  smartSummary?: object
  playUrls?: object
  slidesUrls?: string[]
  documentsUrls?: string[]
  clinicalTrialPrimaryCompletionDate?: string
  clinicalTrialStudyCompletionDate?: string
  clinicalTrialLastKnownStatus?: string
  clinicalTrialCollaborators?: string[]
  clinicalTrialId?: number
  configuredSignalId?: number
  createdAt: string
  updatedAt: string
}]
  meta: {
    requestId: string
    apiVersion: string
    timestamp: string
    page: number
    perPage: number
    totalCount: number
    totalPages: number
    totalCountIsEstimate?: boolean
    nextCursor?: { updatedAfter | createdAfter: string, afterId: number } | null
  }
  usage: {
    limit: number
    used: number
    remaining: number
    resetsAt: string
  }
}
GET/v1/signals/countsFull Access

Get Signal Counts

Return signal aggregates for tracked accounts. Public API-only orgs always receive an empty object.

Useful for dashboard tiles and digest emails — get totals by type without paging through individual signals. `all` counts every type and `accounts` the distinct accounts with signals. Each type is counted exactly up to 500 (`meta.countLimit`); a type with more reports 500 and is listed in `meta.cappedCounts`, together with `all`. `accounts` is always exact.

Parameters

textQuery
string
Full-text search filter.
beforeDate
string
ISO date — only count signals before this date.
afterDate
string
ISO date — only count signals after this date.
accountId
string
Filter by account ID (comma-separated).

Responses

200Signal counts by type.

Example request

curl
curl -X GET "https://api.salesmotion.io/v1/signals/counts?afterDate=2026-10-01&accountId=12345" \
  -H "Authorization: Bearer $SALESMOTION_API_KEY"

Response — 200

ts
{
  data: object
  meta: {
    requestId: string
    apiVersion: string
    timestamp: string
    countLimit?: number
    cappedCounts?: string[]
  }
  usage: {
    limit: number
    used: number
    remaining: number
    resetsAt: string
  }
}
GET/v1/signals/{signalId}Full Access

Get Signal

Return one tracked signal. Public API-only orgs always receive 404.

Parameters

signalIdrequired
number
—
onlyWithFields
string
Comma-separated signal fields to select.

Responses

200Signal payload.
404Signal not found. Public API-only organizations always receive 404.

Example request

curl
curl -X GET "https://api.salesmotion.io/v1/signals/98765?onlyWithFields=id,type,headline,date,sources" \
  -H "Authorization: Bearer $SALESMOTION_API_KEY"

Response — 200

ts
{
  data: {
  id: number
  organizationId: string
  accountId: number
  type: string
  subtype?: string
  headline: string
  description?: string
  date: string
  sources?: string[]
  matchingKeywords?: string[]
  relevance?: object
  fullContent?: string
  smartSummary?: object
  playUrls?: object
  slidesUrls?: string[]
  documentsUrls?: string[]
  clinicalTrialPrimaryCompletionDate?: string
  clinicalTrialStudyCompletionDate?: string
  clinicalTrialLastKnownStatus?: string
  clinicalTrialCollaborators?: string[]
  clinicalTrialId?: number
  configuredSignalId?: number
  createdAt: string
  updatedAt: string
}
  meta: {
    requestId: string
    apiVersion: string
    timestamp: string
  }
  usage: {
    limit: number
    used: number
    remaining: number
    resetsAt: string
  }
}

Companies (Public)

Public company profile and sub-resources. Resolve a company first with `/v1/companies/resolve` (any input, including names, one or up to 25 at a time) or `/v1/companies/by-input/{companyInputId}`, then use the returned company `id` here.

GET/v1/companies/resolvePublic API

Resolve a Company Input

Resolve a domain, website URL, LinkedIn or Crunchbase company URL, stock symbol, company ID or company name to a Salesmotion company.

The input is a query parameter, so URLs need no path encoding. Names are matched against your workspace accounts first, then against known companies. `status` is `found`, `not_found` or `multiple_matches` (with up to 10 candidates); `accountId` is set when the company is one of your accounts. Read-only: nothing is added to your workspace. Counts as one call.

Parameters

inputrequired
string
Domain, URL, stock symbol, company ID or company name.

Responses

200Resolution result.

Example request

curl
curl -X GET "https://api.salesmotion.io/v1/companies/resolve?input=https%3A%2F%2Fwww.acme.com%2Fabout" \
  -H "Authorization: Bearer $SALESMOTION_API_KEY"

Response — 200

ts
{
  data: {
  input: string
  status: "found" | "not_found" | "multiple_matches"
  company?: { id, name?, domain?, websiteUrl?, description?, industry?, headquartersLocation?, numberOfEmployees?, mainStockSymbol?, crunchbaseUrl?, linkedInUrl?, fiscalYearInfo? }
  accountId?: number
  candidates?: [{ id, name?, domain?, linkedInUrl?, accountId? }]
  message?: string
}
  meta: {
    requestId: string
    apiVersion: string
    timestamp: string
  }
  usage: {
    limit: number
    used: number
    remaining: number
    resetsAt: string
  }
}
POST/v1/companies/resolvePublic API

Resolve up to 25 Company Inputs

Resolve 1-25 inputs in one request, the same way as GET /v1/companies/resolve, with one result per input in request order.

Read-only: nothing is added to your workspace. Counts as one call, whatever the number of inputs. To add the companies as accounts, send the same inputs to POST /v1/accounts.

Responses

200One result per input.
400Invalid body: 1-25 inputs, no other fields.

Example request

curl
curl -X POST "https://api.salesmotion.io/v1/companies/resolve" \
  -H "Authorization: Bearer $SALESMOTION_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"inputs": ["acme.com", "https://www.linkedin.com/company/globex", "Initech"]}'

Request body

json
{"inputs": ["acme.com", "https://www.linkedin.com/company/globex", "Initech"]}

Response — 200

ts
{
  data: {
    results: [{
    input: string
    status: "found" | "not_found" | "multiple_matches"
    company?: { id, name?, domain?, websiteUrl?, description?, industry?, headquartersLocation?, numberOfEmployees?, mainStockSymbol?, crunchbaseUrl?, linkedInUrl?, fiscalYearInfo? }
    accountId?: number
    candidates?: [{ id, name?, domain?, linkedInUrl?, accountId? }]
    message?: string
  }]
  }
  meta: {
    requestId: string
    apiVersion: string
    timestamp: string
  }
  usage: {
    limit: number
    used: number
    remaining: number
    resetsAt: string
  }
}
GET/v1/companies/by-input/{companyInputId}Public API

Resolve Company

Resolve a company by canonical ID, domain, website URL, stock symbol, LinkedIn URL, or Crunchbase URL.

This is the entry point for the public company API. The returned `data.id` is the canonical companyId used by every sub-resource endpoint.

Parameters

companyInputIdrequired
string
—
view
default, export
—
onlyWithFields
string
Comma-separated company fields to select. Generated fields remain opt-in.
include
string
Supported: latestEarningsCall, latestEarningsCallAnalysis.

Responses

200Resolved public company profile.
404Company not found for the provided input.

Example request

curl
curl -X GET "https://api.salesmotion.io/v1/companies/by-input/acme.com?onlyWithFields=id,name,domain" \
  -H "Authorization: Bearer $SALESMOTION_API_KEY"

Response — 200

ts
{
  data: {
  id: string
  name?: string
  domain?: string
  websiteUrl?: string
  description?: string
  industry?: string
  headquartersLocation?: string
  numberOfEmployees?: number
  mainStockSymbol?: string
  crunchbaseUrl?: string
  linkedInUrl?: string
  fiscalYearInfo?: object
  insights?: object
}
  included?: object
  meta: {
    requestId: string
    apiVersion: string
    timestamp: string
  }
  usage: {
    limit: number
    used: number
    remaining: number
    resetsAt: string
  }
}
GET/v1/companies/{companyId}Public API

Get Company

Read the public company profile by canonical ID.

Default responses return the public profile; generated fields like `insights` are opt-in via `onlyWithFields`.

Parameters

companyIdrequired
string
—
view
default, export
—
onlyWithFields
string
Comma-separated company fields to select (e.g. id,name,domain,insights).
include
string
Supported: latestEarningsCall, latestEarningsCallAnalysis.

Responses

200Public company profile payload.
404Company not found.

Example request

curl
curl -X GET "https://api.salesmotion.io/v1/companies/cOWCt7iJhT9r5D1VWBox?include=latestEarningsCall" \
  -H "Authorization: Bearer $SALESMOTION_API_KEY"

Response — 200

ts
{
  data: {
  id: string
  name?: string
  domain?: string
  websiteUrl?: string
  description?: string
  industry?: string
  headquartersLocation?: string
  numberOfEmployees?: number
  mainStockSymbol?: string
  crunchbaseUrl?: string
  linkedInUrl?: string
  fiscalYearInfo?: object
  insights?: object
}
  included?: object
  meta: {
    requestId: string
    apiVersion: string
    timestamp: string
  }
  usage: {
    limit: number
    used: number
    remaining: number
    resetsAt: string
  }
}
GET/v1/companies/{companyId}/news-articlesPublic API

List Company News

Return news articles for a company. Heavy raw text is opt-in via `onlyWithFields=articleBody`.

Newest first. Filter by publication date with `afterDate`/`beforeDate` and by text with `textQuery`. Above 500 matching articles, `totalCount` is an estimate (`meta.totalCountIsEstimate`).

Parameters

companyIdrequired
string
—
view
default, export
—
afterDate
string
ISO date — published on or after this date.
beforeDate
string
ISO date — published on or before this date.
textQuery
string
Case-insensitive text in the headline or description.
perPage
number
—
page
number
—
onlyWithFields
string
Comma-separated news article fields. Raw text is opt-in.

Responses

200News article list payload.
404Company not found.

Example request

curl
curl -X GET "https://api.salesmotion.io/v1/companies/cOWCt7iJhT9r5D1VWBox/news-articles?afterDate=2026-10-01&textQuery=acquisition" \
  -H "Authorization: Bearer $SALESMOTION_API_KEY"

Response — 200

ts
{
  data: [{
    id: string
    companyId?: string
    headline?: string
    url?: string
    datePublished?: string
    description?: string
    excerpt?: string
    publisher?: string
    publisherUrl?: string
    featuredImageUrl?: string
    articleBody?: string
  }]
  meta: {
    requestId: string
    apiVersion: string
    timestamp: string
    page: number
    perPage: number
    totalCount: number
    totalPages: number
    totalCountIsEstimate?: boolean
  }
  usage: {
    limit: number
    used: number
    remaining: number
    resetsAt: string
  }
}
GET/v1/companies/{companyId}/job-openingsPublic API

List Company Job Openings

Return job openings for a company. Full descriptions are opt-in via `onlyWithFields=jobDescription`.

Parameters

companyIdrequired
string
—
view
default, export
—
perPage
number
—
page
number
—
onlyWithFields
string
Comma-separated job opening fields. Full description text is opt-in.

Responses

200Job opening list payload.
404Company not found.

Example request

curl
curl -X GET "https://api.salesmotion.io/v1/companies/cOWCt7iJhT9r5D1VWBox/job-openings?perPage=20&page=1" \
  -H "Authorization: Bearer $SALESMOTION_API_KEY"

Response — 200

ts
{
  data: [{
    id: string
    companyId?: string
    status?: string
    url: string
    title?: string
    companyName?: string
    location?: string
    postedOn: string
    applicants?: string
    seniorityLevel?: string
    employmentType?: string
    jobFunction?: string
    industries?: string
    jobDescription?: string
  }]
  meta: {
    requestId: string
    apiVersion: string
    timestamp: string
    page: number
    perPage: number
    totalCount: number
    totalPages: number
    totalCountIsEstimate?: boolean
  }
  usage: {
    limit: number
    used: number
    remaining: number
    resetsAt: string
  }
}
GET/v1/companies/{companyId}/earnings-callsPublic API

List Earnings Calls

Return earnings-call events for a company. Transcripts and AI analysis are opt-in.

Parameters

companyIdrequired
string
—
view
default, export
—
perPage
number
—
page
number
—
onlyWithFields
string
Raw transcript text and generated analysis are opt-in.

Responses

200Earnings call list payload.
404Company not found.

Example request

curl
curl -X GET "https://api.salesmotion.io/v1/companies/cOWCt7iJhT9r5D1VWBox/earnings-calls?perPage=20&page=1" \
  -H "Authorization: Bearer $SALESMOTION_API_KEY"

Response — 200

ts
{
  data: [{
    id: number
    companyId?: string
    stockSymbol?: string
    year?: number
    quarter?: number
    happenedAt?: string
    audioUrl?: string
    reportUrl?: string
    presentationUrl?: string
    fullTranscript?: string
    transcriptCompleteness?: string
    generatedAnalysis?: object
  }]
  meta: {
    requestId: string
    apiVersion: string
    timestamp: string
    page: number
    perPage: number
    totalCount: number
    totalPages: number
    totalCountIsEstimate?: boolean
  }
  usage: {
    limit: number
    used: number
    remaining: number
    resetsAt: string
  }
}
GET/v1/companies/{companyId}/filingsPublic API

List Filings

Return SEC filings for a company. Full filing text is opt-in via `onlyWithFields=fullContent`.

Parameters

companyIdrequired
string
—
view
default, export
—
perPage
number
—
page
number
—
onlyWithFields
string
Full filing text is opt-in.

Responses

200Filing list payload.
404Company not found.

Example request

curl
curl -X GET "https://api.salesmotion.io/v1/companies/cOWCt7iJhT9r5D1VWBox/filings?perPage=20&page=1" \
  -H "Authorization: Bearer $SALESMOTION_API_KEY"

Response — 200

ts
{
  data: [{
    id: number
    companyId?: string
    type?: string
    accessionNumber?: string
    url?: string
    filingDate?: string
    reportDate?: string
    fiscalYear?: number
    quarter?: number
    fullContent?: string
  }]
  meta: {
    requestId: string
    apiVersion: string
    timestamp: string
    page: number
    perPage: number
    totalCount: number
    totalPages: number
    totalCountIsEstimate?: boolean
  }
  usage: {
    limit: number
    used: number
    remaining: number
    resetsAt: string
  }
}

Life Sciences

Clinical trials from ClinicalTrials.gov and the EU Clinical Trials Register, Trial Radar across your accounts, and company tags (therapeutic area, modality, lifecycle moment, topic, organization type). These routes need the Life Sciences pack; without it they return 403. Company, trial and tag reads cover every company in the catalog. Trial Radar and account trials read your tracked accounts, so they also need Full Access.

GET/v1/trial-radarLife SciencesFull Access

Get Trial Radar

Clinical trials that the companies behind your tracked accounts sponsor or collaborate on, each with its account. Public API-only orgs receive an empty page.

One row per trial. If several of your accounts are on a trial, the row goes to the lead sponsor when you track it. `meta.facets` maps each phase, status, therapeutic area and modality to its trial count (values with no trials are left out); each facet applies every filter except its own. Without a lens or sortBy, rows sort by highest phase, then largest enrollment.

Parameters

lens
startingSoon, completingSoon
startingSoon: not yet recruiting, with an estimated start in the next 180 days. completingSoon: recruiting, active or enrolling by invitation, with an estimated primary completion in the next 180 days. Rows sort by that date, soonest first.
phases
string
Comma-separated: notAvailable, earlyPhase1, phase1, phase2, phase3, phase4.
statuses
string
Comma-separated: activeNotRecruiting, completed, enrollingByInvitation, notYetRecruiting, recruiting, suspended, terminated, withdrawn, available, noLongerAvailable, temporarilyNotAvailable, approvedForMarketing, withheld, unknown.
therapeuticAreas
string
Comma-separated: cardiovascular, dermatology, endocrinology, gastroenterology, hematology, immunology, infectiousDiseases, nephrology, neurology, oncology, ophthalmology, psychiatry, rareDiseases, respiratory, rheumatology, womensHealth.
modalities
string
Comma-separated: smallMolecules, largeMoleculesBiologics, cellTherapies, geneTherapies, rnaTherapies, vaccines, radiopharmaceuticals.
accountId
number
Only the trials of this account.
textQuery
string
Matches trial titles, registry IDs and account names.
sortBy
phase, enrollment, startDate, completionDate, lastUpdate
startDate, completionDate and enrollment use the actual value, else the estimated one.
sortOrder
asc, desc
Defaults to desc when sortBy is set.
page
number
Page number, starting at 1.
perPage
number
Results per page (default 20, maximum 100).

Responses

200Trial Radar rows with facet counts.
403API access is disabled, or the organization does not have the Life Sciences pack.

Example request

curl
curl -X GET "https://api.salesmotion.io/v1/trial-radar?lens=completingSoon&phases=phase2%2Cphase3" \
  -H "Authorization: Bearer $SALESMOTION_API_KEY"

Response — 200

ts
{
  data: [{
    trial: {
      id, registry, nctId?, euCtNumber?, url?, briefTitle,
      phases?, lastKnownStatus, therapeuticAreas?, modalities?,
      estimatedEnrollment?, actualEnrollment?,
      actualStartDate?, estimatedStartDate?,
      actualPrimaryCompletionDate?, estimatedPrimaryCompletionDate?,
      lastUpdatePostDate
    }
    account: { id, name?, domain?, logoUrl? }
    companyId: string
  }]
  meta: {
    requestId: string
    apiVersion: string
    timestamp: string
    page: number
    perPage: number
    totalCount: number
    totalPages: number
    facets: { phases, statuses, therapeuticAreas, modalities }
  }
  usage: {
    limit: number
    used: number
    remaining: number
    resetsAt: string
  }
}
GET/v1/accounts/{accountId}/clinical-trialsLife SciencesFull Access

List an Account's Clinical Trials

Clinical trials linked to the account's company: the same list as the company route. Public API-only orgs always receive 404.

Each row carries `companyRoles`, the roles the company holds on the trial.

Parameters

accountIdrequired
number
Account ID from /v1/accounts.
roles
string
Comma-separated company roles on the trial: leadSponsor, collaborator, responsibleParty, facility. Defaults to leadSponsor,collaborator. Setting it replaces the default, so ask for every role you want (e.g. leadSponsor,collaborator,facility to include trials where the company is a site).
statuses
string
Comma-separated trial statuses: activeNotRecruiting, completed, enrollingByInvitation, notYetRecruiting, recruiting, suspended, terminated, withdrawn, available, noLongerAvailable, temporarilyNotAvailable, approvedForMarketing, withheld, unknown.
lastUpdatePostDateAfter
string
ISO date. Only trials the registry updated on or after this date, for incremental sync.
onlyWithFields
string
Comma-separated trial fields. Long texts, eligibility, designInfo, pointOfContact and locations are opt-in on lists (see the field catalog).
sortBy
lastUpdatePostDate, id
Defaults to lastUpdatePostDate (the registry update date).
sortOrder
asc, desc
Defaults to desc.
page
number
Page number, starting at 1.
perPage
number
Results per page (default 20, maximum 100).

Responses

200Clinical trial list payload.
403API access is disabled, or the organization does not have the Life Sciences pack.
404Account not found. Public API-only organizations always receive 404.

Example request

curl
curl -X GET "https://api.salesmotion.io/v1/accounts/12345/clinical-trials?roles=leadSponsor%2Ccollaborator&statuses=recruiting%2CactiveNotRecruiting" \
  -H "Authorization: Bearer $SALESMOTION_API_KEY"

Response — 200

ts
{
  data: [{
  id: number
  registry: string
  nctId?: string
  euCtNumber?: string
  url?: string
  briefTitle: string
  officialTitle?: string
  briefSummary?: string
  detailedDescription?: string
  studyType?: string
  phases?: string[]
  lastKnownStatus: string
  whyStopped?: string
  leadSponsor?: string
  collaborators?: string[]
  firstPostedDate?: { date, precision, type }
  registryStartDate?: { date, precision, type }
  actualStartDate?: string
  estimatedStartDate?: string
  actualPrimaryCompletionDate?: string
  estimatedPrimaryCompletionDate?: string
  actualStudyCompletionDate?: string
  estimatedStudyCompletionDate?: string
  resultsFirstPostedDate?: string
  lastUpdatePostDate: string
  estimatedEnrollment?: number
  actualEnrollment?: number
  conditions?: string[]
  indications?: string[]
  keywords?: string[]
  interventions?: [{ name, type? }]
  therapeuticAreas?: string[]
  modalities?: string[]
  designInfo?: object
  eligibility?: object
  pointOfContact?: { title?, organization?, email?, phone?, phoneExt? }
  locations?: [{ facility, status, city, state?, zip?, country, contacts }]
  siteRegions?: string[]
  createdAt?: string
  updatedAt?: string
  companyRoles: string[]
}]
  meta: {
    requestId: string
    apiVersion: string
    timestamp: string
    page: number
    perPage: number
    totalCount: number
    totalPages: number
    totalCountIsEstimate?: boolean
  }
  usage: {
    limit: number
    used: number
    remaining: number
    resetsAt: string
  }
}
GET/v1/companies/{companyId}/clinical-trialsLife Sciences

List a Company's Clinical Trials

Clinical trials linked to any company in the catalog. Resolve the company first with /v1/companies/by-input/{companyInputId}.

Trials come from ClinicalTrials.gov and the EU Clinical Trials Register: `registry` names the source and `nctId` or `euCtNumber` its ID. Each row carries `companyRoles`, the roles the company holds on the trial. Sorted by registry update date, newest first. To keep a copy in sync, store the highest `lastUpdatePostDate` you have read and pass it as `lastUpdatePostDateAfter` next time; the filter includes that date, so upsert rows by `id`.

Parameters

companyIdrequired
string
Company ID from /v1/companies/by-input/{companyInputId}.
roles
string
Comma-separated company roles on the trial: leadSponsor, collaborator, responsibleParty, facility. Defaults to leadSponsor,collaborator. Setting it replaces the default, so ask for every role you want (e.g. leadSponsor,collaborator,facility to include trials where the company is a site).
statuses
string
Comma-separated trial statuses: activeNotRecruiting, completed, enrollingByInvitation, notYetRecruiting, recruiting, suspended, terminated, withdrawn, available, noLongerAvailable, temporarilyNotAvailable, approvedForMarketing, withheld, unknown.
lastUpdatePostDateAfter
string
ISO date. Only trials the registry updated on or after this date, for incremental sync.
onlyWithFields
string
Comma-separated trial fields. Long texts, eligibility, designInfo, pointOfContact and locations are opt-in on lists (see the field catalog).
sortBy
lastUpdatePostDate, id
Defaults to lastUpdatePostDate (the registry update date).
sortOrder
asc, desc
Defaults to desc.
page
number
Page number, starting at 1.
perPage
number
Results per page (default 20, maximum 100).

Responses

200Clinical trial list payload.
403API access is disabled, or the organization does not have the Life Sciences pack.
404Company not found.

Example request

curl
curl -X GET "https://api.salesmotion.io/v1/companies/cOWCt7iJhT9r5D1VWBox/clinical-trials?roles=leadSponsor%2Ccollaborator&statuses=recruiting%2CactiveNotRecruiting" \
  -H "Authorization: Bearer $SALESMOTION_API_KEY"

Response — 200

ts
{
  data: [{
  id: number
  registry: string
  nctId?: string
  euCtNumber?: string
  url?: string
  briefTitle: string
  officialTitle?: string
  briefSummary?: string
  detailedDescription?: string
  studyType?: string
  phases?: string[]
  lastKnownStatus: string
  whyStopped?: string
  leadSponsor?: string
  collaborators?: string[]
  firstPostedDate?: { date, precision, type }
  registryStartDate?: { date, precision, type }
  actualStartDate?: string
  estimatedStartDate?: string
  actualPrimaryCompletionDate?: string
  estimatedPrimaryCompletionDate?: string
  actualStudyCompletionDate?: string
  estimatedStudyCompletionDate?: string
  resultsFirstPostedDate?: string
  lastUpdatePostDate: string
  estimatedEnrollment?: number
  actualEnrollment?: number
  conditions?: string[]
  indications?: string[]
  keywords?: string[]
  interventions?: [{ name, type? }]
  therapeuticAreas?: string[]
  modalities?: string[]
  designInfo?: object
  eligibility?: object
  pointOfContact?: { title?, organization?, email?, phone?, phoneExt? }
  locations?: [{ facility, status, city, state?, zip?, country, contacts }]
  siteRegions?: string[]
  createdAt?: string
  updatedAt?: string
  companyRoles: string[]
}]
  meta: {
    requestId: string
    apiVersion: string
    timestamp: string
    page: number
    perPage: number
    totalCount: number
    totalPages: number
    totalCountIsEstimate?: boolean
  }
  usage: {
    limit: number
    used: number
    remaining: number
    resetsAt: string
  }
}
GET/v1/clinical-trials/{trialId}Life Sciences

Get Clinical Trial

One clinical trial with every field, including its point of contact, sites with their contacts, and every linked company with its roles.

Each milestone has an actual and an estimated date: use the actual one when present. `firstPostedDate` and `registryStartDate` are `{ date, precision, type }`, where `date` is YYYY, YYYY-MM or YYYY-MM-DD as the registry reports it, `precision` is day, month or year, and `type` is actual or estimated.

Parameters

trialIdrequired
number
Salesmotion trial ID (id), not the registry ID.
onlyWithFields
string
Comma-separated trial fields.

Responses

200Clinical trial payload.
403API access is disabled, or the organization does not have the Life Sciences pack.
404Clinical trial not found.

Example request

curl
curl -X GET "https://api.salesmotion.io/v1/clinical-trials/48213?onlyWithFields=id,nctId,briefTitle,phases,lastKnownStatus,locations" \
  -H "Authorization: Bearer $SALESMOTION_API_KEY"

Response — 200

ts
{
  data: {
  id: number
  registry: string
  nctId?: string
  euCtNumber?: string
  url?: string
  briefTitle: string
  officialTitle?: string
  briefSummary?: string
  detailedDescription?: string
  studyType?: string
  phases?: string[]
  lastKnownStatus: string
  whyStopped?: string
  leadSponsor?: string
  collaborators?: string[]
  firstPostedDate?: { date, precision, type }
  registryStartDate?: { date, precision, type }
  actualStartDate?: string
  estimatedStartDate?: string
  actualPrimaryCompletionDate?: string
  estimatedPrimaryCompletionDate?: string
  actualStudyCompletionDate?: string
  estimatedStudyCompletionDate?: string
  resultsFirstPostedDate?: string
  lastUpdatePostDate: string
  estimatedEnrollment?: number
  actualEnrollment?: number
  conditions?: string[]
  indications?: string[]
  keywords?: string[]
  interventions?: [{ name, type? }]
  therapeuticAreas?: string[]
  modalities?: string[]
  designInfo?: object
  eligibility?: object
  pointOfContact?: { title?, organization?, email?, phone?, phoneExt? }
  locations?: [{ facility, status, city, state?, zip?, country, contacts }]
  siteRegions?: string[]
  createdAt?: string
  updatedAt?: string
  companies: [{ companyId, name?, roles }]
}
  included?: object
  meta: {
    requestId: string
    apiVersion: string
    timestamp: string
  }
  usage: {
    limit: number
    used: number
    remaining: number
    resetsAt: string
  }
}
GET/v1/clinical-trials/by-registry-id/{registryId}Life Sciences

Get Clinical Trial by Registry ID

Look a trial up by its NCT ID (ClinicalTrials.gov) or EU CT number (EU Clinical Trials Register).

Returns the same payload as /v1/clinical-trials/{trialId}. Any other ID format returns 400.

Parameters

registryIdrequired
string
NCT ID (NCT01234567) or EU CT number (2023-501234-12-00).
onlyWithFields
string
Comma-separated trial fields.

Responses

200Clinical trial payload.
400registryId is not an NCT ID or an EU CT number.
403API access is disabled, or the organization does not have the Life Sciences pack.
404Clinical trial not found.

Example request

curl
curl -X GET "https://api.salesmotion.io/v1/clinical-trials/by-registry-id/NCT01234567" \
  -H "Authorization: Bearer $SALESMOTION_API_KEY"

Response — 200

ts
{
  data: {
  id: number
  registry: string
  nctId?: string
  euCtNumber?: string
  url?: string
  briefTitle: string
  officialTitle?: string
  briefSummary?: string
  detailedDescription?: string
  studyType?: string
  phases?: string[]
  lastKnownStatus: string
  whyStopped?: string
  leadSponsor?: string
  collaborators?: string[]
  firstPostedDate?: { date, precision, type }
  registryStartDate?: { date, precision, type }
  actualStartDate?: string
  estimatedStartDate?: string
  actualPrimaryCompletionDate?: string
  estimatedPrimaryCompletionDate?: string
  actualStudyCompletionDate?: string
  estimatedStudyCompletionDate?: string
  resultsFirstPostedDate?: string
  lastUpdatePostDate: string
  estimatedEnrollment?: number
  actualEnrollment?: number
  conditions?: string[]
  indications?: string[]
  keywords?: string[]
  interventions?: [{ name, type? }]
  therapeuticAreas?: string[]
  modalities?: string[]
  designInfo?: object
  eligibility?: object
  pointOfContact?: { title?, organization?, email?, phone?, phoneExt? }
  locations?: [{ facility, status, city, state?, zip?, country, contacts }]
  siteRegions?: string[]
  createdAt?: string
  updatedAt?: string
  companies: [{ companyId, name?, roles }]
}
  included?: object
  meta: {
    requestId: string
    apiVersion: string
    timestamp: string
  }
  usage: {
    limit: number
    used: number
    remaining: number
    resetsAt: string
  }
}
GET/v1/companies/{companyId}/tagsLife Sciences

List Company Tags

The company's current tags in the tag categories your organization has turned on.

`definitionKey` is the tag type and `value` the tag, e.g. therapeuticArea / oncology. Values: therapeutic areas and modalities as listed under Trial Radar; lifecycle moments entering-phase-3 and indication-expansion; topics jca, orphan-drug and pediatric-program; organization types corporate, academia, healthcareProvider, researchInstitute, government and foundationAssociation. `activityStartedOn` and `activityLastSupportedOn` bound the evidence period, and `evidenceCount` is the number of evidence items behind the tag.

Parameters

companyIdrequired
string
Company ID from /v1/companies/by-input/{companyInputId}.
definitionKey
string
Comma-separated: therapeuticArea, therapeuticModality, lifecycleMoment, topic, organizationType.
page
number
Page number, starting at 1.
perPage
number
Results per page (default 20, maximum 100).

Responses

200Company tag list payload.
403API access is disabled, or the organization does not have the Life Sciences pack.
404Company not found.

Example request

curl
curl -X GET "https://api.salesmotion.io/v1/companies/cOWCt7iJhT9r5D1VWBox/tags?definitionKey=therapeuticArea%2CtherapeuticModality&page=1" \
  -H "Authorization: Bearer $SALESMOTION_API_KEY"

Response — 200

ts
{
  data: [{
    id: number
    companyId: string
    definitionKey: string
    categoryKey?: string
    value: string
    label: string
    activityStartedOn: string
    activityLastSupportedOn: string
    visibleUntil: string
    evidenceCount: number
  }]
  meta: {
    requestId: string
    apiVersion: string
    timestamp: string
    page: number
    perPage: number
    totalCount: number
    totalPages: number
    totalCountIsEstimate?: boolean
  }
  usage: {
    limit: number
    used: number
    remaining: number
    resetsAt: string
  }
}

Usage & Quota

Inspect API usage, quota, and request history for the current organization.

GET/v1/usage

Get Usage

Customer-facing API usage and quota for the current organization.

Not counted against your allowance. Windows are rolling: `rolling_30_days` is the last 30 days (`windowType: "rolling"`, `windowDays: 30`) and `rolling_24_hours` the last 24 hours; the older names `monthly` and `daily` are still accepted. `quota.resetsAt` is when the oldest counted call ages out of the window, so allowance returns a little at a time, not all at once. A limit of 0 means unlimited.

Parameters

window
rolling_30_days, rolling_24_hours, custom (also monthly, daily)
—
groupBy
endpoint, apiKey, client, day
client splits the Salesmotion MCP server (mcp) from direct API calls (direct).
from
string
—
to
string
—

Responses

200Usage totals and quota.

Example request

curl
curl -X GET "https://api.salesmotion.io/v1/usage?window=rolling_30_days&groupBy=endpoint" \
  -H "Authorization: Bearer $SALESMOTION_API_KEY"

Response — 200

ts
{
  data: {
    window: string
    windowType: string
    windowDays?: number
    from: string
    to: string
    quota: { limit, used, remaining, resetsAt }
    totals: { requests, successful, failed, pending }
    breakdown?: [{ key, requests, successful, failed, pending }]
  }
  meta: {
    requestId: string
    apiVersion: string
    timestamp: string
  }
}
GET/v1/usage/requests

List Request History

Paginated request history for the current organization.

Each row's `requestId` matches the `X-Request-Id` header of that call.

Parameters

window
rolling_30_days, rolling_24_hours, custom (also monthly, daily)
—
perPage
number
—
page
number
—
from
string
—
to
string
—

Responses

200Paginated request history.

Example request

curl
curl -X GET "https://api.salesmotion.io/v1/usage/requests?window=monthly&perPage=20" \
  -H "Authorization: Bearer $SALESMOTION_API_KEY"

Response — 200

ts
{
  data: [{
    id: number
    requestId?: string
    status: string
    occurredAt: string
    endpoint: string
    successful: boolean
    error?: string
    apiKeyId?: string
    client?: string
    input?: object
  }]
  meta: {
    requestId: string
    apiVersion: string
    timestamp: string
    page: number
    perPage: number
    totalCount: number
    totalPages: number
    totalCountIsEstimate?: boolean
  }
}
GET/v1/usage/limits

Get Usage Limits

Contracted usage limits for the current organization.

Responses

200Contracted usage limits.

Example request

curl
curl -X GET "https://api.salesmotion.io/v1/usage/limits" \
  -H "Authorization: Bearer $SALESMOTION_API_KEY"

Response — 200

ts
{
  data: object
  meta: {
    requestId: string
    apiVersion: string
    timestamp: string
  }
}

Feedback

Submit feedback on API usage. Read by the team behind the API roadmap.

POST/v1/feedback

Submit Feedback

Send a rating, category, and message back to the Salesmotion API team.

Responses

200Feedback received.

Example request

curl
curl -X POST "https://api.salesmotion.io/v1/feedback" \
  -H "Authorization: Bearer $SALESMOTION_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{ rating?: number category?: string message: string context?: object }'

Request body

json
{
  rating?: number
  category?: string
  message: string
  context?: object
}

Response — 200

ts
{
  data: object
  meta: {
    requestId: string
    apiVersion: string
    timestamp: string
  }
}

Ready to build?

The API and MCP server are included in the Salesmotion Enterprise plan. Talk to us and we'll get you set up the same day.