AI reads the company
Every agent
AI crawls the site and writes the offer, the audience, the voice, and the brand. Website chat, card flows, and LinkedIn start from that.
Simple guide showing how to connect to the SMOC REST API from your own code, sync jobs, or CRM pipelines. Customer keys are company-scoped and read-only by default. Write-enabled keys may call limited writes including inbox send; they cannot edit flow graphs, publish flows, or start LinkedIn outreach campaigns. Super-user keys can save flow and theme drafts on the same POST /api/v2/{toolName} calls; publishing still requires a person in Studio or Console. Domain tools live on REST v2 as POST /api/v2/{toolName} (same handlers as MCP). Full call list: REST v2 API reference. GET /api/company/mongocontact stays for Zapier.
Your key is tied to your company. Every request made with it is automatically scoped to your data. Generating a new key does not revoke existing keys. Issued keys are listed on the same page — revoke unused keys there. The MCP page uses the same controls — see the screenshot in the MCP guide.
Base URL: https://api.smoc.ai
Full contacts endpoint:
GET https://api.smoc.ai/api/company/mongocontact
Legacy contacts: send the key in a custom HTTP header named token. REST v2 accepts Authorization: Bearer or token.
GET /api/company/mongocontact HTTP/1.1
Host: api.smoc.ai
token: YOUR_SMOC_API_KEY
Do not use Clerk secret keys (sk_…) or publishable keys (pk_…).
POST /api/v2/{toolName}Mirrors MCP domain tools (contacts_search, cpcs_overview, inbox_threads_list, and the rest). OpenAPI: GET /api/v2 or GET /api/v2/openapi.json. See the REST v2 reference.
GET /api/company/mongocontact (Zapier / compat)Returns a page of contacts for the company on the key, plus aggregate counts.
What it returns
status: "1") and also include leadSentiment, leadCapturedAt, and tags when present.leadsCount — contacts with status lead (including unset)customerCount — contacts with status customerCounts cover all company contacts, not only the current page.
Query parameters
| Parameter | Default | Description |
|---|---|---|
limit |
100 |
Max contacts to return (1–500) |
sortByField |
(none) | Sort descending by createdAt, updatedAt, lastConversationDate, or leadCapturedAt |
status |
(none) | Filter by contact status. status=1 is the standard lead poll and includes positive message-flow smart leads |
Contact status values: "1" lead, "2" customer, "3" lost, "4" converted.
Customer keys cannot create, update, or delete contacts. There is no cursor pagination on mongocontact — use limit and track seen IDs client-side, or use Zapier polling. Richer search is POST /api/v2/contacts_search.
Field-level response shapes are in the Public Contacts API reference.
curl -s \
-H "token: YOUR_SMOC_API_KEY" \
"https://api.smoc.ai/api/company/mongocontact?status=1&limit=25&sortByField=leadCapturedAt"
Write-enabled keys still cannot publish a flow, toggle live (flowcharts_set_active), delete records, or start a LinkedIn outreach campaign. Inbox send is opt-in on a write-enabled key (inbox_threads_send, text only, requires idempotencyKey). Use SMOC MCP from Claude, Cursor, or VS Code for the same tools over MCP.
token: <key>, not Authorization: Bearer.limit query parameter.1, 2, 3, or 4.POST /api/v2/{toolName} callWhere AI runs
Website chat, card flows, and LinkedIn share one system. AI does each job below. The line under the title says where that job runs.
Every agent
AI crawls the site and writes the offer, the audience, the voice, and the brand. Website chat, card flows, and LinkedIn start from that.
Every agent · theme on web · list on LinkedIn
AI writes the flow. Theme runs on website chat and cards. Translation runs on every agent. AI finds the prospect list on LinkedIn.
Path on every flow · web and LinkedIn split
Reinforcement learning on the flow path runs on every agent. Recommendations run on web. Right timing and reply reading run on LinkedIn.
Every agent
AI proposes a variant, uses your review on the next draft, and starts from an example that already works. You apply the change.
Get product updates and perspective on proactive AI agents, multichannel orchestration, and conversion—without the noise.
Enter your email below to get started with SMOC.AI