REST API
Everything the dashboard, the CLI and the MCP server do, over HTTP: 75 endpoints. They are all clients of this same API, so anything your agent can do, a script can too. This page is generated from the API's own route definitions.
Docs menu
Authentication
Send an API key as a bearer token. Every request acts on the key's workspace. Bodies and responses are JSON; errors come back as { error: string } with a 4xx or 5xx status.
$ curl -H "Authorization: Bearer mk_…" https://api.meerko.ai/v1/tables
The OpenAPI 3.1 document is at /openapi.json, for generating a client or importing into Postman. Managing API keys, apps, Slack, what starts a routine, and billing needs you signed in to the dashboard, so those endpoints aren't listed here.
Workspace 2
Who the credential acts as, and the workspaces (brands) a person moves between.
GET/v1/meThe workspace (and person, for a session) this credential acts as
Also callable with a replies key, the kind an agent woken by an Autopilot replies routine gets.
Returns 200
Me
GET/v1/workspacesList your workspaces, marking the current one
An API key sees only its own workspace.
Returns 200
{ workspaces: WorkspaceListItem[] }
Tables 13
Tables of leads and their rows.
GET/v1/tablesList tables
Returns 200
{ tables: Table[] }
POST/v1/tablesCreate a table
Body (JSON)
| name | string | required | |
| columns | object[] | optional |
Returns 201
{ table: Table }
GET/v1/tables/{id}Get a table and its columns
Parameters
| id | path · string | required |
Returns 200
{ table: Table }
DELETE/v1/tables/{id}Delete a table, its rows and its sequences
Parameters
| id | path · string | required |
Returns 200
{ deleted: boolean; rows: number; sequences: number }
POST/v1/tables/{id}/columnsAdd a column (with `prompt`, an AI column)
Parameters
| id | path · string | required |
Body (JSON)
| name | string | required | |
| type | "text" | "number" | "email" | "url" | "boolean" | "json" | optional | Default "text". |
| prompt | string | optional | Makes it an AI column: an instruction filled in for each row by your agent |
Returns 200
{ table: Table }
GET/v1/tables/{id}/columns/{column}/pendingRows whose AI column is still empty, with the instruction for each
Parameters
| id | path · string | required | |
| column | path · string | required | |
| filter | query · string | optional | A JSON object matched against row data, e.g. {"country":"Spain"} |
| limit | query · number | optional | 1–1000. |
| offset | query · number | optional | |
| stage | query · "new" | "contacted" | "replied" | "meeting" | "won" | "lost" | optional |
Returns 200
PendingCells
GET/v1/tables/{id}/rowsQuery rows
Parameters
| id | path · string | required | |
| filter | query · string | optional | A JSON object matched against row data, e.g. {"country":"Spain"} |
| limit | query · number | optional | 1–1000. |
| offset | query · number | optional | |
| stage | query · "new" | "contacted" | "replied" | "meeting" | "won" | "lost" | optional |
Returns 200
{ rows: Row[] }
POST/v1/tables/{id}/rowsInsert rows; unknown keys become new columns
Parameters
| id | path · string | required |
Body (JSON)
| rows | Record<string, unknown>[] | required |
Returns 201
{ inserted: number; addedColumns: Column[] }
PATCH/v1/tables/{id}/rowsUpdate row data
Parameters
| id | path · string | required |
Body (JSON)
| updates | object[] | required |
Returns 200
{ updated: number; addedColumns: Column[] }
POST/v1/tables/{id}/rows/deleteDelete rows
POST rather than DELETE with a body, which some HTTP clients drop.
Parameters
| id | path · string | required |
Body (JSON)
| row_ids | string[] | required |
Returns 200
{ deleted: number }
POST/v1/tables/{id}/rows/stageMove rows to a pipeline stage
Parameters
| id | path · string | required |
Body (JSON)
| row_ids | string[] | required | |
| stage | "new" | "contacted" | "replied" | "meeting" | "won" | "lost" | required |
Returns 200
{ moved: number }
GET/v1/pipelineRows per pipeline stage, for one table or all
Parameters
| table_id | query · string | optional |
Returns 200
Pipeline
POST/v1/tables/{id}/crm-syncPush rows to the connected CRM as contacts, matched by email
Up to 100 rows per call; `remaining` says how many are left.
Parameters
| id | path · string | required |
Body (JSON)
| row_ids | string[] | optional | Only these rows (up to 100). Without it, every row not yet pushed or changed since, 100 per call |
Returns 200
CrmSyncResult
Leads 10
Finding people and companies, and enriching rows with emails.
POST/v1/search/people/countCount people matching a search (free)
Body (JSON)
| query | Record<string, Record<string, unknown>> | required | Icypeas filters, e.g. {"currentJobTitle":{"include":["CTO"]},"currentCompany.headcount":{">=":20}} |
Returns 200
{ total: number }
POST/v1/search/peopleFind people and add them to a table (spends credits)
Body (JSON)
| query | Record<string, Record<string, unknown>> | required | Icypeas filters, e.g. {"currentJobTitle":{"include":["CTO"]},"currentCompany.headcount":{">=":20}} |
| limit | number | optional | Default 25. 1–1000. |
| table_id | string | optional | Add the leads to this table |
| table_name | string | optional | Or create a table with this name |
Returns 201
SearchResult
POST/v1/search/companies/countCount companies matching a search (free)
Body (JSON)
| query | Record<string, Record<string, unknown>> | required | Icypeas filters, e.g. {"currentJobTitle":{"include":["CTO"]},"currentCompany.headcount":{">=":20}} |
Returns 200
{ total: number }
GET/v1/icpThe workspace's ideal customer profile (ICP)
Null until one is set. Every row read is scored against it.
Returns 200
{ icp: Icp | null }
PUT/v1/icpSet the ideal customer profile; every lead is rescored against it
Returns 200
{ icp: Icp }
DELETE/v1/icpRemove the ideal customer profile (scores go blank)
Returns 200
{ cleared: boolean }
POST/v1/tables/{id}/icp-reviewAdjust rows' ICP scores with a reason (the agent's judgement)
Moves each row's rules-based score by up to ±30.
Parameters
| id | path · string | required |
Body (JSON)
| rows | object[] | required |
Returns 200
{ updated: number }
POST/v1/websites/readRead a website's text, to work out who it sells to (free)
Meerko fetches the home page and returns its text; your agent decides the ideal customer from it. Public sites only.
Body (JSON)
| url | string | required | The website, e.g. acme.com |
Returns 200
Website
POST/v1/search/companiesFind companies and add them to a table (spends credits)
Body (JSON)
| query | Record<string, Record<string, unknown>> | required | Icypeas filters, e.g. {"currentJobTitle":{"include":["CTO"]},"currentCompany.headcount":{">=":20}} |
| limit | number | optional | Default 25. 1–1000. |
| table_id | string | optional | Add the leads to this table |
| table_name | string | optional | Or create a table with this name |
Returns 201
SearchResult
POST/v1/tables/{id}/enrichFind and verify emails, or find phone numbers, for rows (spends credits)
Parameters
| id | path · string | required |
Body (JSON)
| fields | "email" | "email_verification" | "phone"[] | optional | phone is opt-in (80 credits per number found, Pro on Meerko Cloud); the default finds and verifies emails Default ["email","email_verification"]. |
| filter | Record<string, unknown> | optional | |
| row_ids | string[] | optional | Only these rows |
| min_icp_score | number | optional | Only rows whose ICP fit is at least this (0-100); needs an ICP 0–100. |
| limit | number | optional | Default 25. 1–50. |
| overwrite | boolean | optional | Default false. |
Returns 200
EnrichResult
Mailboxes 10
Mailboxes that send sequences and receive replies.
GET/v1/mailboxesList mailboxes
Returns 200
{ mailboxes: Mailbox[] }
GET/v1/mailboxes/connectHow this server connects mailboxes, and where a person enters a password
Returns 200
{ oauth: boolean; outlook: boolean; url: string | null }
POST/v1/mailboxes/gmail/app-passwordConnect Gmail with an app password
Body (JSON)
| string | required | ||
| password | string | required | A Google app password, entered by a person: agents must never handle it |
| login | string | null | optional | |
| display_name | string | null | optional |
Returns 201
{ mailbox: Mailbox }
POST/v1/mailboxes/imapConnect any IMAP/SMTP mailbox
Body (JSON)
| string | required | ||
| password | string | required | |
| login | string | null | optional | |
| display_name | string | null | optional | |
| imap_host | string | required | |
| imap_port | number | optional | Default 993. |
| smtp_host | string | required | |
| smtp_port | number | optional | Default 465. |
Returns 201
{ mailbox: Mailbox }
POST/v1/mailboxes/gmail/connectStart connecting Gmail through Google's consent screen (when the server enables it)
Body (JSON)
| login_hint | string | optional | |
| return_to | string | optional |
Returns 200
Url
POST/v1/mailboxes/outlook/connectStart connecting Outlook / Microsoft 365
Body (JSON)
| login_hint | string | optional | |
| return_to | string | optional |
Returns 200
Url
GET/v1/mailboxes/healthSPF, DKIM and DMARC for each sending domain
Returns 200
{ domains: DomainHealth[] }
PATCH/v1/mailboxes/{id}Change a mailbox's daily limit, name or ramp-up, or resume it after a hold
Parameters
| id | path · string | required |
Body (JSON)
| daily_limit | number | optional | 1–500. |
| display_name | string | null | optional | |
| ramp | boolean | optional | |
| resume | boolean | optional | Lift a hold Meerko put on the mailbox (heldAt) after too many bounces or spam rejections |
Returns 200
{ mailbox: Mailbox }
DELETE/v1/mailboxes/{id}Disconnect a mailbox
Parameters
| id | path · string | required |
Returns 200
{ deleted: boolean }
POST/v1/mailboxes/{id}/testSend a test email from a mailbox
Parameters
| id | path · string | required |
Body (JSON)
| to | string | required |
Returns 200
{ sent: boolean; messageId: string | null }
Sequences 15
Multi-step email sequences.
GET/v1/sequencesList sequences
Returns 200
{ sequences: SequenceSummary[] }
POST/v1/sequencesCreate a sequence (as a draft)
Body (JSON)
| table_id | string | required | |
| name | string | required | |
| mailbox_ids | string[] | optional | The mailbox pool: each lead gets one and keeps it for every step |
| mailbox_id | string | optional | Deprecated: use mailbox_ids |
| assignment | "capacity" | "even" | optional | How new leads are spread over the pool. Default "capacity" |
| steps | object[] | required | 1–10 emails: { subject?, body, delay_days? }. The first needs a subject; follow-ups reply in the same thread. {{var}} fills in row data, and rows missing a used variable are skipped at enrollment |
| timezone | string | optional | |
| window_start_hour | number | optional | 0–23. |
| window_end_hour | number | optional | 1–24. |
Returns 201
{ sequence: Sequence }
GET/v1/sending-modeWhether a person approves each email before it goes, for sequences and for reply drafts
Returns 200
{ mode: SendingMode }
GET/v1/pending-emailsSequence emails waiting for approval, soonest first, as each lead will get them
Parameters
| sequence_id | query · string | optional | |
| limit | query · number | optional | 1–200. |
Returns 200
{ emails: PendingEmail[] }
POST/v1/pending-emails/approveApprove leads' next sequence email; each goes when it's due
Body (JSON)
| enrollment_ids | string[] | optional | Approve these leads' next email |
| sequence_id | string | optional | Approve the next email of every lead waiting in this sequence |
Returns 200
{ approved: number }
GET/v1/sequences/{id}Get a sequence and its steps
Parameters
| id | path · string | required |
Returns 200
{ sequence: Sequence }
PATCH/v1/sequences/{id}Change a sequence's steps, mailboxes or sending window
Parameters
| id | path · string | required |
Body (JSON)
| name | string | optional | |
| mailbox_ids | string[] | optional | The mailbox pool: each lead gets one and keeps it for every step |
| mailbox_id | string | optional | Deprecated: use mailbox_ids |
| assignment | "capacity" | "even" | optional | How new leads are spread over the pool. Default "capacity" |
| steps | object[] | optional | 1–10 emails: { subject?, body, delay_days? }. The first needs a subject; follow-ups reply in the same thread. {{var}} fills in row data, and rows missing a used variable are skipped at enrollment |
| timezone | string | optional | |
| window_start_hour | number | optional | 0–23. |
| window_end_hour | number | optional | 1–24. |
Returns 200
{ sequence: Sequence }
DELETE/v1/sequences/{id}Delete a paused or draft sequence, its steps and enrollments; replies stay
Parameters
| id | path · string | required |
Returns 200
{ deleted: boolean }
GET/v1/sequences/{id}/previewRender each step for one row, with any missing variables
Parameters
| id | path · string | required | |
| row_id | query · string | optional |
Returns 200
SequencePreview
POST/v1/sequences/{id}/enrollEnroll rows, by id or filter
Parameters
| id | path · string | required |
Body (JSON)
| row_ids | string[] | optional | |
| filter | Record<string, unknown> | optional | |
| limit | number | optional | 1–5000. |
Returns 200
EnrollResult
POST/v1/sequences/{id}/startStart sending
Parameters
| id | path · string | required |
Returns 200
{ sequence: Sequence }
POST/v1/sequences/{id}/pausePause sending
Parameters
| id | path · string | required |
Returns 200
{ sequence: Sequence }
GET/v1/sequences/{id}/poolThe sequence's mailboxes and today's sending
Parameters
| id | path · string | required |
Returns 200
SequencePool
GET/v1/sequences/{id}/statsSent, replied and per-step numbers
Parameters
| id | path · string | required |
Returns 200
SequenceStats
GET/v1/sequences/{id}/recipientsEveryone enrolled and where they are
Parameters
| id | path · string | required |
Returns 200
{ recipients: Recipient[] }
Replies 6
Replies to sequences, and the drafts answering them.
GET/v1/repliesList replies, with their threads
Also callable with a replies key, the kind an agent woken by an Autopilot replies routine gets.
Parameters
| sequence_id | query · string | optional | |
| intent | query · string | optional | |
| unclassified | query · "true" | "false" | optional | |
| include_automatic | query · "true" | "false" | optional | |
| needs_you | query · "true" | "false" | optional | Unclassified replies plus unhandled ones with a draft waiting: what waits on the person |
| limit | query · number | optional | 1–100. |
Returns 200
{ replies: Reply[] }
POST/v1/replies/{id}/classifySet a reply's intent
Also callable with a replies key, the kind an agent woken by an Autopilot replies routine gets.
Parameters
| id | path · string | required |
Body (JSON)
| intent | "interested" | "not_interested" | "not_now" | "question" | "referral" | "wrong_person" | "other" | required | |
| handled | boolean | optional |
Returns 200
{ reply: object }
POST/v1/replies/{id}/draftSave a draft answer for a person to approve
When the workspace sends reply drafts on its own (sending mode `reply_drafts: auto`), the draft is sent straight away and `sent` says so; if sending fails it stays pending, with `send_error`.
Also callable with a replies key, the kind an agent woken by an Autopilot replies routine gets.
Parameters
| id | path · string | required |
Body (JSON)
| body | string | required |
Returns 201
{ draft: object; sent?: object; send_error?: string }
GET/v1/draftsList drafts
Also callable with a replies key, the kind an agent woken by an Autopilot replies routine gets.
Parameters
| status | query · "pending" | "sent" | "discarded" | optional |
Returns 200
{ drafts: Draft[] }
POST/v1/drafts/{id}/approveSend a draft
Parameters
| id | path · string | required |
Body (JSON)
| body | string | optional | Send this instead of the saved draft |
Returns 200
{ sent: boolean; to: string; subject: string }
POST/v1/drafts/{id}/discardDiscard a draft
Parameters
| id | path · string | required |
Returns 200
{ discarded: boolean }
Credits 4
Credits and the BYOK provider keys that bypass them.
GET/v1/creditsCredit balance, and where a person tops up
Returns 200
Credits
GET/v1/provider-keysYour own provider keys (last 4 only)
Returns 200
{ keys: ProviderKey[] }
PUT/v1/provider-keys/{provider}Store your own Icypeas, Firecrawl or Generect key; lookups through it spend no credits
Parameters
| provider | path · string | required |
Body (JSON)
| key | string | required |
Returns 200
{ provider: string; last4: string }
DELETE/v1/provider-keys/{provider}Remove a provider key
Parameters
| provider | path · string | required |
Returns 200
{ deleted: boolean }
Autopilot 7
Routines your own AI runs, started by new replies or on a schedule.
GET/v1/routinesList the workspace's Autopilot routines, with their latest runs
Returns 200
{ routines: Routine[] }
POST/v1/routinesCreate a routine
It starts on your AI's own scheduler; a person connects a Claude routine or a webhook in the dashboard so Meerko starts it.
Body (JSON)
| name | string | required | |
| brief | string | required | What the AI does on each run, in plain words |
| when | "replies" | "schedule" | required | `replies`: when new replies wait (one per workspace). `schedule`: on `cadence` |
| cadence | object | optional | Required for `schedule` |
Returns 201
{ routine: Routine }
GET/v1/routines/{id}Get a routine, how it runs and its latest runs
Parameters
| id | path · string | required |
Returns 200
{ routine: Routine }
PATCH/v1/routines/{id}Edit, pause or resume a routine
Parameters
| id | path · string | required |
Body (JSON)
| name | string | optional | |
| brief | string | optional | |
| when | "replies" | "schedule" | optional | |
| cadence | object | optional | When a scheduled routine is due |
| status | "active" | "paused" | optional | `paused` stops it; `active` resumes it from now |
Returns 200
{ routine: Routine }
DELETE/v1/routines/{id}Delete a routine
Parameters
| id | path · string | required |
Returns 200
nothing
POST/v1/routines/{id}/runRun it now
Meerko starts it through its Claude routine or webhook. A routine on your AI's own scheduler isn't started: `started` is false and `routine.setup.prompt` is what to run.
Parameters
| id | path · string | required |
Returns 200
{ started: boolean; run: RoutineRun | null; error: string | null; routine: Routine }
POST/v1/routines/{id}/startCheck in at the start of a run and get the brief
Call it first on every run: it records that the run happened and returns what to do.
Also callable with a replies key, the kind an agent woken by an Autopilot replies routine gets.
Parameters
| id | path · string | required |
Returns 200
RoutineStart
Settings 8
API keys, connected apps, Slack, CRM, the daily digest and billing.
GET/v1/api-keysList API keys
Returns 200
{ api_keys: ApiKey[] }
GET/v1/connected-appsList OAuth apps connected to the workspace
Returns 200
{ apps: ConnectedApp[] }
GET/v1/slackWhere replies and drafts are posted in Slack
Returns 200
{ connection: SlackConnection | null; app_available: boolean }
GET/v1/crmThe CRM leads are pushed to (HubSpot or Attio)
Returns 200
{ connection: CrmConnection | null }
PUT/v1/crmConnect HubSpot or Attio
The token is checked with the CRM first, then stored encrypted. Replaces any CRM already connected.
Body (JSON)
| provider | "hubspot" | "attio" | required | |
| token | string | required | A HubSpot private app token or an Attio API key, entered by a person |
| auto_sync | boolean | optional | Push leads automatically once Meerko has contacted them. Defaults to true |
Returns 200
{ connection: CrmConnection }
PATCH/v1/crmTurn automatic CRM sync on or off
Body (JSON)
| auto_sync | boolean | required |
Returns 200
{ connection: CrmConnection }
DELETE/v1/crmDisconnect the CRM (contacts already there stay)
Returns 200
nothing
GET/v1/billingPlan, subscription and balance (Meerko Cloud)
Returns 200
Billing
Objects
The shapes the endpoints return. Fields may be added; clients should ignore ones they don't know.
ApiKey
Fields
| id | string | required | |
| name | string | required | |
| prefix | string | required | |
| scope | "full" | "replies" | required | |
| lastUsedAt | string | null | required | |
| createdAt | string | required | ISO 8601 timestamp |
Column
Fields
| key | string | required | |
| name | string | required | |
| type | "text" | "number" | "email" | "url" | "boolean" | "json" | required | |
| prompt | string | optional |
ConnectedApp
Fields
| id | string | required | |
| name | string | required | |
| userEmail | string | required | |
| createdAt | string | required | ISO 8601 timestamp |
| lastUsedAt | string | null | required |
CrmConnection
Fields
| provider | "hubspot" | "attio" | required | |
| last4 | string | required | |
| accountName | string | null | required | |
| autoSync | boolean | required | |
| lastSyncedAt | string | null | required | |
| lastError | string | null | required | |
| createdAt | string | required | ISO 8601 timestamp |
DomainHealth
Fields
| domain | string | required | |
| spf | "pass" | "missing" | "managed" | required | |
| dkim | "pass" | "missing" | "managed" | required | |
| dmarc | "pass" | "missing" | "managed" | required |
Draft
Fields
| id | string | required | |
| body | string | required | |
| status | "pending" | "sent" | "discarded" | required | |
| updatedAt | string | required | ISO 8601 timestamp |
| replyId | string | required | |
| to | string | required | |
| replySubject | string | null | required | |
| replyBody | string | required | |
| intent | string | null | required | |
| row | Record<string, unknown> | null | required | |
| thread | object[] | required |
IcpFit
Fields
| score | number | null | required | 0-100; null without an ICP or data to compare |
| base | number | null | required | The rules-only score, before the agent's adjustment |
| checks | object[] | required | |
| adjust | number | null | required | |
| note | string | null | required | |
| reason | string | null | required | One line on why: the agent's note, else what matched and what didn't |
Mailbox
Fields
| id | string | required | |
| provider | "gmail" | "gmail_imap" | "imap" | "outlook" | required | |
| string | required | ||
| login | string | null | required | |
| servers | object | null | required | |
| displayName | string | null | required | |
| dailyLimit | number | required | |
| rampStartedAt | string | null | required | |
| effectiveLimit | number | required | What it may send in the next 24 hours: lower than dailyLimit while ramping |
| rampDay | number | null | required | |
| status | "active" | "error" | required | |
| lastError | string | null | required | |
| heldAt | string | null | required | Set while Meerko holds the mailbox for bounces or spam rejections: it sends nothing until resumed |
| holdReason | "bounces" | "rejections" | null | required | |
| holdDetail | string | null | required | What tripped the hold, e.g. "6 hard bounces in 80 emails over 7 days (7.5%)" |
| createdAt | string | required | ISO 8601 timestamp |
PendingEmail
Fields
| enrollment_id | string | required | |
| sequence_id | string | required | |
| sequence_name | string | required | |
| to | string | required | |
| step | number | required | |
| subject | string | required | |
| body | string | required | |
| send_at | string | null | required |
ProviderKey
Fields
| provider | string | required | |
| last4 | string | required | |
| createdAt | string | required | ISO 8601 timestamp |
Recipient
Fields
| enrollmentId | string | required | |
| rowId | string | required | |
| string | required | ||
| firstName | string | null | required | |
| lastName | string | null | required | |
| company | string | null | required | |
| mailboxEmail | string | null | required | |
| state | "active" | "completed" | "replied" | "unsubscribed" | "bounced" | "stopped" | "failed" | required | |
| stepsSent | number | required | |
| nextSendAt | string | null | required | |
| lastError | string | null | required | |
| lastSentAt | string | null | required |
Reply
Fields
| id | string | required | |
| from | string | required | |
| subject | string | null | required | |
| body | string | required | |
| intent | string | null | required | |
| receivedAt | string | required | ISO 8601 timestamp |
| handledAt | string | null | required | |
| sequenceId | string | null | required | |
| sequenceName | string | null | required | |
| row | Record<string, unknown> | null | required | |
| thread | object[] | required |
Routine
Fields
| id | string | required | |
| name | string | required | |
| brief | string | required | |
| when | "replies" | "schedule" | required | |
| cadence | object | null | required | |
| schedule | string | required | In words: "Weekdays at 09:00 (Europe/Madrid)" |
| status | "active" | "paused" | required | |
| statusReason | string | null | required | |
| trigger | "own_scheduler" | "claude_routine" | "chatgpt_events" | "webhook" | required | |
| triggerUrl | string | null | required | |
| secretLast4 | string | null | required | |
| needsSetup | boolean | required | |
| nextDueAt | string | null | required | |
| lastFiredAt | string | null | required | |
| lastError | string | null | required | |
| createdAt | string | required | ISO 8601 timestamp |
| updatedAt | string | required | ISO 8601 timestamp |
| runs | RoutineRun[] | required | The latest runs, newest first |
| setup | RoutineSetup | required |
RoutineRun
Fields
| id | string | required | |
| dueAt | string | null | required | The scheduled time it ran for; null for replies, Run it now and runs the AI started itself |
| reason | string | required | `schedule`, `replies`, `manual` (Run it now) or `ai` |
| outcome | "firing" | "fired" | "fire_failed" | "ran" | "missed" | "no_callback" | required | |
| firedAt | string | null | required | |
| startedAt | string | null | required | When the AI checked in with start_routine_run |
| httpStatus | number | null | required | |
| error | string | null | required | |
| replies | number | null | required | |
| sessionUrl | string | null | required | |
| createdAt | string | required | ISO 8601 timestamp |
RoutineSetup
Fields
| howItRuns | string | required | |
| prompt | string | optional | |
| setupPrompt | string | optional | |
| steps | object[] | optional |
Row
Fields
| id | string | required | |
| data | Record<string, unknown> | required | |
| stage | "new" | "contacted" | "replied" | "meeting" | "won" | "lost" | required | |
| stageChangedAt | string | null | required | |
| createdAt | string | required | ISO 8601 timestamp |
| icp | IcpFit | required | How well the lead fits the workspace ICP |
SendingMode
Fields
| sequence_emails | "approve" | "auto" | required | |
| reply_drafts | "approve" | "auto" | required |
Sequence
Fields
| id | string | required | |
| name | string | required | |
| status | "draft" | "active" | "paused" | required | |
| tableId | string | required | |
| mailboxIds | string[] | required | |
| assignment | "capacity" | "even" | required | |
| timezone | string | required | |
| windowStartHour | number | required | |
| windowEndHour | number | required | |
| steps | object[] | required |
SequenceSummary
Fields
| id | string | required | |
| name | string | required | |
| status | "draft" | "active" | "paused" | required | |
| tableId | string | required | |
| mailboxIds | string[] | required | |
| assignment | "capacity" | "even" | required | |
| enrolled | number | required |
SlackConnection
Fields
| kind | "app" | "webhook" | required | |
| teamName | string | null | required | |
| channelName | string | null | required | |
| enabled | boolean | required | |
| lastPostedAt | string | null | required | |
| lastError | string | null | required | |
| createdAt | string | required | ISO 8601 timestamp |
Table
Fields
| id | string | required | |
| name | string | required | |
| columns | Column[] | required | |
| rowCount | number | required | |
| createdAt | string | required | ISO 8601 timestamp |
WorkspaceListItem
Fields
| id | string | required | |
| name | string | required | |
| role | "owner" | "member" | null | required | Null for an API key, which belongs to the workspace rather than a person |
| current | boolean | required | The workspace this credential acts on now |