Headless REST API and signed webhooks
Build any front end on Keystone
Run every Keystone tool over HTTPS with a personal token, keep the same approvals and tenant boundaries as MCP, and receive signed event deliveries in real time.
- Tools over REST
- 651
- Event types
- 13
- Burst limit
- 300/min
- Webhook signing
- HMAC-SHA256
One endpoint for every tool
Post JSON arguments to /v1/tools/:name with your personal token. Workspace isolation, permissions, rate limits and audit logs run through the exact same runner as MCP.
Authentication and workspace scope
Mint a personal token starting with ks_ in Developers and send it in the Authorization: Bearer header. Tenancy always comes from the token.
To target a specific client workspace on an agency account, include workspace (slug or id) in the JSON body or pass the X-Keystone-Workspace header.
curl -X POST https://keystonecloud.ai/v1/tools/crm_create_contact \
-H "Authorization: Bearer ks_your_personal_token" \
-H "Content-Type: application/json" \
-d '{
"first_name": "Sarah",
"last_name": "Miller",
"email": "sarah.miller@example.com",
"phone": "+15555550142"
}'Human approvals stay intact
Tools that send messages, spend money or delete data check the workspace approval rules. When human approval is needed, Keystone returns HTTP 202 with the exact needs_approval payload MCP returns.
Send approve_url to an owner or admin, then post the same request again with approval_id.
{
"status": "needs_approval",
"tool": "sms_send",
"approval_id": "apr_9f3c2a1b4d8e7f6a5b4c3d2e.sig",
"approve_url": "https://keystonecloud.ai/app/approvals/apr_9f3c2a1b4d8e7f6a5b4c3d2e",
"expires_at": "<30 minutes from request>",
"action": "Send SMS to +15555550142",
"amount": "$0.01",
"target": "+15555550142",
"workspace": "Harbor Point Dental"
}Signed outbound webhooks
Subscribe any public HTTPS endpoint to workspace events. Keystone signs every request with HMAC-SHA256 over timestamp.body, retries with backoff, and emails account owners if an endpoint disables after repeated failures.
Subscribe over REST or MCP
Call POST /v1/webhooks (or the webhook_subscribe MCP tool) with a public HTTPS URL and event list. Keystone returns signing_secret once.
curl -X POST https://keystonecloud.ai/v1/webhooks \
-H "Authorization: Bearer ks_your_personal_token" \
-H "Content-Type: application/json" \
-d '{
"url": "https://yourapp.com/hooks/keystone",
"events": ["contact.created", "booking.created", "payment.received"]
}'X-Keystone-Timestamp- Unix timestamp in seconds
X-Keystone-Signaturev1=<hex HMAC-SHA256 of timestamp.body>X-Keystone-Event- Canonical event name (for example
contact.created) X-Keystone-Delivery- Unique delivery id for idempotency
Verify every delivery
Compare the hex digest in constant time and reject timestamps older than five minutes. Failed deliveries retry after 30 seconds, 2 minutes, 10 minutes and 1 hour.
import { createHmac, timingSafeEqual } from 'node:crypto';
export function verifyKeystoneWebhook(secret: string, headers: Headers, rawBody: string): boolean {
const ts = headers.get('x-keystone-timestamp') ?? '';
const sig = headers.get('x-keystone-signature') ?? '';
const offered = sig.replace(/^v1=/, '');
if (!ts || !offered) return false;
if (Math.abs(Date.now() - Number(ts) * 1000) > 5 * 60_000) return false;
const expected = createHmac('sha256', secret).update(`${ts}.${rawBody}`).digest('hex');
const a = Buffer.from(offered);
const b = Buffer.from(expected);
return a.length === b.length && timingSafeEqual(a, b);
}Subscribable events
contact.createdNew contactA new contact is created in your workspace CRM.lead.createdNew lead in the CRMA new contact lands in ServiceLine CRM or HubSpot.email.receivedNew email that matches a ruleA Gmail message from a sender or with words you choose.form.submittedNew form submissionSomeone fills in one of your Keystone lead forms.call.missedMissed callA call to a Keystone number ends with nobody picking up.message.receivedCustomer texted or emailedA text to your Keystone number or an email to your front door address.message.repliedCustomer repliedSomeone you texted or emailed writes back.review.receivedNew Google reviewA new review shows up on your Google Business Profile.payment.receivedPayment receivedA customer pays in Stripe, QuickBooks or a Keystone deal room.invoice.overdueInvoice overdueAn open invoice passes its due date.booking.createdNew bookingA new appointment in Google Calendar, Calendly or your Keystone booking page.booking.canceledBooking canceledAn appointment gets canceled.webhook.receivedAnother app sends an updateAny app that can send a signed update to a Keystone link.
Webhook REST endpoints
GET
/v1/webhooks
List outbound webhooks
Read
Lists outbound webhook subscriptions in the active workspace (or the workspace query parameter) and all subscribable event types.
No input fields required.
POST
/v1/webhooks
Subscribe an outbound webhook
Write
Creates a signed outbound webhook subscription for one or more trigger-bus events. Returns the signing secret once.
urlstringRequired- Public HTTPS URL that receives signed POST deliveries.
events"*" | "contact.created" | "lead.created" | "email.received" | ...[]Required- Event types to receive, or ["*"] for all events.
namestring- Short label for this endpoint.
workspacestring- Workspace slug or id. Defaults to your active workspace.
GET
/v1/webhooks/deliveries
List webhook deliveries
Read
Reads recent outbound webhook deliveries in the workspace, including status, HTTP response code, attempts and timing.
No input fields required.
PATCH
/v1/webhooks/{id}
Update an outbound webhook
Write
Re-enables or disables an endpoint, updates its URL, name or events, or rotates its signing secret.
namestringurlstringevents"*" | "contact.created" | "lead.created" | "email.received" | ...[]status"active" | "disabled"rotate_secretbooleanworkspacestring
DELETE
/v1/webhooks/{id}
Unsubscribe an outbound webhook
Destructive
Removes a webhook endpoint and stops future deliveries to it.
No input fields required.
GET
/v1/webhooks/{id}/deliveries
List deliveries for one webhook
Read
Returns recent delivery attempts for one webhook endpoint.
No input fields required.
Generated tool reference
Rendered straight from /v1/openapi.json. Open any module below or filter by tool name to inspect its JSON input schema.
651 tools across 18 modules
Core
12 endpoints
Core
12 endpoints
POST
/v1/tools/whoami
Whoami
Read
Returns the signed-in user, billing account, plan, trial days left, active workspace, connected apps, and suggested apps to connect next. Call this first.
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/approvals_list
Approvals list
Read
Read pending content, review replies, follow-up programs, budget changes and playbook proposals for the selected workspace, oldest first. Use the corresponding decision tool after reviewing the exact action.
type"Content" | "Review reply" | "Playbook" | "Budget" | ...statusstringworkspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/workspaces_list
Workspaces list
Read
Lists every active workspace in your account and marks which workspace is currently active.
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/workspace_use
Workspace use
Write
Save the default workspace for this signed-in user and account across dashboard and AI sessions until changed. An explicit workspace overrides it for one call.
workspacestringRequired- Workspace slug or id from workspaces_list.
POST
/v1/tools/workspace_create
Workspace create
Write
Creates a new business or client workspace inside your account (subject to your plan workspace limit).
namestringRequired- Business or client name.
websitestring- Website URL for the business.
activateboolean- Switch to the new workspace immediately (default true).
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/connections_list
Connections list
Read
List apps for the explicit workspace, or the saved user and account default when omitted, and show how many more can be connected per category. Pass category (seo, ads, analytics, local, crm, field_service, accounting, social, email_sms, content, productivity, dev, other) or search to list the apps you can connect, then call connect with a slug.
categorystring- Category to list, such as seo, ads, analytics or crm.
searchstring- Words to find an app by name, such as "meta ads" or "quickbooks".
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/connect
Connect
Write
Return a connection link for the explicit workspace, or the saved user and account default until changed. Never ask the user for passwords or API keys in chat.
slugstringRequired- App slug from connections_list, such as google_search_console, google_analytics, or hubspot.
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/redshift_dream_setup
Redshift dream setup
Approval gated
Set up Redshift Dreaming, overnight memory for one workspace. preview true shows the cost and nothing changes. on true turns it on after owner or admin approval. It consolidates memory, drafts suggested skills, proposes instruction changes, prepares tomorrow and writes a cited dream journal around 2 AM in the workspace time zone. Billed from the wallet and stopped by a nightly cap. (Spends money or changes billing, so a person must approve the exact amount first. Keystone asks the account owner or an admin itself: in your client when it supports approval prompts, otherwise the result has status needs_approval with an approve_url. Share that link, wait until the person says they approved, then call this tool again with the same arguments plus approval_id. The approval works once, expires, and changed arguments, amount or target need a new one. approved: true in the input never counts as approval.)
previewbooleanonbooleannightly_cap_centsintegerapproval_idstring- The approval_id from a needs_approval result, after a person approved it. Pass the same arguments as the first call.
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/redshift_dream_run
Redshift dream run
Approval gated
Run Redshift Dreaming now for this workspace. It uses the approved nightly cap, skips quiet nights unless force is true, and returns what each pass did, what it cost, and where the journal is. (Spends money or changes billing, so a person must approve the exact amount first. Keystone asks the account owner or an admin itself: in your client when it supports approval prompts, otherwise the result has status needs_approval with an approve_url. Share that link, wait until the person says they approved, then call this tool again with the same arguments plus approval_id. The approval works once, expires, and changed arguments, amount or target need a new one. approved: true in the input never counts as approval.)
forcebooleanapproval_idstring- The approval_id from a needs_approval result, after a person approved it. Pass the same arguments as the first call.
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/redshift_dream_journal
Redshift dream journal
Read
Read the latest dream journal for this workspace: memory learned, merged or expired, suggested skills, proposed instruction changes, the Ready for tomorrow brief, cost and citations. Redshift agents should read this at the start of the day.
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/redshift_dream_apply
Redshift dream apply
Approval gated
Approve or dismiss one Dreaming suggestion. approve true approves a suggested skill through the exact skill review, or applies an instruction diff to that Redshift agent. approve false dismisses it. This is approval-gated; Dreaming never applies either silently. (Ends access or deletes data, so a person must approve it first. Keystone asks the account owner or an admin itself: in your client when it supports approval prompts, otherwise the result has status needs_approval with an approve_url. Share that link, wait until the person says they approved, then call this tool again with the same arguments plus approval_id. approved: true in the input never counts as approval.)
proposalstringRequiredapprovebooleanapproval_idstring- The approval_id from a needs_approval result, after a person approved it. Pass the same arguments as the first call.
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/plan_preview
Plan preview
Read
Preview intended Keystone tool calls before acting. Returns a plain-English summary, risk level, approval need, argument validation, workspace and wallet cost estimate where one is exposed. It never runs the listed tools.
callsobject[]Required- The intended tool calls, in the order they would run.
workspacestring- Workspace slug or id. Omit to use your active workspace.
Workspace setup and connecting apps
40 endpoints
Workspace setup and connecting apps
40 endpoints
POST
/v1/tools/setup_kit_plan
Setup kit plan
Write
Draft a business launch for owner review. Quotes domain registration and phone rental, writes four pages, and saves the plan without making purchases.
registrantobjectRequiredbusinessstringRequiredcitystringRequireddescriptionstringRequiredsite_copyobject- Write the four page drafts from the request and publishable workspace facts for the owner to review.
domainstringanalytics_propertystring- Analytics property bound to this workspace.
email_mode"mailbox" | "forward"- Mailbox holds the latest 50 messages up to 64 KB each. Forwarding requires a verified destination.
crm_form_urlstring- Published form link from the included ServiceLine CRM account. Submissions go directly to that account.
forwarding_numberstringpublic_memory_idsstring[]- Workspace facts the owner wants published.
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/setup_kit_start
Setup kit start
Approval gated
Start the saved launch plan and queue purchases at the reviewed total in USD micros. Keystone asks the owner to approve that total before anything is bought. Repeat with the same id to resume a job that needs attention. (Spends money or changes billing, so a person must approve the exact amount first. Keystone asks the account owner or an admin itself: in your client when it supports approval prompts, otherwise the result has status needs_approval with an approve_url. Share that link, wait until the person says they approved, then call this tool again with the same arguments plus approval_id. The approval works once, expires, and changed arguments, amount or target need a new one. approved: true in the input never counts as approval.)
idstringRequiredapprovedboolean- Deprecated. Ignored; the owner approves through Keystone.
totalMicrosintegerRequiredfinish_connectionsboolean- Recheck owner connections after launch without repeating purchases.
approval_idstring- The approval_id from a needs_approval result, after a person approved it. Pass the same arguments as the first call.
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/setup_kit_status
Setup kit status
Read
Read the saved plan, completed launch steps, links and outstanding owner actions for this workspace.
idstringRequiredworkspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/triggers_catalog
Triggers catalog
Read
What triggers can listen for and what they can do: event types with their sources and costs, the ready-made recipes, and the agents a trigger can wake. Read this before trigger_create.
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/triggers_list
Triggers list
Read
The triggers in this workspace with their status, what starts them, what they do and when they last fired.
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/trigger_create
Trigger create
Write
Make a trigger: when an event happens in this workspace's apps, run tool steps, wake an agent or run a saved playbook with the event as input. Easiest: pass a recipe (new_lead_text, low_review, cancel_waitlist, payment_thanks) and optionally change event, source or filters. App sources (Gmail, Stripe, Google Calendar, Calendly) must be connected first. A webhook trigger returns its link and signing secret once.
recipestring- A recipe key from triggers_catalog.
namestringevent"contact.created" | "lead.created" | "email.received" | "form.submitted" | ...source"keystone" | "hubspot" | "gmail" | "stripe" | ...filtersobject- extra. text matches any field; from and subject are for email; stars for reviews; min_amount in dollars; form is a form id or slug.
actionobject- What happens. Leave out when you pass a recipe.
hourly_capinteger- Most runs an hour. Default 30.
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/trigger_update
Trigger update
Write
Change a trigger: pause or turn it on (status), rename it, change filters, action or hourly cap. For webhook triggers, paste the sending app's own signing secret (webhook_secret) or make a new one (rotate_secret).
trigger_idstringRequiredstatus"on" | "paused"namestringfiltersobject- extra. text matches any field; from and subject are for email; stars for reviews; min_amount in dollars; form is a form id or slug.
actionobject- What happens. Leave out when you pass a recipe.
hourly_capintegerwebhook_secretstringrotate_secretbooleanworkspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/trigger_delete
Trigger delete
Destructive
Remove a trigger and its run history. Its app subscription is removed too.
trigger_idstringRequiredworkspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/trigger_runs
Trigger runs
Read
Recent runs of this workspace's triggers (or one trigger): the event that started each, what each step did, and any error.
trigger_idstringlimitintegerworkspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/trigger_test
Trigger test
Write
Try a trigger with a sample event (or one you pass). dry_run (default true) shows the exact steps and arguments it would run without running them. dry_run false runs it for real, so texts and emails go out.
trigger_idstringRequireddry_runbooleansampleobject- Event fields to use, like {"name":"Sarah Miller","phone":"+15555550142"}.
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/webhook_subscribe
Webhook subscribe
Write
Subscribe a public HTTPS endpoint to workspace events (contact.created, lead.created, booking.created, payment.received, message.received, form.submitted, call.missed, review.received, invoice.overdue, booking.canceled, email.received, webhook.received, or "*" for all events). Returns the signing secret once. Keystone signs every delivery with HMAC-SHA256 over "<timestamp>.<body>" in X-Keystone-Signature: v1=<hex> and X-Keystone-Timestamp.
urlstringRequired- Public HTTPS endpoint that receives signed POST deliveries.
events"*" | "contact.created" | "lead.created" | "email.received" | ...[]Required- Event types to receive, or ["*"] for all events.
namestring- Short label for this endpoint.
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/webhook_unsubscribe
Webhook unsubscribe
Destructive
Remove an outbound webhook subscription and stop event deliveries to its endpoint.
webhook_idstringRequiredworkspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/webhooks_list
Webhooks list
Read
List outbound webhook endpoints in this workspace, their subscribed events, status and last delivery code, plus all available event types.
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/webhook_update
Webhook update
Write
Update an outbound webhook endpoint: re-enable or disable it, rename it, change its URL or subscribed events, or rotate its signing secret.
webhook_idstringRequirednamestringurlstringevents"*" | "contact.created" | "lead.created" | "email.received" | ...[]status"active" | "disabled"rotate_secretbooleanworkspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/webhook_deliveries
Webhook deliveries
Read
Read recent outbound webhook deliveries in this workspace (or for one endpoint), including status, HTTP response code, attempts and errors.
webhook_idstringlimitintegerworkspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/loop_create
Loop create
Write
Create a custom Loop in this workspace. A Loop has a schedule (daily, weekly, monthly, interval or five-field cron in the business time zone with flex-minute jitter), a one-time run, a heartbeat, an event or a signed webhook trigger. Its target is a Redshift agent with a goal, a saved skill, or up to eight explicit tool steps. Event Loops can coalesce bursts and use a low-cost condition before the real run.
namestringRequireddescriptionstringtriggerobjectRequired- Examples: {kind:"schedule",schedule:{kind:"cron",cron:"15 9 * * 1-5",tz:"local time zone",flex_minutes:20}}, {kind:"once",run_at:1735689600000}, {kind:"event",event:"payment.received",source:"any"}, or {kind:"webhook"}.
target_kind"agent" | "skill" | "steps"agentstringskillstringtaskstring- The goal the agent or skill should accomplish.
stepsobject[]tools_allowedstring[]- extra allowlist of Keystone tool names the agent may use. Empty means the agent template default.
tierstring- Model id from redshift_agents.
budget_usdnumber- Maximum model spend for one run, in USD. 0 uses the model tier limit.
quiet_on_no_updatebooleanconditionstring- Low-cost model pre-filter for event and webhook loops, in plain English.
coalesce_keystring- Template such as {{raw.issue.id}}; events with the same key collect into one run.
coalesce_window_secondsintegercorrelation_keystringhourly_capintegerdaily_capintegerworkspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/loop_list
Loop list
Read
List custom Loops in this workspace with their trigger, target, budget, next run, last status and pause reason.
limitintegerworkspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/loop_update
Loop update
Write
Pause, resume, or change a custom Loop. Pass only the fields to change. Schedule changes recompute the next run.
idstringRequiredenabledbooleantriggerobjecttaskstringconditionobjectquiet_on_no_updatebooleantierstring- Model id from redshift_agents.
hourly_capintegerworkspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/loop_run_now
Loop run now
Write
Start one custom Loop now through the normal queue path. Returns its run id; use loop_runs to inspect the result.
idstringRequiredworkspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/loop_runs
Loop runs
Read
Read recent custom Loop runs in this workspace, with status, cost, pre-filter decision, summary and error.
loop_idstringstatus"queued" | "running" | "done" | "quiet" | ...limitintegerworkspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/loop_fleet_deploy
Loop fleet deploy
Write
Agency accounts only: deploy the same custom Loop definition to several workspaces in this account. Rows stay independent so one workspace cannot read or wake another.
workspace_idsstring[]RequirednamestringRequireddescriptionstringtriggerobjectRequiredtarget_kind"agent" | "skill" | "steps"agentstringskillstringtaskstringtierstring- Model id from redshift_agents.
budget_usdnumber- Maximum model spend for one run, in USD. 0 uses the model tier limit.
fleet_idstringworkspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/workflow_create
Workflow create
Write
Build a workflow: when something happens to a contact (the trigger), Keystone walks that contact through steps with waits, if/else branches and goals, like a GoHighLevel workflow. It starts turned off. Show the owner the outline this returns, then call workflow_set_status to turn it on. Steps run top to bottom, one contact at a time. Step types: text {message}, email {subject, body}, call {goal} (an AI phone call), task {title, due_in_days}, tag {add:[...], remove:[...]}, pipeline {stage_id, status, pipeline_id to add a deal}, webhook {url}, ai {prompt} (a Redshift agent does the job), loop {loop_id}, tool {tool, args} (any Keystone tool), wait {minutes} or {until_time:"09:00"} or {for_event, timeout_minutes}, branch {if:[{field, op, value}], match:"all"|"any", yes:[steps], no:[steps]} (fields: tag, email, phone, name, stars, amount, form, text, wait_result, raw.*), end. Messages use {{first_name}}, {{name}}, {{phone}}, {{email}}, {{business}}, {{starts_at}}, {{summary}}. Events: contact.created, lead.created, email.received, form.submitted, call.missed, message.received, message.replied, review.received, payment.received, invoice.overdue, booking.created, booking.canceled, webhook.received, contact.tag_added, opportunity.stage_changed, opportunity.won, opportunity.lost, appointment.booked, appointment.cancelled, contact.unsubscribed. Goals end a contact's run early when that event happens for them (for example booking.created).
namestringRequireddescriptionstringtriggerobjectRequired- {event, source?, filters?: {tag, stage, form, text, min_stars, max_stars, min_amount}}. Example: {event:"form.submitted", filters:{form:"contact"}}.
stepsobject[]Required- The steps in order. Give each an id if you plan to edit it later.
goalsobject[]- [{event, filters?, label?}]
allow_reenterboolean- Let a contact go through again after they finish.
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/workflow_list
Workflow list
Read
List the workflows in this workspace: on or off, trigger, step count, and how many contacts are in each now, reached the goal, finished or hit errors.
limitintegerworkspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/workflow_get
Workflow get
Read
Read one workflow: the full step tree with ids, the outline in plain words, goals, where contacts sit now by step, recent errors, and what did not import from GoHighLevel.
idstringRequired- Workflow id from workflow_list.
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/workflow_update
Workflow update
Write
Change a workflow. Pass only what changes. steps replaces the whole step tree (keep step ids so contacts already inside stay in place). edit changes one step in place: {step_id, message?, subject?, body?, goal?, minutes?, title?}. Steps run top to bottom, one contact at a time. Step types: text {message}, email {subject, body}, call {goal} (an AI phone call), task {title, due_in_days}, tag {add:[...], remove:[...]}, pipeline {stage_id, status, pipeline_id to add a deal}, webhook {url}, ai {prompt} (a Redshift agent does the job), loop {loop_id}, tool {tool, args} (any Keystone tool), wait {minutes} or {until_time:"09:00"} or {for_event, timeout_minutes}, branch {if:[{field, op, value}], match:"all"|"any", yes:[steps], no:[steps]} (fields: tag, email, phone, name, stars, amount, form, text, wait_result, raw.*), end. Messages use {{first_name}}, {{name}}, {{phone}}, {{email}}, {{business}}, {{starts_at}}, {{summary}}.
idstringRequired- Workflow id from workflow_list.
namestringdescriptionstringtriggerobjectstepsobject[]goalsobject[]allow_reenterbooleaneditobjectworkspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/workflow_set_status
Workflow set status
Write
Turn a workflow on or off. On: new contacts that match the trigger start right away, and contacts already inside continue. Off: nobody new starts and contacts inside pause where they are until it is on again. Show the owner the outline from workflow_get before turning it on.
idstringRequired- Workflow id from workflow_list.
onbooleanRequiredworkspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/workflow_enroll
Workflow enroll
Write
Put one contact into a workflow now, as if its trigger had fired for them. Give at least a phone, an email or a CRM contact id. The workflow must be on.
idstringRequired- Workflow id from workflow_list.
namestringphonestringemailstringcontact_idstring- CRM contact id, needed for tag, task and deal steps.
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/workflow_contacts
Workflow contacts
Read
Contacts in one workflow, newest activity first: where each one is, its status, errors, and the approval link when a step waits on a person.
idstringRequired- Workflow id from workflow_list.
status"active" | "waiting" | "held" | "done" | ...limitintegerworkspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/workflow_history
Workflow history
Read
Everything that happened to one contact in a workflow, step by step, with the result of each step.
enrollment_idstringRequiredworkspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/workflow_remove_contact
Workflow remove contact
Write
Take one contact out of a workflow now. Nothing else is sent to them from it.
enrollment_idstringRequiredworkspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/workflow_import
Workflow import
Write
Import a GoHighLevel workflow from its JSON (the workflow with its triggers and actions). Keystone maps what it can, creates the workflow turned off, and lists every step and trigger it could not map with the reason. Review the list with the owner before turning it on.
workflow_jsonobjectRequired- The GHL workflow as JSON text or an object.
namestringworkspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/workflow_delete
Workflow delete
Destructive
Delete a workflow, its contact history and its log. Contacts inside it get nothing more from it. This cannot be undone; turning it off keeps the history.
idstringRequired- Workflow id from workflow_list.
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/swap_scan
Swap scan
Write
Find the software this business pays for that Keystone already includes: schedulers (Calendly, Acuity), call tracking (CallRail), business phone and texting (OpenPhone, Grasshopper, SimpleTexting), review tools (Birdeye, Podium, NiceJob), form builders (Jotform, Typeform), website builders (Squarespace, Wix), rank trackers (BrightLocal, Whitespark), Zapier and Make, link-in-bio, simple CRMs, proposal tools and extra AI chat plans. Reads the receipts and card charges already in Keystone, Ramp and QuickBooks when connected, a card or bank statement CSV the person pastes, and the connected apps. Returns each vendor with its monthly cost, the charges as evidence, what replaces it in Keystone and the monthly and yearly saving after Keystone use and plan. It reads only and contacts no vendor. Agency owners and admins can pass all_clients true (or clients) to scan every client from stored data and get a rollup. Next: swap_plan.
statementstring- A card or bank statement as CSV text with date, description and amount columns. Only matched lines are kept.
paying_for"calendly" | "acuity" | "setmore" | "simplybook" | ...[]- Vendor keys the person says they pay for, when there is no charge to read.
all_clientsboolean- Agency owners and admins: scan every client workspace from stored data.
clientsstring[]- Agency: only these client workspaces (ids or slugs).
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/swap_plan
Swap plan
Read
The swap plan for each vendor from the last swap_scan (or one vendor): set up the Keystone replacement, the moves Keystone can run and what each needs from the person (an export file, labels, numbers), run both side by side for 14 days, and the cancel page with its steps and catches. Shows what is already moved (always turned off) or staged. Reads only.
vendor"calendly" | "acuity" | "setmore" | "simplybook" | ...workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/swap_move
Swap move
Write
Run one step of a vendor swap. Moves: contacts (export CSV into a new Keystone contact list; nothing is sent), forms (a paused Lead form from field labels or the entries export header), zaps (a Zapier, Make or n8n export into paused triggers), numbers (lists numbers and the porting checklist; files and buys nothing), reviews (review requests set up and turned off), booking (booking types on a booking page that stays off), keywords, site, links, proposals (staged lists). Everything Keystone makes starts turned off until the person checks it and turns it on. part running records that the person turned the Keystone side on (Keystone also notices a moved form, trigger, review requests or booking page turned on); both then run for 14 days before cancelling. part cancel stages the vendor cancel page, steps and a Redshift Computer task that stops before the final button; Keystone never cancels. part mark_cancelled records that the person cancelled; dismiss hides a vendor; reopen brings it back.
vendor"calendly" | "acuity" | "setmore" | "simplybook" | ...Requiredpart"contacts" | "forms" | "zaps" | "numbers" | ...Requiredfilestring- The export file as text (contacts CSV, form entries CSV, automation export).
itemsstring[]- Plain lines: form field labels, booking types, keywords, links, packages.
numbersstring[]- Phone numbers to bring over.
templatestring- The review request message used today.
review_urlstringworkspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/packs_list
Packs list
Read
Starter packs by kind of business (dental office, law firm, salon, gym, restaurant, real estate, online store, photographer, consultant, agency): each has ready jobs for the Keystone action bar, skills and triggers. Says which are added in this workspace and which fits it best.
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/pack_add
Pack add
Write
Add a starter pack to this workspace: saves its skills to the notebook and creates its triggers paused, and its jobs appear in the Keystone action bar. Nothing runs, texts, emails or posts until the owner turns a trigger on or approves a message. Adding the same pack again changes nothing.
pack"dental" | "law" | "salon" | "gym" | ...Required- The pack: dental (Dental office), law (Law firm), salon (Salon or spa), gym (Gym or studio), restaurant (Restaurant or cafe), real_estate (Real estate agent), shop (Online store), photographer (Photographer), consultant (Consultant or coach), agency (Marketing agency).
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/pack_remove
Pack remove
Destructive
Take a starter pack out of this workspace: deletes the triggers it made and the skills nobody has changed since. Skills someone edited stay.
pack"dental" | "law" | "salon" | "gym" | ...Required- The pack: dental (Dental office), law (Law firm), salon (Salon or spa), gym (Gym or studio), restaurant (Restaurant or cafe), real_estate (Real estate agent), shop (Online store), photographer (Photographer), consultant (Consultant or coach), agency (Marketing agency).
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/bar_jobs
Bar jobs
Read
The ready jobs in this workspace's action bar (from its starter packs, its kind of business and its saved skills), with the full instructions for each, so you can do one with Keystone tools. Messages to people still wait for the owner's approval.
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/switch_from_ghl
Switch from ghl
Write
Drive a GoHighLevel agency switch into Keystone. action=start (owner or admin only) connects the authorized agency import, creates or reuses one Keystone workspace per sub-account and starts the resumable import. action=status returns live progress per sub-account. action=report returns what moved, what needs approval, and what could not move with reasons. It never sends user invites, starts phone ports or changes carrier registration automatically.
action"start" | "status" | "report"Required- start begins or resumes the agency import; status reads live progress; report reads the final or current report.
job_idstring- A switch job id returned by an earlier call. Defaults to the latest job for this account.
run_nowboolean- For start and status (owner or admin only), advance the resumable job one bounded slice before answering.
workspacestring- Workspace slug or id. Omit to use your active workspace.
Connected apps and CRM
178 endpoints
Connected apps and CRM
178 endpoints
POST
/v1/tools/apps_search
Apps search
Read
Find app actions by plain words. Returns a short list with toolkit slugs, action slugs, risk, and which toolkits this workspace has connected.
querystringRequired- What you want to do, in plain words.
toolkitstring- Catalog slug, such as googleads or hubspot.
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/apps_schema
Apps schema
Read
Get one action input schema before apps_run. Returns its toolkit, required input, risk, description, and connection state for this workspace.
actionstringRequired- Action slug returned by apps_search.
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/apps_run
Apps run
Approval gated
Execute a catalog action. Specify the workspace and confirm writes, sends or charges with the user. Call apps_schema first and pass its inputSchema fields in input. Results are capped at about 100 KB. Hosted actions use the shared lookup allowance.
actionstringRequired- Action slug returned by apps_search.
request_idstring- For a hosted action, generate one UUID and reuse it when retrying that call.
instantboolean- Use the paid, no-setup route when apps_schema marks this action ready. Pass the instantInputSchema fields.
inputobjectRequired- Arguments matching the action inputSchema.
approval_idstring- The approval_id from a needs_approval result, after a person approved it. Pass the same arguments as the first call.
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/bookkeeper_packet
Bookkeeper packet
Write
Draft a monthly packet for review and approval in the dashboard.
periodstringRequiredrecipientstringRequiredworkspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/receipts_collect
Receipts collect
Write
Collect receipts from Ramp, QuickBooks, Gmail, Outlook or an enrolled read-only portal tool. Set schedule to monthly to repeat for each period.
periodstringRequiredsourceobjectschedule"monthly" | "off"cursorstringworkspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/receipts_match
Receipts match
Write
Match by vendor, amount, currency and date in Ramp, or specify a Ramp transaction or QuickBooks purchase or bill.
hashstringRequiredtransaction_idobjectworkspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/receipts_list
Receipts list
Read
List collected receipt documents and their Ramp transaction IDs.
periodstringRequiredafter_hashstringstatus"all" | "matched" | "unmatched"workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/serp_google
Serp google
Approval gated
Fetch live Google organic results and compare against the Web tab to replace poisoned results. Resolve Google goto links to destination URLs. DataForSEO bills for the search and the extra Web tab check. (Paid lookup, a few cents. It runs right away within the workspace daily lookup allowance. Past the allowance it returns needs_approval: share approve_url, then call again with approval_id.)
keywordstringRequiredlocation_namestringlanguage_codestringdepthintegerapproval_idstring- The approval_id from a needs_approval result, after a person approved it. Pass the same arguments as the first call.
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/keyword_volume
Keyword volume
Approval gated
Get Google Ads search volume, CPC, and competition for up to 100 keywords. DataForSEO bills per call. (Paid lookup, a few cents. It runs right away within the workspace daily lookup allowance. Past the allowance it returns needs_approval: share approve_url, then call again with approval_id.)
keywordsstring[]Requiredlocation_namestringlanguage_codestringapproval_idstring- The approval_id from a needs_approval result, after a person approved it. Pass the same arguments as the first call.
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/ranked_keywords
Ranked keywords
Approval gated
Get keywords a domain ranks for in Google, ordered by best position. DataForSEO bills per call. (Paid lookup, a few cents. It runs right away within the workspace daily lookup allowance. Past the allowance it returns needs_approval: share approve_url, then call again with approval_id.)
targetstringRequired- Domain, e.g. example.com
location_namestringlanguage_codestringlimitintegerapproval_idstring- The approval_id from a needs_approval result, after a person approved it. Pass the same arguments as the first call.
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/backlinks_summary
Backlinks summary
Approval gated
Get a domain’s backlink profile, including rank, referring domains, and spam score. DataForSEO bills per call. (Paid lookup, a few cents. It runs right away within the workspace daily lookup allowance. Past the allowance it returns needs_approval: share approve_url, then call again with approval_id.)
targetstringRequired- Domain, e.g. example.com
approval_idstring- The approval_id from a needs_approval result, after a person approved it. Pass the same arguments as the first call.
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/serp_google_maps
Serp google maps
Approval gated
Get live Google Maps results for a search, from a city or from one exact point (latitude and longitude), for local rank checks and map-pack grids. Returns rank, business name, domain, rating and address. DataForSEO bills per search. (Spends money or changes billing, so a person must approve the exact amount first. Keystone asks the account owner or an admin itself: in your client when it supports approval prompts, otherwise the result has status needs_approval with an approve_url. Share that link, wait until the person says they approved, then call this tool again with the same arguments plus approval_id. The approval works once, expires, and changed arguments, amount or target need a new one. approved: true in the input never counts as approval.)
keywordstringRequiredlocation_namestring- City or region, e.g. "Austin,Texas,United States". Omit when you pass latitude and longitude.
latitudenumberlongitudenumberzoomintegerlanguage_codestringdepthintegerapproval_idstring- The approval_id from a needs_approval result, after a person approved it. Pass the same arguments as the first call.
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/serp_google_ai_mode
Serp google AI mode
Approval gated
Get Google AI Mode's live answer for a question, with the sources it cites, to check whether a business is named or cited. DataForSEO bills per search. (Spends money or changes billing, so a person must approve the exact amount first. Keystone asks the account owner or an admin itself: in your client when it supports approval prompts, otherwise the result has status needs_approval with an approve_url. Share that link, wait until the person says they approved, then call this tool again with the same arguments plus approval_id. The approval works once, expires, and changed arguments, amount or target need a new one. approved: true in the input never counts as approval.)
keywordstringRequired- The question as a buyer would ask it.
location_namestringlanguage_codestringapproval_idstring- The approval_id from a needs_approval result, after a person approved it. Pass the same arguments as the first call.
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/perplexity_answer
Perplexity answer
Approval gated
Ask Perplexity one question live and get its answer and the sources it cites, to check whether a business is named or cited. DataForSEO bills per question, including the model cost. (Spends money or changes billing, so a person must approve the exact amount first. Keystone asks the account owner or an admin itself: in your client when it supports approval prompts, otherwise the result has status needs_approval with an approve_url. Share that link, wait until the person says they approved, then call this tool again with the same arguments plus approval_id. The approval works once, expires, and changed arguments, amount or target need a new one. approved: true in the input never counts as approval.)
questionstringRequiredmodel_name"sonar" | "sonar-pro" | "sonar-reasoning" | "sonar-reasoning-pro"approval_idstring- The approval_id from a needs_approval result, after a person approved it. Pass the same arguments as the first call.
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/backlinks_referring_domains
Backlinks referring domains
Approval gated
List the domains that link to a site, strongest first, to find where a competitor's links come from. DataForSEO bills per call. (Spends money or changes billing, so a person must approve the exact amount first. Keystone asks the account owner or an admin itself: in your client when it supports approval prompts, otherwise the result has status needs_approval with an approve_url. Share that link, wait until the person says they approved, then call this tool again with the same arguments plus approval_id. The approval works once, expires, and changed arguments, amount or target need a new one. approved: true in the input never counts as approval.)
targetstringRequired- Domain, e.g. example.com
limitintegerapproval_idstring- The approval_id from a needs_approval result, after a person approved it. Pass the same arguments as the first call.
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/bing_sites
Bing sites
Read
List the sites in Bing Webmaster Tools and their verification status.
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/bing_site_stats
Bing site stats
Read
Get daily Bing clicks, impressions, and crawl counts for a site.
sitestringRequired- Exact site URL from bing_sites.
daysintegerworkspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/bing_crawl_issues
Bing crawl issues
Read
List URLs Bing had trouble crawling, with the HTTP code, issue, and linking pages.
sitestringRequired- Exact site URL from bing_sites.
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/bing_list_sitemaps
Bing list sitemaps
Read
List the sitemaps Bing knows about, with crawl status and URL counts.
sitestringRequired- Exact site URL from bing_sites.
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/bing_submit_sitemap
Bing submit sitemap
Write
Submit a sitemap to Bing. Use bing_list_sitemaps to check its status.
sitestringRequired- Exact site URL from bing_sites.
feedstringRequired- A sitemap path or full URL on the same site.
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/eddm_routes
Eddm routes
Read
List carrier routes and residential, business and total address counts for ZIP codes in an Oppizi city. Omit city_id to list available cities.
city_idintegerzipsstring[]Requiredworkspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/eddm_quote
Eddm quote
Write
Price the selected carrier routes by size and total address count. Returns a Keystone quote ID and USD prices.
routesobject[]Requiredformat"SMALL" | "BEST_SELLER" | "LARGE" | "JUMBO" | ...RequiredquantityintegerRequiredcity_idintegerRequiredworkspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/eddm_campaign_prepare
Eddm campaign prepare
Write
Prepare a draft using a quote and artwork already uploaded to Oppizi. Omit design_id to find an uploaded design. Oppizi creates EDDM drafts in BEST_SELLER size.
quote_idstringRequireddesign_idintegernamestringRequiredmail_datestringRequiredworkspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/eddm_campaign_submit
Eddm campaign submit
Approval gated
Submit a draft to Oppizi for review, printing and mailing at its exact quoted total. Show the customer the routes, count, total and mail date first. Keystone asks the owner to approve the total before anything is submitted. (Spends money or changes billing, so a person must approve the exact amount first. Keystone asks the account owner or an admin itself: in your client when it supports approval prompts, otherwise the result has status needs_approval with an approve_url. Share that link, wait until the person says they approved, then call this tool again with the same arguments plus approval_id. The approval works once, expires, and changed arguments, amount or target need a new one. approved: true in the input never counts as approval.)
quote_idstringRequiredapprovedboolean- Deprecated. Ignored; the owner approves through Keystone.
approved_totalnumberRequiredapproval_idstring- The approval_id from a needs_approval result, after a person approved it. Pass the same arguments as the first call.
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/eddm_campaign_status
Eddm campaign status
Read
Check Oppizi status history, artwork and schedule for this workspace’s campaign.
quote_idstringRequiredworkspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/ramp_list
Ramp list
Read
List a page of Ramp transactions, bills or receipts.
resource"transactions" | "bills" | "receipts"Requiredcursorstringworkspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/quickbooks_list
Quickbooks list
Read
List purchases, bills or attached documents in QuickBooks Online.
entity"Purchase" | "Bill" | "Attachable"Requiredstartintegerworkspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/meta_ads_accounts
Meta ads accounts
Read
Read the Meta ad account connected to this workspace.
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/meta_ads_campaigns
Meta ads campaigns
Read
List campaign status, objective, budgets and spend over 7 and 30 days.
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/meta_ads_insights
Meta ads insights
Read
Read campaign performance over an inclusive date range.
sincestringRequireduntilstringRequiredbreakdowns"age" | "gender" | "country" | "region" | ...[]workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/meta_ads_campaign_create
Meta ads campaign create
Write
Create a paused local traffic or instant-form lead campaign. Budget uses account minor units.
namestringRequiredobjective"traffic" | "leads"Requireddaily_budgetintegerRequiredlatitudenumberRequiredlongitudenumberRequiredradius_milesintegerRequiredpage_idstringRequiredform_idstringimage_urlstringRequireddestination_urlstringRequiredtextstringRequiredworkspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/meta_ads_campaign_enable
Meta ads campaign enable
Approval gated
Enable a paused campaign and its ads at its exact current total daily budget in account minor units. Keystone asks the owner to approve that budget before anything starts. (Spends money or changes billing, so a person must approve the exact amount first. Keystone asks the account owner or an admin itself: in your client when it supports approval prompts, otherwise the result has status needs_approval with an approve_url. Share that link, wait until the person says they approved, then call this tool again with the same arguments plus approval_id. The approval works once, expires, and changed arguments, amount or target need a new one. approved: true in the input never counts as approval.)
campaign_idstringRequiredapprovedboolean- Deprecated. Ignored; the owner approves through Keystone.
daily_budgetintegerRequiredapproval_idstring- The approval_id from a needs_approval result, after a person approved it. Pass the same arguments as the first call.
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/meta_ads_campaign_pause
Meta ads campaign pause
Approval gated
Pause delivery for a campaign. (Spends money or changes billing, so a person must approve the exact amount first. Keystone asks the account owner or an admin itself: in your client when it supports approval prompts, otherwise the result has status needs_approval with an approve_url. Share that link, wait until the person says they approved, then call this tool again with the same arguments plus approval_id. The approval works once, expires, and changed arguments, amount or target need a new one. approved: true in the input never counts as approval.)
campaign_idstringRequiredapproval_idstring- The approval_id from a needs_approval result, after a person approved it. Pass the same arguments as the first call.
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/meta_ads_budget_set
Meta ads budget set
Approval gated
Change an existing campaign or ad set daily budget within the workspace cap, in account minor units. (Spends money or changes billing, so a person must approve the exact amount first. Keystone asks the account owner or an admin itself: in your client when it supports approval prompts, otherwise the result has status needs_approval with an approve_url. Share that link, wait until the person says they approved, then call this tool again with the same arguments plus approval_id. The approval works once, expires, and changed arguments, amount or target need a new one. approved: true in the input never counts as approval.)
target_idstringRequireddaily_budgetintegerRequiredapproval_idstring- The approval_id from a needs_approval result, after a person approved it. Pass the same arguments as the first call.
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/callrail_list_companies
Callrail list companies
Read
List companies in the connected CallRail account with their IDs, status, and time zone.
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/callrail_call_summary
Callrail call summary
Read
Summarize CallRail calls for a window (default last 7 days): totals, first-time callers, answered, missed, voicemail, good leads, and breakdowns by source and tracking number.
date_range"recent" | "today" | "yesterday" | "last_7_days" | ...- Preset window (default last_7_days). Ignored when start_date is given.
start_datestringend_datestringcompanystring- Company name (or part) or ID; defaults to all companies.
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/callrail_list_calls
Callrail list calls
Read
List CallRail calls newest first with source, campaign, keywords, caller, answered status, first-time flag, lead status and score, transcript excerpt, and recording link.
date_range"recent" | "today" | "yesterday" | "last_7_days" | ...- Preset window (default last_7_days). Ignored when start_date is given.
start_datestringend_datestringcompanystring- Company name (or part) or ID.
sourcestring- Filter to sources containing this text, such as Google Ads.
answer_status"answered" | "missed" | "voicemail"first_time_onlybooleanlead_status"good_lead" | "not_a_lead" | "previously_marked_good_lead"full_transcriptsboolean- Return full transcripts instead of short excerpts.
limitintegerworkspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/callrail_get_call
Callrail get call
Read
Read one CallRail call by ID with the full transcript, lead score and explanation, source attribution, and recording link.
idstringRequiredworkspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/callrail_list_forms
Callrail list forms
Read
List CallRail form submissions newest first with source, campaign, landing page, lead status, and submitted fields.
date_range"recent" | "today" | "yesterday" | "last_7_days" | ...- Preset window (default last_7_days). Ignored when start_date is given.
start_datestringend_datestringcompanystringlimitintegerworkspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/whatconverts_list_accounts
Whatconverts list accounts
Read
List WhatConverts accounts and their nested profiles. Requires a Master Account (agency) API key.
start_datestringend_datestringaccounts_per_pageintegerpage_numberintegerworkspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/whatconverts_list_leads
Whatconverts list leads
Read
List WhatConverts leads (calls, forms, chats, emails, transactions) with source attribution, quotable status, and values.
account_idinteger- Account ID (when using an agency key).
profile_idinteger- Profile ID (when using an agency key).
lead_type"appointment" | "chat" | "email" | "event" | ...lead_status"repeat" | "unique"quotable"yes" | "no" | "pending" | "not_set"start_datestring- Start date (YYYY-MM-DD, coordinated universal time). Defaults to today in WhatConverts.
end_datestring- End date (YYYY-MM-DD, coordinated universal time).
lead_sourcestringlead_mediumstringlead_campaignstringspambooleanduplicatebooleanorder"asc" | "desc"leads_per_pageintegerpage_numberintegerworkspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/whatconverts_get_lead
Whatconverts get lead
Read
Read one WhatConverts lead by lead ID with full attribution, contact fields, and values.
lead_idstringRequiredworkspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/whatconverts_lead_summary
Whatconverts lead summary
Read
Summarize WhatConverts leads for a date range: counts by lead type and marketing source, quotable leads, quote value, and sales value.
account_idintegerprofile_idintegerstart_datestringRequired- Start date (YYYY-MM-DD, coordinated universal time).
end_datestring- End date (YYYY-MM-DD, coordinated universal time).
max_leadsintegerworkspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/ctm_list_accounts
Ctm list accounts
Read
List CallTrackingMetrics accounts accessible to this workspace key.
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/ctm_list_calls
Ctm list calls
Read
List CallTrackingMetrics calls with source attribution, caller details, duration, status, new-caller flag, and transcript excerpt.
account_idstring- CTM account ID. Defaults to the first account on the connected key.
start_datestringend_datestringfilterstring- Search term passed to CTM filter.
full_transcriptsbooleanper_pageintegerpageintegerworkspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/ctm_call_summary
Ctm call summary
Read
Summarize CallTrackingMetrics calls in a date range: total calls, answered, missed, new callers, talk time, and counts by source and tracking number.
account_idstring- CTM account ID. Defaults to the first account on the connected key.
start_datestringend_datestringmax_callsintegerworkspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/ctm_list_numbers
Ctm list numbers
Read
List tracking phone numbers configured in a CallTrackingMetrics account.
account_idstring- CTM account ID. Defaults to the first account on the connected key.
per_pageintegerpageintegerworkspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/ctm_list_forms
Ctm list forms
Read
List FormReactor tracking forms configured in a CallTrackingMetrics account.
account_idstring- CTM account ID. Defaults to the first account on the connected key.
per_pageintegerpageintegerworkspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/brightlocal_list_locations
Brightlocal list locations
Read
List business locations in BrightLocal with address, phone, client ID, and status.
limitintegeroffsetintegerworkspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/brightlocal_get_location
Brightlocal get location
Read
Read one BrightLocal location profile by location ID.
location_idstringRequiredworkspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/brightlocal_list_clients
Brightlocal list clients
Read
List agency clients configured in BrightLocal.
limitintegeroffsetintegerworkspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/brightlocal_rank_reports
Brightlocal rank reports
Read
List Local Rank Tracker (lrt) or Local Search Grid (lsg) reports in BrightLocal, or read one report by report_id.
report_type"lrt" | "lsg"- lrt for Local Rank Tracker, lsg for Local Search Grid.
report_idstring- Pass a report ID to fetch one report; omit to list reports.
limitintegeroffsetintegerworkspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/brightlocal_reputation_reviews
Brightlocal reputation reviews
Read
List BrightLocal Reputation Manager reports, or read customer reviews from a specific Reputation Manager report.
report_idstring- Pass a Reputation Manager report ID to read its reviews; omit to list reports.
limitintegeroffsetintegerworkspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/whitespark_list_grids
Whitespark list grids
Read
List Whitespark Local Ranking Grids with business name, keyword, visibility score, average rank, and review score.
pageintegerper_pageintegerworkspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/whitespark_get_grid
Whitespark get grid
Read
Read one Whitespark ranking grid and its recent scan runs.
grid_idstringRequiredruns_limitintegerworkspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/whitespark_get_run_points
Whitespark get run points
Read
Read one Whitespark grid scan run and every scanned map point with coordinates and business rank.
grid_idstringRequiredrun_idstringRequiredworkspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/whitespark_get_run_competitors
Whitespark get run competitors
Read
List local map competitors detected in a Whitespark ranking grid scan run.
grid_idstringRequiredrun_idstringRequiredworkspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/birdeye_get_business
Birdeye get business
Read
Read a Birdeye business profile, address, contact info, average rating, and review count.
business_idstring- Child location business ID; defaults to the connected business ID.
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/birdeye_list_locations
Birdeye list locations
Read
List child business locations under a parent or enterprise Birdeye business ID.
business_idstring- Child location business ID; defaults to the connected business ID.
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/birdeye_review_summary
Birdeye review summary
Read
Read aggregate Birdeye review counts and average star rating for a business location.
business_idstring- Child location business ID; defaults to the connected business ID.
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/birdeye_list_reviews
Birdeye list reviews
Read
List Birdeye customer reviews with rating, source, reviewer, review date, comment, and owner response.
business_idstring- Child location business ID; defaults to the connected business ID.
from_datestring- Start date (YYYY-MM-DD).
to_datestring- End date (YYYY-MM-DD).
sourcesstring[]- Filter to sources such as Google or Facebook.
ratingsinteger[]- Filter to specific star ratings (1 to 5).
sindexintegercountintegerworkspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/workiz_list_jobs
Workiz list jobs
Read
List Workiz jobs with schedule, status, source, customer, address, and totals.
start_datestring- Return jobs on or after this date (YYYY-MM-DD).
only_openboolean- Only return open jobs.
statusstringoffsetintegerrecordsintegerworkspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/workiz_get_job
Workiz get job
Read
Read one Workiz job by UUID with customer details, notes, line items, and totals.
uuidstringRequiredworkspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/workiz_list_leads
Workiz list leads
Read
List Workiz leads with source, status, contact info, and notes.
start_datestring- Return leads on or after this date (YYYY-MM-DD).
only_openbooleanstatusstringoffsetintegerrecordsintegerworkspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/workiz_list_invoices
Workiz list invoices
Read
List Workiz invoices with payment status, balances, amounts, and linked jobs and clients.
start_datestring- Return invoices on or after this date (YYYY-MM-DD).
offsetintegerrecordsintegerworkspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/workiz_list_clients
Workiz list clients
Read
List Workiz clients with contact details and service addresses.
offsetintegerrecordsintegerworkspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/fieldpulse_list_customers
Fieldpulse list customers
Read
List or search FieldPulse customers with contact info and billing address.
searchstring- Search filter.
pageintegerlimitintegerworkspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/fieldpulse_list_jobs
Fieldpulse list jobs
Read
List or search FieldPulse jobs with schedule, status, customer ID, and assigned technicians.
searchstring- Search filter.
pageintegerlimitintegerworkspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/fieldpulse_list_invoices
Fieldpulse list invoices
Read
List or search FieldPulse invoices with totals, balance due, status, and due date.
searchstring- Search filter.
pageintegerlimitintegerworkspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/fieldpulse_list_estimates
Fieldpulse list estimates
Read
List or search FieldPulse estimates with customer ID, status, and totals.
searchstring- Search filter.
pageintegerlimitintegerworkspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/companycam_list_projects
Companycam list projects
Read
List or search CompanyCam jobsite projects with address, status, and photo count.
querystring- Search projects by name or address.
pageintegerper_pageintegerworkspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/companycam_get_project
Companycam get project
Read
Read one CompanyCam jobsite project by project ID.
project_idstringRequiredworkspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/companycam_list_photos
Companycam list photos
Read
List CompanyCam jobsite photos across the company or for one project.
project_idstring- Pass a project ID to list only photos in that project.
start_timeinteger- Unix timestamp (seconds) lower bound.
end_timeinteger- Unix timestamp (seconds) upper bound.
pageintegerper_pageintegerworkspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/companycam_list_users
Companycam list users
Read
List users and field technicians in the connected CompanyCam company.
pageintegerper_pageintegerworkspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/gorilladesk_list_customers
Gorilladesk list customers
Read
List GorillaDesk customers with contact info, company, status, and service locations.
pageintegerlimitintegerworkspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/gorilladesk_list_jobs
Gorilladesk list jobs
Read
List GorillaDesk jobs with schedule, status, customer ID, service type, and technician assignment.
start_datestringend_datestringstatusstringpageintegerlimitintegerworkspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/gorilladesk_list_invoices
Gorilladesk list invoices
Read
List GorillaDesk invoices with customer ID, status, totals, balance due, and dates.
statusstringpageintegerlimitintegerworkspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/gorilladesk_list_estimates
Gorilladesk list estimates
Read
List GorillaDesk estimates with customer ID, status, and totals.
pageintegerlimitintegerworkspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/permits_search
Permits search
Read
Search building permits by area or property address. Filter by work, status, dates, valuation or contractor. See coverage and source for each search.
whereobjectRequiredfiltersobjectlimitinteger- Results per page. Use zero for a free count.
cursorstring- Pass next_cursor with the same search to fetch its next page.
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/property_permits
Property permits
Read
Read the recorded permit history for one property address or Mireye parcel ID, including older and undated permits.
parcelobjectRequiredlimitinteger- Results per page. Use zero for a free count.
cursorstring- Pass next_cursor with the same search to fetch its next page.
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/contractor_permits
Contractor permits
Read
Find permits for a contractor in an area by name or Mireye contractor ID.
areaobjectRequired- Search by state and county FIPS, state and city, ZIP, point and radius in metres, or state.
contractorobjectRequiredfiltersobjectlimitinteger- Results per page. Use zero for a free count.
cursorstring- Pass next_cursor with the same search to fetch its next page.
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/property_lookup
Property lookup
Read
Single-source building data from ATTOM: property details, owner and construction year. Include the estimated value with a separate ATTOM lookup.
addressstringRequired- Full US street address, including city, state, and ZIP code.
include_valuationbooleanworkspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/property_sales
Property sales
Read
Read the recorded sales history for one address from ATTOM Data.
addressstringRequired- Full US street address, including city, state, and ZIP code.
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/owner_lookup
Owner lookup
Read
Find owner phone numbers, emails and mailing addresses for one property. Use BatchData for licensed business purposes. Exclude consumer eligibility and covered-person targeting. Contact data carries no consent. Check Do Not Call lists, TCPA, CAN-SPAM and applicable privacy rules, and obtain any required consent before outreach.
addressobjectRequiredcertified_usebooleanRequired- Confirm this use complies with BatchData’s license and excludes FCRA-regulated eligibility or screening.
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/property_list_build
Property list build
Read
Search property records by city, county or ZIP, with owner and valuation filters. Use BatchData for licensed business purposes. Exclude consumer eligibility and covered-person targeting.
areastringRequired- City and state, county and state, or ZIP code.
quick_list"absentee-owner" | "out-of-state-owner" | "owner-occupied" | "corporate-owned" | ...property_typestring- BatchData property type, for example Single Family.
minimum_valueintegermaximum_valueintegerlimitinteger- Properties per page. Zero requests a count and costs one record.
offsetintegercertified_usebooleanRequired- Confirm this use complies with BatchData’s license and excludes FCRA-regulated eligibility or screening.
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/parcel_lookup
Parcel lookup
Read
Parcel geometry from one provider: find US parcel boundaries and assessor attributes by street address or map point. Returns GeoJSON.
locationobjectRequiredlimitintegerworkspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/ga4_create_key_event
GA4 create key event
Write
Mark a GA4 event as a key event in a bound property.
propertystringRequireddry_runboolean- Check input and workspace binding without creating anything.
event_namestringRequiredcounting_method"ONCE_PER_EVENT" | "ONCE_PER_SESSION"workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/ga4_list_data_streams
GA4 list data streams
Read
List the data stream IDs and display names of a bound GA4 property.
propertystringRequiredpageTokenstringworkspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/ga4_list_measurement_protocol_secrets
GA4 list measurement protocol secrets
Read
List Measurement Protocol credential names for a data stream in the bound GA4 property.
propertystringRequiredstream_idstringRequiredpageTokenstringworkspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/ga4_create_measurement_protocol_secret
GA4 create measurement protocol secret
Write
Create a Measurement Protocol credential for a bound GA4 data stream. Use GA4 Admin to retrieve its value for the server that sends events.
propertystringRequiredstream_idstringRequireddisplay_namestringRequireddry_runboolean- Check input and workspace binding without creating anything.
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/gtm_create_tag
Gtm create tag
Write
Create a draft tag using a GTM template type and parameters. Supports GA4 events, Google Ads conversion tracking and website call tracking.
containerstringRequiredworkspace_idstringRequireddry_runboolean- Check input and workspace binding without creating anything.
entityobjectRequiredworkspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/gtm_create_trigger
Gtm create trigger
Write
Create a draft trigger for a custom data layer event, page view, click or form submission.
containerstringRequiredworkspace_idstringRequireddry_runboolean- Check input and workspace binding without creating anything.
entityobjectRequiredworkspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/gtm_create_variable
Gtm create variable
Write
Create a draft variable using its GTM type and parameters.
containerstringRequiredworkspace_idstringRequireddry_runboolean- Check input and workspace binding without creating anything.
entityobjectRequiredworkspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/gtm_create_version
Gtm create version
Write
Save the draft as a container version. Google replaces the source Tag Manager workspace when the version is created.
containerstringRequiredworkspace_idstringRequirednamestringRequirednotesstringdry_runboolean- Check input and workspace binding without creating anything.
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/gtm_publish_version
Gtm publish version
Write
Publish this Tag Manager version to the live container. Its tags can start firing on sites using this container.
containerstringRequiredversion_idstringRequiredfingerprintstringdry_runboolean- Check input and workspace binding without creating anything.
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/gsc_list_sites
Search Console list sites
Read
List Search Console properties bound to this workspace.
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/gsc_search_analytics
Search Console search analytics
Read
Get Search Console clicks, impressions, CTR, and position by query, page, country, device, or date.
sitestringRequired- Exact siteUrl from gsc_list_sites, including any sc-domain: prefix.
startDatestringRequiredendDatestringRequireddimensions"query" | "page" | "device" | "country" | ...[]rowLimitintegerfiltersobject[]workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/gsc_inspect_url
Search Console inspect URL
Read
Check a URL’s Search Console index status, last crawl, and canonical URL.
sitestringRequired- Exact siteUrl from gsc_list_sites, including any sc-domain: prefix.
urlstringRequiredworkspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/gsc_list_sitemaps
Search Console list sitemaps
Read
List Search Console sitemaps, including the last download and error counts.
sitestringRequired- Exact siteUrl from gsc_list_sites, including any sc-domain: prefix.
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/ga4_list_properties
GA4 list properties
Read
List GA4 properties bound to this workspace.
pageTokenstringworkspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/ga4_run_report
GA4 run report
Read
Run a GA4 report with metrics such as sessions and activeUsers, and dimensions such as date or sessionDefaultChannelGroup.
propertystringRequired- GA4 property ID or properties/ID from ga4_list_properties.
startDateobjectRequiredendDateobjectRequiredmetricsstring[]Requireddimensionsstring[]limitintegerorderBystring- A selected metric or dimension. Prefix with - for descending order.
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/ga4_realtime
GA4 realtime
Read
Get active GA4 users over the last 30 minutes by country and device category.
propertystringRequired- GA4 property ID or properties/ID from ga4_list_properties.
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/gsc_submit_sitemap
Search Console submit sitemap
Write
Submit a sitemap for a bound Search Console site.
sitestringRequired- Exact siteUrl from gsc_list_sites, including any sc-domain: prefix.
sitemapstringRequireddry_runbooleanworkspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/ga4_metadata
GA4 metadata
Read
Read available dimensions and metrics for a bound GA4 property.
propertystringRequired- GA4 property ID or properties/ID from ga4_list_properties.
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/gtm_list_containers
Gtm list containers
Read
List Tag Manager containers bound to this workspace.
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/gtm_list_workspaces
Gtm list workspaces
Read
List workspaces in a bound Tag Manager container.
containerstringRequiredpageTokenstringworkspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/gtm_list_tags
Gtm list tags
Read
List tags in a Tag Manager workspace within a bound container.
containerstringRequiredworkspaceIdstringRequiredpageTokenstringworkspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/gtm_list_triggers
Gtm list triggers
Read
List triggers in a Tag Manager workspace within a bound container.
containerstringRequiredworkspaceIdstringRequiredpageTokenstringworkspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/gtm_list_variables
Gtm list variables
Read
List variables in a Tag Manager workspace within a bound container.
containerstringRequiredworkspaceIdstringRequiredpageTokenstringworkspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/gbp_list_accounts
Business Profile list accounts
Read
List only Business Profile accounts accepted and bound to this workspace.
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/gbp_list_locations
Business Profile list locations
Read
List locations from account groups or individual locations accepted and bound to this workspace.
accountstring- Account resource name from gbp_list_accounts.
pageTokenstringworkspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/gbp_list_reviews
Business Profile list reviews
Read
List reviews for a location bound to this workspace. Pass nextPageToken as pageToken to continue.
accountstringRequired- Account resource name from gbp_list_accounts.
locationstringRequired- Location resource name from gbp_list_locations.
pageTokenstringworkspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/gbp_reply_to_review
Business Profile reply to review
Approval gated
Publish a public reply for a review at a Business Profile location bound to this workspace. Replaces any existing reply. (Sends an external message; confirm with the user first. If the workspace requires approval for sends, the result has status needs_approval: share the approve_url, then call again with the same arguments plus approval_id.)
reviewstringRequired- Full review resource name from gbp_list_reviews.
commentstringRequireddry_runbooleanapproval_idstring- The approval_id from a needs_approval result, after a person approved it. Pass the same arguments as the first call.
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/gbp_create_post
Business Profile create post
Approval gated
Publish a public update, offer or event to a bound Business Profile location. (Sends an external message; confirm with the user first. If the workspace requires approval for sends, the result has status needs_approval: share the approve_url, then call again with the same arguments plus approval_id.)
accountstringRequired- Account resource name from gbp_list_accounts.
locationstringRequired- Location resource name from gbp_list_locations.
dry_runbooleanpostobjectRequiredlanguage_codestringRequiredsummarystringRequiredphotosstring[]approval_idstring- The approval_id from a needs_approval result, after a person approved it. Pass the same arguments as the first call.
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/gbp_update_location
Business Profile update location
Write
Update the regular hours, special hours or public description for a bound Business Profile location. Supply only the fields to replace.
accountstringRequired- Account resource name from gbp_list_accounts.
locationstringRequired- Location resource name from gbp_list_locations.
dry_runbooleandescriptionstringregular_hoursobject[]special_hoursobject[]workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/gbp_list_attributes
Business Profile list attributes
Read
List the attributes currently set on a bound Business Profile location.
accountstringRequired- Account resource name from gbp_list_accounts.
locationstringRequired- Location resource name from gbp_list_locations.
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/gbp_update_attributes
Business Profile update attributes
Write
Update supported attributes on a bound Business Profile location. Attribute names and value types depend on the business category.
accountstringRequired- Account resource name from gbp_list_accounts.
locationstringRequired- Location resource name from gbp_list_locations.
dry_runbooleanattributesobject[]Requiredworkspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/roof_report
Roof report
Approval gated
Measure a roof from satellite imagery for a roofing quote: roof area in square feet, each roof plane with pitch (x/12) and the direction it faces, yearly sunshine, and squares with a waste factor, plus a plain summary. Included in Keystone and billed pay-as-you-go from the workspace wallet; no API key setup is required. (Spends money or changes billing, so a person must approve the exact amount first. Keystone asks the account owner or an admin itself: in your client when it supports approval prompts, otherwise the result has status needs_approval with an approve_url. Share that link, wait until the person says they approved, then call this tool again with the same arguments plus approval_id. The approval works once, expires, and changed arguments, amount or target need a new one. approved: true in the input never counts as approval.)
addressstringRequired- Street address of the building, with city and state.
waste_percentnumber- Waste factor added to the squares count.
min_quality"HIGH" | "MEDIUM" | "BASE"- Lowest imagery quality to accept. Better imagery is returned when available.
request_idstring- extra idempotency ID so retries do not double-charge.
approval_idstring- The approval_id from a needs_approval result, after a person approved it. Pass the same arguments as the first call.
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/gads_list_accounts
Gads list accounts
Read
List the Google Ads customer IDs bound to this workspace and the requests still waiting for the account owner. A request binds after the owner accepts the Keystone manager invitation and creates the label shown here.
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/gads_query
Gads query
Read
Run a read-only GAQL SELECT for a customer bound to this workspace. Returns up to 500 rows. Money fields ending in Micros use millionths of the account currency.
customer_idstringRequired- Bound Google Ads customer ID, with or without hyphens.
querystringRequiredworkspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/gads_campaign_performance
Gads campaign performance
Read
Get impressions, clicks, cost in account currency, conversions, and phone calls for campaigns in a customer bound to this workspace.
customer_idstringRequiredfromstringRequiredtostringRequiredby"campaign" | "week" | "day"workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/gads_create_budget
Gads create budget
Write
Create a daily Google Ads budget for one campaign.
namestringRequireddaily_budget_microsobjectRequired- Millionths of the Google Ads account currency.
customer_idstringRequireddry_runbooleanworkspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/gads_update_budget
Gads update budget
Approval gated
Change the daily budget of a Google Ads campaign budget. (Spends money or changes billing, so a person must approve the exact amount first. Keystone asks the account owner or an admin itself: in your client when it supports approval prompts, otherwise the result has status needs_approval with an approve_url. Share that link, wait until the person says they approved, then call this tool again with the same arguments plus approval_id. The approval works once, expires, and changed arguments, amount or target need a new one. approved: true in the input never counts as approval.)
budget_idstringRequireddaily_budget_microsobjectRequired- Millionths of the Google Ads account currency.
customer_idstringRequireddry_runbooleanapproval_idstring- The approval_id from a needs_approval result, after a person approved it. Pass the same arguments as the first call.
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/gads_create_search_campaign
Gads create search campaign
Write
Create a paused Search campaign. Add targeting, ad groups and ads before enabling it.
namestringRequiredbudget_idstringRequiredbiddingobjectRequirednetworksobjectcontains_eu_political_advertisingbooleanRequired- Advertiser declaration that the campaign contains political advertising targeted at the EU.
customer_idstringRequireddry_runbooleanworkspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/gads_update_search_campaign
Gads update search campaign
Approval gated
Change Search campaign name, budget, networks or bidding. Supply one or more fields. (Spends money or changes billing, so a person must approve the exact amount first. Keystone asks the account owner or an admin itself: in your client when it supports approval prompts, otherwise the result has status needs_approval with an approve_url. Share that link, wait until the person says they approved, then call this tool again with the same arguments plus approval_id. The approval works once, expires, and changed arguments, amount or target need a new one. approved: true in the input never counts as approval.)
campaign_idstringRequirednamestringbudget_idstringbiddingobjectnetworksobjectcustomer_idstringRequireddry_runbooleanapproval_idstring- The approval_id from a needs_approval result, after a person approved it. Pass the same arguments as the first call.
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/gads_add_campaign_criteria
Gads add campaign criteria
Approval gated
Add location targets, ad schedules or negative keywords to a campaign. (Spends money or changes billing, so a person must approve the exact amount first. Keystone asks the account owner or an admin itself: in your client when it supports approval prompts, otherwise the result has status needs_approval with an approve_url. Share that link, wait until the person says they approved, then call this tool again with the same arguments plus approval_id. The approval works once, expires, and changed arguments, amount or target need a new one. approved: true in the input never counts as approval.)
campaign_idstringRequiredcriteriaobject[]Requiredcustomer_idstringRequireddry_runbooleanapproval_idstring- The approval_id from a needs_approval result, after a person approved it. Pass the same arguments as the first call.
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/gads_remove_campaign_criteria
Gads remove campaign criteria
Approval gated
Remove location, schedule or negative keyword criteria. Removing a criterion may broaden serving. (Spends money or changes billing, so a person must approve the exact amount first. Keystone asks the account owner or an admin itself: in your client when it supports approval prompts, otherwise the result has status needs_approval with an approve_url. Share that link, wait until the person says they approved, then call this tool again with the same arguments plus approval_id. The approval works once, expires, and changed arguments, amount or target need a new one. approved: true in the input never counts as approval.)
campaign_idstringRequiredcriterion_idsstring[]Requiredcustomer_idstringRequireddry_runbooleanapproval_idstring- The approval_id from a needs_approval result, after a person approved it. Pass the same arguments as the first call.
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/gads_create_ad_group
Gads create ad group
Approval gated
Create a Search ad group. An enabled group can serve once it has eligible ads, keywords and an enabled campaign. (Spends money or changes billing, so a person must approve the exact amount first. Keystone asks the account owner or an admin itself: in your client when it supports approval prompts, otherwise the result has status needs_approval with an approve_url. Share that link, wait until the person says they approved, then call this tool again with the same arguments plus approval_id. The approval works once, expires, and changed arguments, amount or target need a new one. approved: true in the input never counts as approval.)
campaign_idstringRequirednamestringRequiredcpc_bid_microsobject- Millionths of the Google Ads account currency.
status"PAUSED" | "ENABLED"customer_idstringRequireddry_runbooleanapproval_idstring- The approval_id from a needs_approval result, after a person approved it. Pass the same arguments as the first call.
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/gads_update_ad_group
Gads update ad group
Approval gated
Change the name or manual CPC bid of an existing Search ad group. (Spends money or changes billing, so a person must approve the exact amount first. Keystone asks the account owner or an admin itself: in your client when it supports approval prompts, otherwise the result has status needs_approval with an approve_url. Share that link, wait until the person says they approved, then call this tool again with the same arguments plus approval_id. The approval works once, expires, and changed arguments, amount or target need a new one. approved: true in the input never counts as approval.)
ad_group_idstringRequirednamestringcpc_bid_microsobject- Millionths of the Google Ads account currency.
customer_idstringRequireddry_runbooleanapproval_idstring- The approval_id from a needs_approval result, after a person approved it. Pass the same arguments as the first call.
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/gads_add_keywords
Gads add keywords
Approval gated
Add exact, phrase or broad keywords to an ad group. Set negative to exclude them. (Spends money or changes billing, so a person must approve the exact amount first. Keystone asks the account owner or an admin itself: in your client when it supports approval prompts, otherwise the result has status needs_approval with an approve_url. Share that link, wait until the person says they approved, then call this tool again with the same arguments plus approval_id. The approval works once, expires, and changed arguments, amount or target need a new one. approved: true in the input never counts as approval.)
ad_group_idstringRequiredkeywordsobject[]Requirednegativebooleancustomer_idstringRequireddry_runbooleanapproval_idstring- The approval_id from a needs_approval result, after a person approved it. Pass the same arguments as the first call.
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/gads_replace_keyword
Gads replace keyword
Approval gated
Replace the text or match type of an existing ad group keyword. Supply its intended status and whether it is negative. (Spends money or changes billing, so a person must approve the exact amount first. Keystone asks the account owner or an admin itself: in your client when it supports approval prompts, otherwise the result has status needs_approval with an approve_url. Share that link, wait until the person says they approved, then call this tool again with the same arguments plus approval_id. The approval works once, expires, and changed arguments, amount or target need a new one. approved: true in the input never counts as approval.)
ad_group_idstringRequiredcriterion_idstringRequiredkeywordobjectRequirednegativebooleanstatus"PAUSED" | "ENABLED"cpc_bid_microsobject- Millionths of the Google Ads account currency.
customer_idstringRequireddry_runbooleanapproval_idstring- The approval_id from a needs_approval result, after a person approved it. Pass the same arguments as the first call.
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/gads_update_keyword_bid
Gads update keyword bid
Approval gated
Change the manual CPC bid of an existing positive ad group keyword. (Spends money or changes billing, so a person must approve the exact amount first. Keystone asks the account owner or an admin itself: in your client when it supports approval prompts, otherwise the result has status needs_approval with an approve_url. Share that link, wait until the person says they approved, then call this tool again with the same arguments plus approval_id. The approval works once, expires, and changed arguments, amount or target need a new one. approved: true in the input never counts as approval.)
ad_group_idstringRequiredcriterion_idstringRequiredcpc_bid_microsobjectRequired- Millionths of the Google Ads account currency.
customer_idstringRequireddry_runbooleanapproval_idstring- The approval_id from a needs_approval result, after a person approved it. Pass the same arguments as the first call.
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/gads_remove_keywords
Gads remove keywords
Approval gated
Remove ad group criteria by ID. Removing a negative keyword broadens targeting. (Spends money or changes billing, so a person must approve the exact amount first. Keystone asks the account owner or an admin itself: in your client when it supports approval prompts, otherwise the result has status needs_approval with an approve_url. Share that link, wait until the person says they approved, then call this tool again with the same arguments plus approval_id. The approval works once, expires, and changed arguments, amount or target need a new one. approved: true in the input never counts as approval.)
ad_group_idstringRequiredcriterion_idsstring[]Requiredcustomer_idstringRequireddry_runbooleanapproval_idstring- The approval_id from a needs_approval result, after a person approved it. Pass the same arguments as the first call.
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/gads_create_negative_list
Gads create negative list
Write
Create a shared negative keyword list with its initial entries.
namestringRequiredkeywordsobject[]Requiredcustomer_idstringRequireddry_runbooleanworkspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/gads_rename_negative_list
Gads rename negative list
Write
Rename a shared negative keyword list.
list_idstringRequirednamestringRequiredcustomer_idstringRequireddry_runbooleanworkspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/gads_add_negative_list_keywords
Gads add negative list keywords
Write
Add negative keywords to a shared list.
list_idstringRequiredkeywordsobject[]Requiredcustomer_idstringRequireddry_runbooleanworkspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/gads_remove_negative_list_keywords
Gads remove negative list keywords
Approval gated
Remove negative keywords from a shared list. This may broaden all linked campaigns. (Spends money or changes billing, so a person must approve the exact amount first. Keystone asks the account owner or an admin itself: in your client when it supports approval prompts, otherwise the result has status needs_approval with an approve_url. Share that link, wait until the person says they approved, then call this tool again with the same arguments plus approval_id. The approval works once, expires, and changed arguments, amount or target need a new one. approved: true in the input never counts as approval.)
list_idstringRequiredcriterion_idsstring[]Requiredcustomer_idstringRequireddry_runbooleanapproval_idstring- The approval_id from a needs_approval result, after a person approved it. Pass the same arguments as the first call.
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/gads_attach_negative_list
Gads attach negative list
Write
Attach a shared negative keyword list to a campaign.
list_idstringRequiredcampaign_idstringRequiredcustomer_idstringRequireddry_runbooleanworkspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/gads_detach_negative_list
Gads detach negative list
Approval gated
Detach a shared negative keyword list from a campaign. This may broaden targeting. (Spends money or changes billing, so a person must approve the exact amount first. Keystone asks the account owner or an admin itself: in your client when it supports approval prompts, otherwise the result has status needs_approval with an approve_url. Share that link, wait until the person says they approved, then call this tool again with the same arguments plus approval_id. The approval works once, expires, and changed arguments, amount or target need a new one. approved: true in the input never counts as approval.)
list_idstringRequiredcampaign_idstringRequiredcustomer_idstringRequireddry_runbooleanapproval_idstring- The approval_id from a needs_approval result, after a person approved it. Pass the same arguments as the first call.
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/gads_create_responsive_search_ad
Gads create responsive search ad
Approval gated
Create a responsive search ad with 3 to 15 headlines and 2 to 4 descriptions. (Spends money or changes billing, so a person must approve the exact amount first. Keystone asks the account owner or an admin itself: in your client when it supports approval prompts, otherwise the result has status needs_approval with an approve_url. Share that link, wait until the person says they approved, then call this tool again with the same arguments plus approval_id. The approval works once, expires, and changed arguments, amount or target need a new one. approved: true in the input never counts as approval.)
ad_group_idstringRequiredadobjectRequiredstatus"PAUSED" | "ENABLED"customer_idstringRequireddry_runbooleanapproval_idstring- The approval_id from a needs_approval result, after a person approved it. Pass the same arguments as the first call.
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/gads_update_responsive_search_ad
Gads update responsive search ad
Approval gated
Replace the landing URL, headlines and descriptions of a responsive search ad. Supply all copy you want to keep. (Spends money or changes billing, so a person must approve the exact amount first. Keystone asks the account owner or an admin itself: in your client when it supports approval prompts, otherwise the result has status needs_approval with an approve_url. Share that link, wait until the person says they approved, then call this tool again with the same arguments plus approval_id. The approval works once, expires, and changed arguments, amount or target need a new one. approved: true in the input never counts as approval.)
ad_idstringRequiredadobjectRequiredcustomer_idstringRequireddry_runbooleanapproval_idstring- The approval_id from a needs_approval result, after a person approved it. Pass the same arguments as the first call.
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/gads_add_campaign_assets
Gads add campaign assets
Approval gated
Create and attach call assets, sitelinks and callouts to a campaign. To replace an asset, attach its replacement and pause the old link. (Spends money or changes billing, so a person must approve the exact amount first. Keystone asks the account owner or an admin itself: in your client when it supports approval prompts, otherwise the result has status needs_approval with an approve_url. Share that link, wait until the person says they approved, then call this tool again with the same arguments plus approval_id. The approval works once, expires, and changed arguments, amount or target need a new one. approved: true in the input never counts as approval.)
campaign_idstringRequiredassetsobjectRequiredcustomer_idstringRequireddry_runbooleanapproval_idstring- The approval_id from a needs_approval result, after a person approved it. Pass the same arguments as the first call.
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/gads_replace_campaign_asset
Gads replace campaign asset
Approval gated
Attach a replacement call asset, sitelink or callout and pause the old campaign link in one operation. (Spends money or changes billing, so a person must approve the exact amount first. Keystone asks the account owner or an admin itself: in your client when it supports approval prompts, otherwise the result has status needs_approval with an approve_url. Share that link, wait until the person says they approved, then call this tool again with the same arguments plus approval_id. The approval works once, expires, and changed arguments, amount or target need a new one. approved: true in the input never counts as approval.)
campaign_idstringRequiredasset_idstringRequiredreplacementobjectRequiredcustomer_idstringRequireddry_runbooleanapproval_idstring- The approval_id from a needs_approval result, after a person approved it. Pass the same arguments as the first call.
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/gads_create_conversion_action
Gads create conversion action
Approval gated
Create a conversion action for calls from ads, website calls or successful form submissions. Use OFFLINE_LEAD for Data Manager form imports. Website actions require tags on the site. A primary action can affect automated bidding. (Spends money or changes billing, so a person must approve the exact amount first. Keystone asks the account owner or an admin itself: in your client when it supports approval prompts, otherwise the result has status needs_approval with an approve_url. Share that link, wait until the person says they approved, then call this tool again with the same arguments plus approval_id. The approval works once, expires, and changed arguments, amount or target need a new one. approved: true in the input never counts as approval.)
namestringRequiredkind"CALLS_FROM_ADS" | "WEBSITE_CALLS" | "FORM_SUBMIT" | "OFFLINE_LEAD"Requiredminimum_call_secondsintegerprimary_for_goalbooleancounting"one" | "every"- one counts one conversion per ad click. every counts each one, for repeat customer value.
customer_idstringRequireddry_runbooleanapproval_idstring- The approval_id from a needs_approval result, after a person approved it. Pass the same arguments as the first call.
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/gads_update_conversion_action
Gads update conversion action
Approval gated
Change a conversion action name, call duration or use in bidding. (Spends money or changes billing, so a person must approve the exact amount first. Keystone asks the account owner or an admin itself: in your client when it supports approval prompts, otherwise the result has status needs_approval with an approve_url. Share that link, wait until the person says they approved, then call this tool again with the same arguments plus approval_id. The approval works once, expires, and changed arguments, amount or target need a new one. approved: true in the input never counts as approval.)
conversion_action_idstringRequirednamestringminimum_call_secondsintegerprimary_for_goalbooleancustomer_idstringRequireddry_runbooleanapproval_idstring- The approval_id from a needs_approval result, after a person approved it. Pass the same arguments as the first call.
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/gads_pause
Gads pause
Write
Pause a campaign, ad group, ad, positive keyword or campaign asset link.
targetobjectRequiredcustomer_idstringRequireddry_runbooleanworkspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/google_ads_entity_enable
Google ads entity enable
Approval gated
Google Ads: enable an ad group, ad, positive keyword or campaign asset link. This can start serving ads. (Spends money or changes billing, so a person must approve the exact amount first. Keystone asks the account owner or an admin itself: in your client when it supports approval prompts, otherwise the result has status needs_approval with an approve_url. Share that link, wait until the person says they approved, then call this tool again with the same arguments plus approval_id. The approval works once, expires, and changed arguments, amount or target need a new one. approved: true in the input never counts as approval.)
targetobjectRequiredcustomer_idstringRequireddry_runbooleanapproval_idstring- The approval_id from a needs_approval result, after a person approved it. Pass the same arguments as the first call.
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/gads_enable
Gads enable
Approval gated
Compatibility alias for google_ads_entity_enable. Google Ads: enable an ad group, ad, positive keyword or campaign asset link. This can start serving ads. (Spends money or changes billing, so a person must approve the exact amount first. Keystone asks the account owner or an admin itself: in your client when it supports approval prompts, otherwise the result has status needs_approval with an approve_url. Share that link, wait until the person says they approved, then call this tool again with the same arguments plus approval_id. The approval works once, expires, and changed arguments, amount or target need a new one. approved: true in the input never counts as approval.)
targetobjectRequiredcustomer_idstringRequireddry_runbooleanapproval_idstring- The approval_id from a needs_approval result, after a person approved it. Pass the same arguments as the first call.
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/google_ads_campaign_enable
Google ads campaign enable
Approval gated
Google Ads: enable a paused campaign after checking the budget, targeting, policy status and tracking. This can start ad spend. (Spends money or changes billing, so a person must approve the exact amount first. Keystone asks the account owner or an admin itself: in your client when it supports approval prompts, otherwise the result has status needs_approval with an approve_url. Share that link, wait until the person says they approved, then call this tool again with the same arguments plus approval_id. The approval works once, expires, and changed arguments, amount or target need a new one. approved: true in the input never counts as approval.)
campaign_idstringRequiredcustomer_idstringRequireddry_runbooleanapproval_idstring- The approval_id from a needs_approval result, after a person approved it. Pass the same arguments as the first call.
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/ads_campaign_enable
Ads campaign enable
Approval gated
Compatibility alias for google_ads_campaign_enable. Google Ads: enable a paused campaign after checking the budget, targeting, policy status and tracking. This can start ad spend. (Spends money or changes billing, so a person must approve the exact amount first. Keystone asks the account owner or an admin itself: in your client when it supports approval prompts, otherwise the result has status needs_approval with an approve_url. Share that link, wait until the person says they approved, then call this tool again with the same arguments plus approval_id. The approval works once, expires, and changed arguments, amount or target need a new one. approved: true in the input never counts as approval.)
campaign_idstringRequiredcustomer_idstringRequireddry_runbooleanapproval_idstring- The approval_id from a needs_approval result, after a person approved it. Pass the same arguments as the first call.
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/google_ads_campaign_create_paused
Google ads campaign create paused
Write
Google Ads: create a paused Search campaign without starting spend in one validated batch. Use ads_campaign_enable to start serving after review.
planobjectRequiredcustomer_idstringRequireddry_runbooleanworkspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/ads_campaign_launch
Ads campaign launch
Write
Compatibility alias for google_ads_campaign_create_paused. Google Ads: create a paused Search campaign without starting spend in one validated batch. Use ads_campaign_enable to start serving after review.
planobjectRequiredcustomer_idstringRequireddry_runbooleanworkspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/property_report
Property report
Read
Combined address report using multiple provider lookups. Combine available parcel records, owner of record, home age, last sale and permit history for one address. See recent permits within about one mile. Use for licensed business purposes outside consumer eligibility and screening.
addressstringRequired- US address in street, city, state ZIP format.
work_typestring- Mireye work tag, for example roof, hvac, solar or new_building.
history_cursorstring- Continue a long permit history using permit_history.next_cursor.
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/permit_leads
Permit leads
Read
Find recently issued permits for a type of work and rank contractors by permit records on the returned page.
areaobjectRequired- Search by state and county FIPS, state and city, ZIP, point and radius in metres, or state.
work_typestringRequired- Mireye work tag, for example roof, hvac, solar or new_building.
sincestringRequiredlimitintegercursorstringworkspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/nearby_addresses
Nearby addresses
Read
Find nearby mapped US street addresses for a neighbor mailer. Free by default using open map data, with Current Resident as the recipient. BatchData adds owner names, mailing addresses and property filters and bills per property record. Auto checks free coverage first. Set certified_use to true before any BatchData search. Use BatchData for licensed business purposes. Exclude consumer eligibility and covered-person targeting. Contact data carries no consent. Check Do Not Call lists, TCPA, CAN-SPAM and applicable privacy rules, and obtain any required consent before outreach.
addressstringRequired- Full US street address, including city, state, and ZIP code.
countintegerradius_minteger- Maximum search radius in meters. Defaults to 5,000.
source"free" | "batchdata" | "auto"format"json" | "csv"owner_occupiedbooleanabsentee_ownerbooleanproperty_typestringmin_valueintegermax_valueintegerowner_namesboolean- Request owner names with source auto or batchdata.
certified_useboolean- Confirm this use complies with BatchData’s license and excludes FCRA-regulated eligibility or screening.
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/custom_connect
Custom connect
Read
Connect any app that has an API with the person's own API key. The person only types the app name and pastes the key on a secure Keystone page; Keystone finds the API docs itself, works out how the key is sent and builds tools to review. Returns that page link. Never ask for an API key in chat. If the app already connects directly, returns that link instead.
appstringRequired- The app name, for example the scheduling or invoicing app the business uses.
docsUrlstring- A link to the API docs, only if the person already gave one.
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/custom_list
Custom list
Read
List custom API connectors and every generated operation in this workspace, including typed parameters, examples and risk. Read the operation descriptions to choose the right connector and operation before custom_call. Draft connectors are visible for review but only enabled connectors can run.
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/custom_call
Custom call
Destructive
Execute a customer-defined operation in an explicit workspace using the exact operation name and typed parameters returned by custom_list. Check its risk first. Ask the person before sends, purchases, destructive changes or other writes. Responses over 128 KiB are rejected. Credentials never appear in results.
connectorstringRequired- Connector id, slug or exact name from custom_list.
operationstringRequired- Exact generated operation name from custom_list.
paramsobject- Parameters matching the generated operation schema.
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/crm_account
CRM account
Write
The ServiceLine CRM account included with this plan for the current workspace: whether it is on, its link (opens sl.app signed in with the ServiceLine login), and whether it is read only. Pass setup true to turn it on when it is not on yet (owner or admin). Personal includes one CRM account; Agency and the trial include one per client workspace.
setupboolean- Turn the CRM on for this workspace when it is not on yet.
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/crm_search_contacts
CRM search contacts
Read
Search contacts in the workspace CRM by name, email, phone or company, or look one up by exact email. Returns contacts and a cursor for the next page.
searchstringemailstring- Exact email lookup.
tagsstring- Comma-separated tag names.
limitinteger- Rows per page, 1 to 100 (default 25).
cursorstring- Cursor from the previous page.
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/crm_get_contact
CRM get contact
Read
One contact from the workspace CRM by id, with its fields, tags and lifecycle stage.
contact_idstringRequiredworkspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/crm_create_contact
CRM create contact
Write
Add a contact to the workspace CRM. First and last name are required. Search first so you do not add a duplicate.
first_namestringRequiredlast_namestringRequiredemailstringphonestring- E.164 when you have it, like +15551234567.
companystringtagsstring[]citystringstatestringpostal_codestringworkspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/crm_update_contact
CRM update contact
Write
Change fields on one contact in the workspace CRM. Only the fields you pass change. Tags you pass replace the contact tags.
contact_idstringRequiredfirst_namestringlast_namestringemailstringphonestring- E.164 when you have it, like +15551234567.
companystringtagsstring[]citystringstatestringpostal_codestringworkspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/crm_list_pipelines
CRM list pipelines
Read
Sales pipelines in the workspace CRM with their stages and ids. Call this before creating or moving an opportunity.
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/crm_list_opportunities
CRM list opportunities
Read
Opportunities (deals) in the workspace CRM, filtered by pipeline, stage, contact or status (open, won, lost).
pipeline_idstringstage_idstringcontact_idstringstatus"open" | "won" | "lost" | "abandoned"limitinteger- Rows per page, 1 to 100 (default 25).
cursorstring- Cursor from the previous page.
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/crm_create_opportunity
CRM create opportunity
Write
Open an opportunity (deal) for a contact in a pipeline stage. Get pipeline and stage ids from crm_list_pipelines.
contact_idstringRequiredpipeline_idstringRequiredstage_idstringRequirednamestringRequiredvaluenumber- Deal value in dollars.
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/crm_move_opportunity
CRM move opportunity
Write
Move an opportunity to another stage, or mark it won or lost.
opportunity_idstringRequiredstage_idstringstatus"open" | "won" | "lost"lost_reasonstringworkspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/crm_create_task
CRM create task
Write
Add a follow-up task in the workspace CRM, optionally tied to a contact or opportunity.
titlestringRequireddescriptionstringdue_datestring- YYYY-MM-DD.
contact_idstringopportunity_idstringworkspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/crm_list_conversations
CRM list conversations
Read
List recent SMS, email, and call conversations in the workspace CRM, optionally filtered by contact or channel.
contact_idstringchannel"sms" | "email" | "gmail" | "messenger" | ...limitinteger- Rows per page, 1 to 100 (default 25).
cursorstring- Cursor from the previous page.
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/crm_get_messages
CRM get messages
Read
Read messages inside one conversation from the workspace CRM.
conversation_idstringRequiredlimitinteger- Rows per page, 1 to 100 (default 25).
cursorstring- Cursor from the previous page.
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/crm_list_appointments
CRM list appointments
Read
List calendar appointments in the workspace CRM, optionally filtered by contact or status.
contact_idstringstatus"scheduled" | "confirmed" | "completed" | "cancelled" | ...limitinteger- Rows per page, 1 to 100 (default 25).
cursorstring- Cursor from the previous page.
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/crm_log_event
CRM log event
Write
Write a Keystone event (call, text, email, form, booking, review, receptionist_call, job, or attribution) onto a contact timeline in the workspace CRM. Matches the contact by id, email, or phone, creates one if needed, and deduplicates by external_event_id.
external_event_idstringRequiredevent_type"call" | "text" | "email" | "form" | ...RequiredtitlestringsummarystringRequireddirection"inbound" | "outbound"contact_idstringdeal_idstringnamestringemailstringphonestringtagsstring[]utm_sourcestringutm_mediumstringutm_campaignstringworkspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/crm_recent_events
CRM recent events
Read
List recent real-time webhook events received from the workspace CRM (pipeline stage moves, won or lost opportunities, new contacts, completed tasks, appointments, paid invoices, and opt-outs).
event_typestring- extra filter like opportunity.stage_changed or opportunity.won.
limitintegerworkspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/crm_sync_status
CRM sync status
Write
Check two-way sync health between this workspace and its ServiceLine CRM account (webhook status, linked contacts, inbound CRM events, and outbound timeline deliveries). Pass setup_webhook true (owner or admin) to wire or refresh the CRM webhook.
setup_webhookboolean- Register or refresh the CRM -> Keystone webhook for this workspace.
rotate_secretboolean- Rotate the webhook signing secret when setup_webhook is true.
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/crm_hand_off
CRM hand off
Destructive
Offboarding: hand the workspace CRM account to its owner. Keystone stops managing it and its CRM tools stop working here. The data stays in the CRM. Pass transfer_to_email to give that person admin access (they get an invite if they have no ServiceLine login). Account owner only.
transfer_to_emailstringworkspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/app_request
App request
Write
Ask for an app Keystone does not have yet, in one step. Use it when apps_search, connections_list or the person cannot find an app among Keystone's apps. Keystone checks its catalog, then looks for the app's API (a way for software to talk to it directly). With an API, Keystone connects it through the vendor sign-in or a credential passed server-side, then writes and tests the tools. Without one, Keystone builds it with API Anything: it gets its own user in the app, signs in on a Keystone Computer, learns each job and tests it on the real screens. Finished tools wait for a person to turn them on, then show up in this workspace (custom_list and custom_call, or anything_apps and anything_run). Returns the request with its status, the person's next step and a status page. Asking again for the same app returns the open request. Never ask for an API key, password or code in chat. Start Keystone-managed setup with app_request_update action "connect", or pass a credential to that tool only when the vendor supplied it for this workspace.
appstringRequired- The app name as the person says it.
jobsstring[]- What the person wants the AI to do in the app, each in plain words, for example "list today's jobs with the customer and address".
sitestring- The web address where the person signs in to the app, if they said it.
credentialobject- A vendor-supplied API credential for this workspace, passed server-side. Never ask the person to paste one in chat.
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/app_requests
App requests
Read
Lists this workspace's app requests with status (Checking, Needs you, Building, Ready to turn on, Ready, Stopped, Cancelled), the step Keystone is on, the person's next step with its link, the tools built and the last test. Pass request (an id or app name) for one request with its full timeline; refresh true looks again now instead of within five minutes.
requeststring- Request id or app name. Omit to list all.
refreshboolean- true to check the request again now.
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/app_request_update
App request update
Write
Changes an app request. action "connect": start Keystone-managed setup and, when the vendor needs the person once, return the sign-in popup address. action "credential": hand a vendor-supplied API credential into the request server-side (pass credential, never a chat message). action "site": add the web address where the person signs in (pass site). action "cancel": stop the request. action "offer": once the app is Ready, offer it to every workspace in this account (to "account") or to every Keystone workspace (to "everyone"). The offer carries the tool descriptions only, never keys, logins or results; each workspace still connects with its own access. An offer to everyone may wait for Keystone's check before it lists. action "withdraw": take an offer back. Offers need an owner or admin.
requeststringRequired- Request id or app name.
action"connect" | "credential" | "site" | "cancel" | ...Requiredsitestring- For action "site": the sign-in web address.
to"account" | "everyone"- For action "offer".
credentialobject- For action "credential": the vendor-supplied API credential.
workspacestring- Workspace slug or id. Omit to use your active workspace.
Phone, texts and receptionist
57 endpoints
Phone, texts and receptionist
57 endpoints
POST
/v1/tools/phone_recording_notice_set
Phone recording notice set
Write
Add a workspace notice after the recording disclosure for callers and answering staff. Set an empty notice to restore the default.
noticestringRequiredworkspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/messaging_time_zone_set
Messaging time zone set
Write
Set the local time zone for a known recipient or the workspace default for messaging hours.
recipientstringtime_zonestringRequiredworkspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/call_rescue_settings
Call rescue settings
Approval gated
Configure call coaching, the booking window and local sending hours (8 am to 8 pm). Automatic texts apply only to missed calls. Supply a tracking company ID to include its inbound calls. (Spends money or changes billing, so a person must approve the exact amount first. Keystone asks the account owner or an admin itself: in your client when it supports approval prompts, otherwise the result has status needs_approval with an approve_url. Share that link, wait until the person says they approved, then call this tool again with the same arguments plus approval_id. The approval works once, expires, and changed arguments, amount or target need a new one. approved: true in the input never counts as approval.)
disablebooleanconfigureobjectapproval_idstring- The approval_id from a needs_approval result, after a person approved it. Pass the same arguments as the first call.
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/call_transcript
Call transcript
Read
Read a call transcript and booking assessment in this workspace.
idstringRequiredworkspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/calls_unbooked
Calls unbooked
Read
List callers who wanted to book and had no matching job after the booking window.
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/call_rescue_queue
Call rescue queue
Approval gated
List pending rescue drafts, edit a text, approve delivery or skip a caller. (Sends an external message; confirm with the user first. If the workspace requires approval for sends, the result has status needs_approval: share the approve_url, then call again with the same arguments plus approval_id.)
action"list" | "edit" | "approve" | "skip"idstringbodystringapproval_idstring- The approval_id from a needs_approval result, after a person approved it. Pass the same arguments as the first call.
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/call_coaching_report
Call coaching report
Read
Read seven days of call outcomes, staff booking rates, lost reasons and coaching examples. Pass end_date for an exclusive coordinated universal time end date.
endstringworkspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/phone_search
Phone search
Read
Find available US voice numbers and quote the monthly rental and setup in USD micros. Toll-free numbers have no city.
type"local" | "toll-free"areaCodestringcitystringworkspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/phone_lookup_once
Phone lookup once
Approval gated
One-time lookup: get the caller name and line type for a US number. Each lookup costs about 0.022 USD from the wallet. (Spends money or changes billing, so a person must approve the exact amount first. Keystone asks the account owner or an admin itself: in your client when it supports approval prompts, otherwise the result has status needs_approval with an approve_url. Share that link, wait until the person says they approved, then call this tool again with the same arguments plus approval_id. The approval works once, expires, and changed arguments, amount or target need a new one. approved: true in the input never counts as approval.)
numberstringRequiredapproval_idstring- The approval_id from a needs_approval result, after a person approved it. Pass the same arguments as the first call.
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/phone_lookup
Phone lookup
Approval gated
Compatibility alias for phone_lookup_once. One-time lookup: get the caller name and line type for a US number. Each lookup costs about 0.022 USD from the wallet. (Spends money or changes billing, so a person must approve the exact amount first. Keystone asks the account owner or an admin itself: in your client when it supports approval prompts, otherwise the result has status needs_approval with an approve_url. Share that link, wait until the person says they approved, then call this tool again with the same arguments plus approval_id. The approval works once, expires, and changed arguments, amount or target need a new one. approved: true in the input never counts as approval.)
numberstringRequiredapproval_idstring- The approval_id from a needs_approval result, after a person approved it. Pass the same arguments as the first call.
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/phone_buy
Phone buy
Approval gated
Charge the card for the first month and setup, then buy the quoted US tracking number. Reuse the same UUID on retries. Keystone asks the owner to approve the first-month total before buying. (Spends money or changes billing, so a person must approve the exact amount first. Keystone asks the account owner or an admin itself: in your client when it supports approval prompts, otherwise the result has status needs_approval with an approve_url. Share that link, wait until the person says they approved, then call this tool again with the same arguments plus approval_id. The approval works once, expires, and changed arguments, amount or target need a new one. approved: true in the input never counts as approval.)
idstringRequired- Purchase reference for this tracking number.
numberstringRequiredmaximumMicrosintegerRequired- First-month total including setup in USD micros, from the phone_search quote.
labelstringRequired- Campaign or source to attribute incoming calls to.
approval_idstring- The approval_id from a needs_approval result, after a person approved it. Pass the same arguments as the first call.
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/phone_list
Phone list
Read
List this workspace’s tracking numbers, forwarding settings and renewal dates.
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/phone_forward
Phone forward
Write
Forward incoming calls to a business number. Enable recording only with the required consent. If set, the whisper plays to the answering party.
idstringRequired- Purchase reference for this tracking number.
tostringRequiredwhisperstringrecordbooleanworkspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/phone_release
Phone release
Destructive
Release a tracking number and stop forwarding and future renewals.
idstringRequired- Purchase reference for this tracking number.
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/calls_list
Calls list
Read
List the 100 most recent inbound calls with their campaign, tracking number, and caller lookup: caller name, business or consumer, line type (mobile, landline, VoIP) and a note when the lookup was skipped.
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/call_get
Call get
Read
Get an inbound call with its caller lookup (name, line type, carrier) and its recordings. Open recording links while signed in to Keystone.
sidobjectRequiredworkspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/caller_lookup_settings_get
Caller lookup settings get
Read
Read workspace caller enrichment settings, price per new caller and recent lookup counts.
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/caller_lookup_settings_set
Caller lookup settings set
Write
Enable or disable ongoing paid caller enrichment for this workspace. Each new US caller is billed once per 30 days.
enabledbooleanRequiredworkspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/caller_lookup
Caller lookup
Write
Read or change caller lookup on Keystone Numbers for this workspace. When on, each new US caller is looked up once (name and line type) and billed to the wallet; repeat callers within 30 days are free, and lookups stop when the wallet has no balance.
enabledboolean- Turn caller lookup on or off. Leave empty to read the setting.
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/sms_send
SMS send
Approval gated
Send one text through this workspace’s approved US messaging campaign to a recipient who opted in. (Sends an external message; confirm with the user first. If the workspace requires approval for sends, the result has status needs_approval: share the approve_url, then call again with the same arguments plus approval_id.)
tostringRequiredbodystringRequiredapproval_idstring- The approval_id from a needs_approval result, after a person approved it. Pass the same arguments as the first call.
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/a2p_start
Texting start
Approval gated
Drafts business texting registration from what Keystone already knows about the business, looks up public EIN records, runs read-only website compliance pre-flight (planning exact additive edits for Keystone-hosted sites or exact patches for external sites), and submits only after the owner reviews the exact carrier submission and approves the plain wallet fee. Leave submit false first to draft and pre-flight without editing live pages; set submit true once legal facts are confirmed and website checks pass. (Spends money or changes billing, so a person must approve the exact amount first. Keystone asks the account owner or an admin itself: in your client when it supports approval prompts, otherwise the result has status needs_approval with an approve_url. Share that link, wait until the person says they approved, then call this tool again with the same arguments plus approval_id. The approval works once, expires, and changed arguments, amount or target need a new one. approved: true in the input never counts as approval.)
legal_namestring- Exact IRS legal business name.
dba_namestring- Public DBA or brand name if different from legal name.
einstring- US Federal Tax ID (EIN, 9 digits).
entity_type"LLC" | "CORPORATION" | "SOLE_PROPRIETOR" | "PARTNERSHIP" | ...- Legal entity type (LLC, CORPORATION, SOLE_PROPRIETOR, PARTNERSHIP, NON_PROFIT, CO_OPERATIVE).
verticalstring- Industry vertical, e.g. HEALTHCARE, LEGAL, RETAIL, PROFESSIONAL.
websitestring- Public business website URL.
streetstring- Registered business street address.
citystring- Business city.
statestring- Two-letter US state code.
postal_codestring- Five-digit US ZIP code.
contact_first_namestring- Authorized representative first name.
contact_last_namestring- Authorized representative last name.
contact_emailstring- Authorized representative email.
contact_phonestring- Authorized representative US phone number.
contact_titlestring- Authorized representative title (default Owner).
support_emailstring- Customer support email for SMS help replies.
support_phonestring- Customer support phone for SMS help replies.
tier"low_volume" | "standard" | "sole_proprietor"- Messaging volume tier: low_volume (default), standard, or sole_proprietor.
use_case"LOW_VOLUME" | "MIXED" | "CUSTOMER_CARE" | "ACCOUNT_NOTIFICATION" | ...- Messaging use case (auto-drafted when omitted).
confirm_factsboolean- Set true once the owner has confirmed the legal business facts.
fix_siteboolean- When submit is true, apply the approved additive Keystone site updates shown in the approval diff before submitting (default false).
create_agent_jobboolean- For external sites, queue an agent job to apply the compliance patches.
submitboolean- Set true after legal facts are confirmed and pre-flight passes to approve the exact submission, pay the wallet fee, and submit to carriers.
approval_idstring- The approval_id from a needs_approval result, after a person approved it. Pass the same arguments as the first call.
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/a2p_status
Texting status
Read
Returns the workspace business texting registration status, exact carrier submission draft, website compliance checks, planned additive site diffs, plain wallet fees, what is left, and recent updates. Polls the phone carrier when registration is in review.
refreshboolean- Poll the carrier for the latest review status when pending (default true).
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/a2p_fix
Texting fix
Approval gated
Checks website compliance, drafts updated carrier-facing copy after a rejection, applies approved additive compliance edits to Keystone-hosted sites (showing the exact diff in approval), or resubmits updated registration details after fresh owner approval. Pass resubmit:false and apply_site_edits:false to draft and inspect changes without mutating the site or submitting. (Ends access or deletes data, so a person must approve it first. Keystone asks the account owner or an admin itself: in your client when it supports approval prompts, otherwise the result has status needs_approval with an approve_url. Share that link, wait until the person says they approved, then call this tool again with the same arguments plus approval_id. approved: true in the input never counts as approval.)
legal_namestring- Exact IRS legal business name.
dba_namestring- Public DBA or brand name if different from legal name.
einstring- US Federal Tax ID (EIN, 9 digits).
entity_type"LLC" | "CORPORATION" | "SOLE_PROPRIETOR" | "PARTNERSHIP" | ...- Legal entity type (LLC, CORPORATION, SOLE_PROPRIETOR, PARTNERSHIP, NON_PROFIT, CO_OPERATIVE).
verticalstring- Industry vertical, e.g. HEALTHCARE, LEGAL, RETAIL, PROFESSIONAL.
websitestring- Public business website URL.
streetstring- Registered business street address.
citystring- Business city.
statestring- Two-letter US state code.
postal_codestring- Five-digit US ZIP code.
contact_first_namestring- Authorized representative first name.
contact_last_namestring- Authorized representative last name.
contact_emailstring- Authorized representative email.
contact_phonestring- Authorized representative US phone number.
contact_titlestring- Authorized representative title (default Owner).
support_emailstring- Customer support email for SMS help replies.
support_phonestring- Customer support phone for SMS help replies.
apply_site_editsboolean- Apply the narrow additive compliance edits (privacy clause, terms, unchecked consent checkbox, append footer links) to a Keystone-hosted site after owner approval.
create_agent_jobboolean- Queue an agent job to apply compliance patches on an external site.
resubmitboolean- Resubmit updated details to carriers after owner approval (defaults to true when rejected).
approval_idstring- The approval_id from a needs_approval result, after a person approved it. Pass the same arguments as the first call.
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/receptionist_setup
Receptionist setup
Write
Create or update an AI receptionist on a legacy Retell AI or Vapi connection already present in this workspace. New workspaces use keystone_receptionist_setup, Keystone's built-in receptionist. Automatically pulls business name, hours, services, service area, and booking rules from workspace memory and lets you override any field.
provider"retell" | "vapi"- Legacy voice provider: "retell" or "vapi". Omit when only one is connected in this workspace.
agent_idstring- Existing Keystone AI receptionist ID to update.
namestring- Label for this AI receptionist agent.
business_namestring- Business name spoken by the receptionist.
hoursstring- Business hours in plain text, such as "Mon-Fri 8am-5pm, Sat 9am-1pm".
business_hoursobject- Structured daily schedule keyed by sun..sat (for example { mon: "08:00-17:00" }).
time_zonestring- IANA time zone for after-hours routing, such as local time zone.
servicesstring- Services offered by the business.
service_areastring- Cities, counties, or ZIP codes served.
booking_rulesstring- Scheduling rules, dispatch minimums, and emergency handling.
greetingstring- Opening sentence spoken when the call connects.
voice_idstring- Provider voice ID to use for the receptionist.
model_providerstring- Vapi LLM provider (default openai).
model_namestring- Vapi LLM model (default gpt-4o-mini).
crm_target"auto" | "serviceline_crm" | "highlevel_location" | "hubspot" | ...- Where booked appointments and captured leads route: auto (connected CRM), highlevel_location, hubspot, jobber, housecall_pro, or dashboard.
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/receptionist_attach
Receptionist attach
Write
Route a workspace Keystone Number to an AI receptionist always, after business hours, as overflow when nobody answers, or turn AI routing off.
phonestringRequired- Keystone tracking number ID or E.164 phone number (+1...) in this workspace.
agent_idstring- Keystone AI receptionist ID. Defaults to the sole receptionist when the workspace has only one.
mode"always" | "after_hours" | "overflow" | "off"Required- Routing mode: always, after_hours, overflow (ring business first, then AI), or off.
overflow_timeout_secondsinteger- Seconds to ring the forwarding number before overflowing to the AI receptionist (5 to 60).
time_zonestring- IANA time zone override for after-hours routing.
hoursstring- Business hours override for after-hours routing.
business_hoursobject- Structured daily schedule override.
vapi_phone_number_idstring- Existing Vapi phone number ID for provider-bypass routing instead of a new Vapi SIP URI.
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/receptionist_calls
Receptionist calls
Read
List recent AI receptionist calls with transcripts, call outcomes, booked appointments, CRM delivery status, and campaign attribution.
agent_idstring- Filter by one Keystone AI receptionist ID.
outcome"booked" | "lead_captured" | "callback_requested" | "question_answered" | ...- Filter by outcome (booked, lead_captured, callback_requested, question_answered, spam, other).
syncboolean- Pull latest calls from the legacy provider and push any new booked or captured leads to the workspace CRM.
include_transcriptboolean- Include call transcripts in the response.
limitinteger- Maximum calls to return (1 to 50).
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/keystone_receptionist_setup
Keystone receptionist setup
Approval gated
Set up or change the Keystone receptionist, Keystone's own AI that answers calls on Keystone Numbers. Needs Keystone Computers on the workspace ($15 a month); call minutes are billed to the wallet. It can check the calendar and book within your rules, look up the caller in your records, check job status, check whether an email arrived, take a lead or a message, text an approved link, and transfer to a person. By default it only reads and records inside Keystone: booking stays a request for the team to confirm, and texting, CRM push and calendar writes stay off until you turn them on. It says it is an AI up front where a state law asks for it, and truthfully whenever a caller asks. Leave every field empty to read the current setup. (Spends money or changes billing, so a person must approve the exact amount first. Keystone asks the account owner or an admin itself: in your client when it supports approval prompts, otherwise the result has status needs_approval with an approve_url. Share that link, wait until the person says they approved, then call this tool again with the same arguments plus approval_id. The approval works once, expires, and changed arguments, amount or target need a new one. approved: true in the input never counts as approval.)
enabledboolean- Turn the receptionist on or off for this workspace.
business_namestringgreetingstring- First words on every call. Keystone always adds that the caller is speaking with an AI.
hoursstring- Business hours in plain English, e.g. "Mon-Fri 8am-5pm, Sat 9am-1pm".
time_zonestring- IANA time zone, e.g. local time zone.
servicesstringservice_areastringnotesstring- Facts the receptionist may share: policies, parking, warranty, FAQ answers.
voice"marin" | "cedar" | "alloy" | "ash" | ...booking_mode"off" | "request" | "book"- off: never offers times. request: records the chosen time for the team to confirm (default). book: books inside the rules below.
slot_minutesintegermin_notice_minutesintegermax_days_aheadintegermax_per_dayintegerbookable_servicesstring[]- Services that may be booked by phone. Empty means any listed service.
calendar_eventsboolean- Check the connected Google Calendar for busy times and add booked appointments to it.
push_leadsboolean- Send captured leads to the connected CRM. Off keeps them in Keystone.
crm_targetstringallow_smsboolean- Let the receptionist text the caller one of the approved links.
sms_linksobject[]transfer_numberstringtransfer_when"never" | "asked" | "urgent"recording_notice"always" | "all_party" | "off"- always (default), all_party (only where state law requires consent from everyone), or off.
business_stateobjectnumbersobject[]- Which Keystone Numbers the receptionist answers: always, after_hours, overflow (when nobody picks up), or off.
approval_idstring- The approval_id from a needs_approval result, after a person approved it. Pass the same arguments as the first call.
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/keystone_receptionist_calls
Keystone receptionist calls
Read
Review calls the Keystone receptionist answered: outcome, summary, bookings, messages and cost. Pass call_id for the full transcript and every tool it used.
call_idstringlimitintegerworkspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/appointment_get
Appointment get
Read
Show an appointment the Keystone receptionist booked or took as a request: service, time, customer, address and notes. Omit id for the soonest request waiting for confirmation (or the next booked one). In AI apps that show cards it has a Confirm button.
idstring- Booking id, for example kbk_... from keystone_receptionist_calls.
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/appointment_confirm
Appointment confirm
Write
Confirm an appointment request the Keystone receptionist took, so it counts as booked. Adds it to the connected Google Calendar when calendar writes are on. Does not message the customer. Confirm with the person first.
idstringRequired- Booking id from appointment_get.
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/call_place
Call place
Approval gated
Keystone Voice: call a phone number from this workspace's Keystone Number and get something done, in a natural voice. Give the goal ("confirm Sarah Miller's Thursday 2 PM appointment", "ask the supplier when order 4417 ships", "get a quote for a 50-gallon water heater install") and the facts it may share. It works phone menus, waits on hold without running up the bill, talks with the person, checks Keystone (calendar, customer records, invoices, notebook) mid-call, and returns the answer, transcript, recording and outcome. Pass up to 25 numbers in "calls" to call several at once with the same goal. Returns call ids right away; read results with call_status (wait_seconds waits for the calls to finish). Calls to businesses need nothing else. Calls to people need consent Keystone already has (a booking, a form, a recorded opt-in) and ring only in their local calling hours; Keystone checks this and says why when a call cannot go out. The owner can listen live and take over from the call page. Billed to the wallet per call. (Sends an external message; confirm with the user first. If the workspace requires approval for sends, the result has status needs_approval: share the approve_url, then call again with the same arguments plus approval_id.)
tostring- US phone number to call. Use "calls" for several.
namestring- Who you are calling.
callsobject[]- Several numbers to call with the same goal.
goalstringRequired- What the call should get done, in plain words.
factsstring- What the caller may share: account numbers, order numbers, dates, names, budget. Nothing else is shared.
recipient"business" | "consumer"Required- business: a company, office, store or phone menu. consumer: a person at their own phone, such as a customer.
purpose"informational" | "marketing"- informational (default): about an order, a job, an appointment, a question. marketing: selling or promoting; needs written consent for people.
consent_notestring- For a business reached on a cell phone: why this business may call it, e.g. "their order line from the supplier's invoice".
languagestring- Language to start in, e.g. "en" or "es". The caller switches if they answer in another.
max_minutesinteger- Time limit, holds included. Default 20.
voicemail"leave" | "hang_up"- On voicemail: leave a short message (default) or hang up.
allow_toolsstring[]- Extra Keystone tools the call may use, beyond reading the calendar, records, invoices and notebook.
recordboolean- Record the call (default true). Keystone adds the recording notice where state law asks for it.
fastboolean- Use the quicker, lower-cost voice for short, simple calls such as a confirmation.
from_phone_idstring- Which Keystone Number to call from. Defaults to the newest.
approval_idstring- The approval_id from a needs_approval result, after a person approved it. Pass the same arguments as the first call.
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/call_status
Call status
Read
Keystone Voice: the result of calls placed with call_place: status, answer, details, summary, outcome, recording link and the full transcript. Pass call_id or batch_id; wait_seconds waits for live calls to finish.
call_idstringbatch_idstringwait_secondsinteger- Wait up to this long for live calls to finish.
include_timelineboolean- Every step: keys pressed, holds, tools used.
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/calls_placed
Calls placed
Read
Keystone Voice: recent calls this workspace placed, newest first, with answers and outcomes.
limitintegerworkspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/call_hangup
Call hangup
Write
Keystone Voice: end a live call now, or cancel one still waiting to dial.
call_idstringRequiredworkspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/call_consent_record
Call consent record
Write
Keystone Voice: record that a person agreed to get calls from this business, with the evidence, so calls to them can go out. express: they agreed to calls about their job, order or appointment (for example they asked to be called, or gave this number on a work order). written: a signed agreement to marketing calls. Also use do_not_call to record that someone asked not to be called, or undo=true to remove that.
phonestringRequiredkind"express" | "written"scope"informational" | "marketing" | "all"evidencestring- How and when they agreed, in plain words. Required to record consent.
do_not_callboolean- Record that this number asked not to be called.
undoboolean- With do_not_call, remove the number from the do-not-call list (only when they asked to be called again).
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/speed_settings
Speed settings
Approval gated
Configure automatic SMS for opted-in callers and form leads. Hours use the workspace time zone. Texts can be sent from 8 AM until 8 PM. (Sends an external message; confirm with the user first. If the workspace requires approval for sends, the result has status needs_approval: share the approve_url, then call again with the same arguments plus approval_id.)
enabledbooleanRequiredmissedstringRequiredformstringRequiredownerstringtimeZonestringRequiredstartHourintegerRequiredendHourintegerRequiredapproval_idstring- The approval_id from a needs_approval result, after a person approved it. Pass the same arguments as the first call.
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/speed_form_received
Speed form received
Approval gated
Record a new form submission and trigger configured lead and owner texts. Reuse the submission ID on retry. (Sends an external message; confirm with the user first. If the workspace requires approval for sends, the result has status needs_approval: share the approve_url, then call again with the same arguments plus approval_id.)
idstringRequiredphonestringRequiredemailstringnamestringsmsConsentbooleanRequiredchannelstringRequiredcampaignstringclickstringapproval_idstring- The approval_id from a needs_approval result, after a person approved it. Pass the same arguments as the first call.
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/frontdoor_setup
Frontdoor setup
Write
Set up or update the front door for this workspace: one phone number, one inbox address the business can forward lead emails to or publish, and one booking link. Reuses an existing Keystone Number (pass phoneId from phone_list, or it picks the first active one). It never buys a number: when there is none, it says so; buying is phone_search then phone_buy, which charges the card and needs the owner's approval. Also saves settings: business hours, quiet hours for texts, owner contact for alerts, whether email leads may be texted, allowed senders, the auto reply, and booking options. Returns the inbox address, the booking link, a small page file to publish at /book on the workspace site with site_deploy, and what is still missing.
phoneIdstring- An active Keystone Number in this workspace, from phone_list.
forwardTostring- Ring this number when someone calls the front door number (E.164, e.g. +12025550100).
settingsobjectworkspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/frontdoor_inbox
Frontdoor inbox
Read
Recent items from the front door timeline (calls, texts, emails, bookings), newest first, each with who it was from, the source and service, the rule that matched, and what Keystone did (filed, added to the CRM, texted, alerted someone, queued for after quiet hours).
limitintegerchannel"call" | "text" | "email" | "booking"kind"lead" | "reply" | "spam" | "receipt" | ...- lead, reply, spam, receipt or other.
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/frontdoor_rules
Frontdoor rules
Write
Read or replace the front door routing rules. The first enabled rule that matches decides what happens. Match by channels (call, text, email, booking), source, service, keyword, and hours (open, closed or any, from the business hours). Actions: person (alert a phone or email; empty uses the owner), receptionist (calls only), auto_reply (text with consent, otherwise email), crm_stage (pipelineId and stageId), file (no action). Leads always go to the CRM unless a file rule matches. Pass rules to replace them all, reset to restore the defaults, or nothing to read.
rulesobject[]resetbooleanworkspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/frontdoor_reply
Frontdoor reply
Approval gated
Reply to a front door item. Without send it returns a draft in the business voice to show the owner. With send true it sends the exact message the owner approved, by text when the person may be texted (they texted or called, booked with consent, or the workspace allows texting email leads), otherwise by email. Sending checks opt-outs, business texting approval and quiet hours; a text during quiet hours waits until they end. (Sends an external message; confirm with the user first. If the workspace requires approval for sends, the result has status needs_approval: share the approve_url, then call again with the same arguments plus approval_id.)
itemIdstringRequiredmessagestring- Required when send is true: the exact text the owner approved.
channel"sms" | "email"sendbooleanapproval_idstring- The approval_id from a needs_approval result, after a person approved it. Pass the same arguments as the first call.
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/inbox_list
Inbox list
Read
List conversations in this workspace, newest first: one thread per contact across texts, email, calls (with transcripts and recordings), voicemail and missed calls. Each row says whether it is unread, needs a reply, who it is assigned to, and the last message. Open one with inbox_thread.
filter"open" | "unread" | "mine" | "unassigned" | ...- open: not marked done. mine: assigned to you.
channel"text" | "email" | "call" | "voicemail" | ...- Only threads that include this channel.
limitintegerworkspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/inbox_thread
Inbox thread
Read
Read one conversation: every text, email, call card (who answered, length, summary, transcript, recording link), voicemail and missed call with this contact, oldest first, plus the channel inbox_reply would use. Pass mark_read true when a person has seen it.
threadstringRequired- The thread: the contact's phone (+18135550142) or email, as inbox_list returns it.
mark_readbooleanworkspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/inbox_reply
Inbox reply
Approval gated
Reply in a conversation. With no channel it answers the way the contact last wrote (a text gets a text, an email gets an email; after a call it texts). Pass channel to choose. Show the owner the exact words before sending. Texts check opt-outs, consent, business texting approval and quiet hours; a text in quiet hours waits until they end. The first text to a number adds "Reply STOP to opt out." (Sends an external message; confirm with the user first. If the workspace requires approval for sends, the result has status needs_approval: share the approve_url, then call again with the same arguments plus approval_id.)
threadstringRequired- The thread: the contact's phone (+18135550142) or email, as inbox_list returns it.
messagestringRequired- The exact words the owner approved.
channel"text" | "email"- Leave empty to answer on the channel the contact used.
subjectstring- Email only. Defaults to "Re:" and the last subject.
approval_idstring- The approval_id from a needs_approval result, after a person approved it. Pass the same arguments as the first call.
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/inbox_assign
Inbox assign
Write
Assign a conversation to a team member ("me", their email or name), or pass to as null to unassign.
threadstringRequired- The thread: the contact's phone (+18135550142) or email, as inbox_list returns it.
toobjectRequired- "me", a team member's email or name, or null.
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/inbox_mark
Inbox mark
Write
Mark a conversation read or unread, or done (it leaves the open list until the contact writes again).
threadstringRequired- The thread: the contact's phone (+18135550142) or email, as inbox_list returns it.
readbooleandonebooleanworkspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/chat_booking_get
Chat booking get
Read
Shows whether this business takes bookings in ChatGPT, Claude and Gemini, its services with length and deposit, area, hours, the cell that gets booking texts, and upcoming chat bookings.
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/chat_booking_setup
Chat booking setup
Write
Sets up chat booking from what Keystone already knows about the business: front door settings, saved memory, appointment requests, the website, rank tracking places and Google Business Profile. Preserves owner choices already saved, turns it on when enough is known, and reports what still needs an owner decision. Owners and admins only.
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/chat_booking_save
Chat booking save
Write
Turns chat booking on or off and saves its settings: services (name, minutes in 15-minute steps, deposit in cents, price label), town, state, ZIP, area served, hours, time zone and the verified owner cell for booking texts. Read chat_booking_get first and send every field back. Owners and admins only.
enabledbooleanRequirednamestringRequiredcategorystringaboutstringcitystringregionstringpostal_codestringservice_areastringtime_zonestringRequiredhoursstringRequiredstep_minutesobjectlead_hoursintegerdays_aheadintegerservicesobject[]Requirednotify_contact_idstringworkspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/chat_booking_cancel
Chat booking cancel
Destructive
Cancels one chat booking by id and opens its time again. Keystone support refunds the deposit until Stripe Connect is on. Keystone does not message the buyer; call or text them yourself.
booking_idstringRequiredworkspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/text_assistant_settings
Text assistant settings
Write
Read or change the workspace text assistant. Turns texting the Keystone line on or off and chooses which assistant capabilities are allowed.
enabledboolean- Whether verified workspace phones can text the assistant.
allowed_tools"summary" | "calendar" | "leads" | "calls" | ...[]- Assistant capabilities to allow: summary, calendar, leads, calls, text_customer, reminders.
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/gap_fill_launch
Gap fill launch
Write
A booked appointment canceled: open the slot and line up who to offer it to. Ranks the waitlist (people waiting on a later booking go first) and past customers who are due back, in waves. Nothing is sent: it returns the people, the text they would get and a page link. Offers go out only when the owner or an admin presses Send offers on that page. With a deposit, the first person to pay it gets the slot and anyone who pays after it is taken is refunded automatically. starts_at takes a local time like "YYYY-MM-DD 14:00" (read in the business time zone) or an ISO time with a zone.
starts_atstringRequiredends_atstringduration_minutesintegerservicestringwith_whomstring- The stylist, doctor or person the appointment is with.
deposit_dollarsnumber- Deposit to claim the slot, 0 for none. Charged by card on a claim page.
worth_dollarsnumber- What the appointment is worth, for the money-saved total.
time_zonestringmessagestring- Custom text. Must include {link} and an opt-out line. Can use {first_name}, {service}, {business}, {when}, {with}, {deposit}.
max_peopleintegerwave_sizeintegerwave_gap_minutesintegerclose_before_minutesinteger- Stop offering this many minutes before the start. Default 30.
overdue_weeksinteger- Past customers count as due back after this many weeks. Default 8.
sourcestringsource_refstring- The canceled booking or calendar event id, so one cancellation opens one slot.
canceled_phonestring- The phone of the person who canceled. They are not offered the slot.
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/gap_fill_status
Gap fill status
Read
Open slots from cancellations in this workspace: who was offered each one, who opened the link, who paid, and who booked it. Pass slot_id for one slot with every person.
slot_idstringworkspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/gap_fill_cancel
Gap fill cancel
Write
Stop offering an open slot: no more waves go out and open card pages close. A booked slot cannot be canceled here.
slot_idstringRequiredworkspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/waitlist_add
Waitlist add
Write
Add a customer to the waitlist for last-minute openings, or update them. Only add people who asked to be texted about openings. days and the earliest and latest start times limit which openings they are offered; current_booking_at marks someone holding a later appointment who wants to come in sooner.
namestringRequiredphonestringRequiredasked_to_be_textedbooleanRequired- true: they asked to be texted when a time opens.
servicestringdaysstring[]earliest_startstringlatest_startstringcurrent_booking_atstringnotestringworkspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/waitlist_list
Waitlist list
Read
The waitlist for last-minute openings in this workspace, with the days and times each person can come.
include_removedbooleanworkspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/waitlist_remove
Waitlist remove
Write
Take a person off the waitlist. They are not offered openings again unless added back.
waitlist_idstringRequiredworkspacestring- Workspace slug or id. Omit to use your active workspace.
Wallet, purchases and financing
10 endpoints
Wallet, purchases and financing
10 endpoints
POST
/v1/tools/financing_link
Financing link
Approval gated
Create a Wisetack customer financing link for a quote amount ($500 to $65,000) and customer using this workspace’s connected Wisetack partner credentials. Requires Wisetack partner approval. (Sends an external message; confirm with the user first. If the workspace requires approval for sends, the result has status needs_approval: share the approve_url, then call again with the same arguments plus approval_id.)
amount_usdnumberRequired- Quote amount in USD ($500 to $65,000).
customer_namestringRequired- Customer full name.
customer_phonestring- Customer mobile phone number.
customer_emailstring- Customer email address.
quote_referencestring- Estimate, proposal, or invoice reference ID.
service_descriptionstring- Short description of the quoted work.
estimated_completion_datestring- Estimated completion date (YYYY-MM-DD).
send_via"link_only" | "sms" | "email"- Return link_only, or ask Wisetack to send the application by sms or email.
idempotency_keystring- Reuse the same key on retries so duplicate financing links are not created.
approval_idstring- The approval_id from a needs_approval result, after a person approved it. Pass the same arguments as the first call.
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/financing_status
Financing status
Read
Check status of one financing link (refreshing live status from Wisetack when partner access is enabled) or list recent financing applications in this workspace.
financing_idstring- Keystone financing ID (fin_...) or Wisetack application ID. Omit to list recent applications.
refreshboolean- When financing_id is provided, query Wisetack for the latest status.
status"created" | "prequal_started" | "prequalified" | "pending" | ...- Status filter when listing workspace applications.
limitinteger- Maximum applications to list (1 to 50).
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/wallet_status
Wallet status
Read
Shows the account wallet balance, whether a card is on file, and auto top-up settings.
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/wallet_history
Wallet history
Read
Shows the receipt for the last 50 charges and credits: date, item, description, amount, and whether the wallet or the card paid. Includes formatted USD and micro-dollar amounts.
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/client_wallet_status
Client wallet status
Read
Agency view of this client's wallet: on or off, balance, this month's billing to the client, Keystone's cost to the agency, the agency's margin, the agency's prices for each item, and the latest ledger lines. Owners and admins only.
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/client_wallet_settings
Client wallet settings
Write
Turn this client's wallet on or off, set the balance that triggers a low-balance notice to the agency, and choose whether the agency's own wallet covers the client when their balance runs short. When on, everything Keystone charges for this client comes out of the client's wallet at the agency's prices.
enabledbooleanlow_balance_usdnumberagency_backstopboolean- Move money from the agency's wallet when the client's balance is short.
agency_backstop_usdnumberclient_auto_top_up_offboolean- Turn off the client's automatic card payments. Only the client can turn them on.
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/client_wallet_recharge_set
Client wallet recharge set
Write
Set the recharge terms for a client wallet. The client approves them when saving a card.
threshold_usdnumberRequiredamount_usdnumberRequiredworkspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/client_wallet_price_set
Client wallet price set
Write
Set the agency's price to its client for one item or every item, as a percent over the agency's cost or a fixed price per charge (never below the agency's cost). applies_to 'client' sets it for this client; 'default' sets it for every client without their own price. Pass clear: true to remove a price. Keystone's own price to the agency does not change.
item"*" | "instant" | "domain" | "phone_number" | ...Required- An item, or '*' for every item.
applies_to"client" | "default"percentnumber- Percent over your cost, for example 40 for plus 40%.
fixed_usdnumber- Client price per charge in dollars.
clearbooleanworkspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/client_wallet_fund
Client wallet fund
Approval gated
Move money from the agency's own Keystone wallet into this client's wallet. Use when the agency pays for the client and bills them itself. (Spends money or changes billing, so a person must approve the exact amount first. Keystone asks the account owner or an admin itself: in your client when it supports approval prompts, otherwise the result has status needs_approval with an approve_url. Share that link, wait until the person says they approved, then call this tool again with the same arguments plus approval_id. The approval works once, expires, and changed arguments, amount or target need a new one. approved: true in the input never counts as approval.)
amount_usdnumberRequiredrequest_keystringRequired- A new random value per transfer, reused only to retry the same transfer.
approval_idstring- The approval_id from a needs_approval result, after a person approved it. Pass the same arguments as the first call.
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/client_wallet_receipts
Client wallet receipts
Read
This client's wallet balance and receipts at the prices the client pays. Safe to show the client. Works for client seats too.
workspacestring- Workspace slug or id. Omit to use your active workspace.
Reports, tracking and research
59 endpoints
Reports, tracking and research
59 endpoints
POST
/v1/tools/attribution_sync
Attribution sync
Write
Refresh a lead cohort. Select one booking system and the client-specific tracker IDs. Includes workspace tracking calls, received forms and bound Google Ads spend. Replaces the exact period atomically.
fromstringRequiredtostringRequiredcrm"fieldpulse" | "workiz" | "housecall_pro" | "jobber" | ...RequiredtimeZonestring- Business time zone for CRM dates without offsets and lead cohorts. Choose the advertising account time zone.
trackingLabelsobject[]callrailCompanystringwhatconvertsProfileintegerctmAccountstringmetaAccountstringlocalServicesbooleanworkspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/cost_per_booked_job
Cost per booked job
Read
Preferred acquisition metric. Spend for the lead cohort divided by jobs booked within 30 days of those leads. Returns channel and campaign totals, account currencies, and name-only matches excluded for review.
fromstringRequiredtostringRequiredleadOffsetintegerworkspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/lead_to_revenue
Lead to revenue
Read
Trace a source-prefixed lead ID to customer, booked jobs, confidence and linked invoice amounts in source currency.
leadstringRequiredfromstringRequiredtostringRequiredworkspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/budget_recommendations
Budget recommendations
Read
Compare channels by cost per booked job. Suggest a budget test when the 30-day booking window has closed and channels have comparable spend.
fromstringRequiredtostringRequiredworkspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/briefing_today
Briefing today
Approval gated
Build the morning briefing for this workspace from the numbers Keystone already has: yesterday's calls answered and missed, new form leads, new reviews and the bad ones, open watchdog alerts, content waiting for approval, and ad spend against leads when ads are connected. It reads stored data only and calls no paid data service. For an account owner or admin of an agency with several clients it also builds the roll-up across all of them, with the clients that need attention first. Pass send_email to send it to the addresses in the briefing settings. (Sends an external message; confirm with the user first. If the workspace requires approval for sends, the result has status needs_approval: share the approve_url, then call again with the same arguments plus approval_id.)
send_emailboolean- Send the briefing by email as well as showing it here.
approval_idstring- The approval_id from a needs_approval result, after a person approved it. Pass the same arguments as the first call.
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/briefing_settings
Briefing settings
Write
Read or change the morning briefing settings: the time it arrives, the time zone it uses, the addresses that receive it and whether it is on. For an agency, set the roll-up across every client instead of one workspace.
scope"workspace" | "account"- One workspace, or the roll-up across every client in the account.
enabledboolean- Turn the briefing on or off.
send_hourinteger- The hour it arrives, in the time zone below.
send_minuteinteger- The minute it arrives.
time_zonestring- The time zone of the business, like local time zone.
recipientsstring[]- The addresses that get the briefing. Leave it out to send it to the account owners.
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/track_keywords
Track keywords
Approval gated
Save up to 100 keywords for recurring Google organic checks in a workspace. Use a city or US ZIP and choose the device and cadence. Checks are billed pay-as-you-go from the Keystone wallet. (Spends money or changes billing, so a person must approve the exact amount first. Keystone asks the account owner or an admin itself: in your client when it supports approval prompts, otherwise the result has status needs_approval with an approve_url. Share that link, wait until the person says they approved, then call this tool again with the same arguments plus approval_id. The approval works once, expires, and changed arguments, amount or target need a new one. approved: true in the input never counts as approval.)
domainstringRequiredlocationstringRequired- US ZIP or full location name such as Atlanta,Georgia,United States.
device"mobile" | "desktop"enginestringlanguagestringfrequency"daily" | "weekly"keywordsstring[]Requiredapproval_idstring- The approval_id from a needs_approval result, after a person approved it. Pass the same arguments as the first call.
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/untrack_keywords
Untrack keywords
Write
Stop recurring checks for keyword IDs from tracked_keywords. Keep saved history.
idsstring[]Requiredworkspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/tracked_keywords
Tracked keywords
Read
List scheduled keywords, current Google organic position, ranking URL, best position, and 7- and 30-day change. Positions outside the top 100 are null. Changes use the latest observation at or before the comparison date, with unranked treated as 101.
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/rank_history
Rank history
Read
Get recent organic checks for one keyword ID from tracked_keywords, including the ranking URL and check status.
idstringRequireddaysintegerworkspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/rank_report
Rank report
Read
Report ranking gains, losses, entries to the top 3 and 10, and organic share of voice against named competitor domains. Change compares successful observations.
daysobjectdomainstringcompetitorsstring[]workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/rank_check_now
Rank check now
Approval gated
Run one paid live Google organic check for a tracked keyword ID and save the result. Scheduled checks continue on their usual cadence. (Paid lookup, a few cents. It runs right away within the workspace daily lookup allowance. Past the allowance it returns needs_approval: share approve_url, then call again with approval_id.)
idstringRequiredapproval_idstring- The approval_id from a needs_approval result, after a person approved it. Pass the same arguments as the first call.
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/grid_track
Grid track
Approval gated
Schedule recurring Google Maps checks for a keyword around a Google Place ID. Each point is a paid search. Radius is the distance from the center to the middle of each edge in miles. (Spends money or changes billing, so a person must approve the exact amount first. Keystone asks the account owner or an admin itself: in your client when it supports approval prompts, otherwise the result has status needs_approval with an approve_url. Share that link, wait until the person says they approved, then call this tool again with the same arguments plus approval_id. The approval works once, expires, and changed arguments, amount or target need a new one. approved: true in the input never counts as approval.)
keywordstringRequiredplace_idstringRequired- Google Business Profile Place ID.
business_namestringRequiredlatitudenumberRequiredlongitudenumberRequiredradius_milesnumbersizeobjectlanguagestringfrequency"daily" | "weekly"approval_idstring- The approval_id from a needs_approval result, after a person approved it. Pass the same arguments as the first call.
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/grid_results
Grid results
Read
List tracked map grids or pass an ID to see the latest and previous runs, average rank among ranked points, share of checked points in the top 3, and up to three competitors per point.
idstringworkspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/grid_untrack
Grid untrack
Write
Stop recurring checks for a map grid ID from grid_results. Keep saved grid history.
idstringRequiredworkspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/tracking_resume
Tracking resume
Approval gated
Resume scheduled rank tracking after adding wallet funds. Keystone will settle any outstanding search charges before starting new checks. (Spends money or changes billing, so a person must approve the exact amount first. Keystone asks the account owner or an admin itself: in your client when it supports approval prompts, otherwise the result has status needs_approval with an approve_url. Share that link, wait until the person says they approved, then call this tool again with the same arguments plus approval_id. The approval works once, expires, and changed arguments, amount or target need a new one. approved: true in the input never counts as approval.)
approval_idstring- The approval_id from a needs_approval result, after a person approved it. Pass the same arguments as the first call.
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/queries_research
Queries research
Approval gated
Run and save Keystone Queries research. Choose keyword ideas or metrics, live Google results, organic competitors, ranked keywords, backlinks, or a backlink summary. Billed pay-as-you-go from the Keystone wallet. Provide a name to make the saved result easy to find. (Paid lookup, a few cents. It runs right away within the workspace daily lookup allowance. Past the allowance it returns needs_approval: share approve_url, then call again with approval_id.)
kind"keyword_ideas" | "keyword_metrics" | "serp" | "competitors" | ...RequiredquerystringRequired- A keyword for keyword ideas, keyword metrics, or search results. A domain for competitor or backlink research.
namestring- Name for the saved run. Defaults to the research type and query.
marketstring- Country for keyword and competitor data, or a country or full location name for live search.
languagestringrequest_idstring- Reuse this ID when retrying the same run to avoid another provider charge.
approval_idstring- The approval_id from a needs_approval result, after a person approved it. Pass the same arguments as the first call.
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/queries_saved
Queries saved
Read
List saved Keystone Queries research in the current workspace, newest first. Use a result ID with queries_get to reopen a snapshot.
kind"keyword_ideas" | "keyword_metrics" | "serp" | "competitors" | ...limitintegeroffsetintegerworkspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/queries_get
Queries get
Read
Open a saved Keystone Queries run in this workspace. Returns the original inputs, date and available results without a new lookup.
idstringRequiredworkspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/queries_rename
Queries rename
Write
Change the name of completed Keystone Queries research in this workspace.
idstringRequirednamestringRequiredworkspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/queries_payment_retry
Queries payment retry
Approval gated
Retry the wallet payment for a saved Keystone Queries run marked payment_due. Uses the recorded cost and returns the saved run. (Paid lookup, a few cents. It runs right away within the workspace daily lookup allowance. Past the allowance it returns needs_approval: share approve_url, then call again with approval_id.)
idstringRequiredapproval_idstring- The approval_id from a needs_approval result, after a person approved it. Pass the same arguments as the first call.
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/queries_pay
Queries pay
Approval gated
Compatibility alias for queries_payment_retry. Retry the wallet payment for a saved Keystone Queries run marked payment_due. Uses the recorded cost and returns the saved run. (Paid lookup, a few cents. It runs right away within the workspace daily lookup allowance. Past the allowance it returns needs_approval: share approve_url, then call again with approval_id.)
idstringRequiredapproval_idstring- The approval_id from a needs_approval result, after a person approved it. Pass the same arguments as the first call.
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/research_page_snapshot
Research page snapshot
Read
Inspect any public webpage in a single rendered page load. Returns two or more formats together: markdown, links, scraped DOM elements, accessibilityTree, HTML content, screenshot, PDF (base64), or AI-extracted JSON. Useful for competitor landing pages, service-page teardowns, and prospect audits.
urlstringRequired- Public http or https webpage URL to inspect.
formats"content" | "screenshot" | "markdown" | "accessibilityTree" | ...[]- At least two distinct formats to capture in one load (markdown, links, scrape, json, accessibilityTree, pdf, screenshot, content).
selectorsstring[]- CSS selectors to extract when scrape is included. Defaults to title, meta description, headings, tel links, forms, and JSON-LD.
promptstring- Extraction instruction required when requesting the json format.
visible_links_onlyboolean- Return only visible links when links format is requested.
exclude_external_linksboolean- Return only same-site links when links format is requested.
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/playbook_list
Playbook list
Read
List the marketing playbooks (local SEO, Business Profile and reviews, AI search visibility, Google Ads and LSA, Meta ads, call tracking, landing pages, client reports, competitor research, reactivation, technical SEO, service pages, why calls dropped) and the playbooks this agency saved. Pass the job in plain words to get the best matches first. Call this before any marketing job, then playbook_get the best match and follow it.
jobstring- The job in plain words, e.g. "why did calls drop" or "build a google ads campaign"
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/playbook_get
Playbook get
Read
Get one playbook as markdown: when to use it, the steps with the Keystone tools to call at each step, thresholds, what good output looks like and common mistakes. Pass the id from playbook_list (a plain-language job also works).
idstringRequired- Playbook id from playbook_list, e.g. "local-seo"
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/ai_visibility_check
AI visibility check
Approval gated
Check whether AI assistants recommend a business. With no queries: runs this client's tracked buyer questions in ChatGPT, Google AI Overviews, Google AI Mode, Perplexity and Gemini (the engines set up for it), saves the answers to the weekly history, and returns the share of answers that name the client, who was named instead and the sources cited. The weekly run is covered by the allowance the owner approved when turning tracking on; any other run asks first. Billed pay-as-you-go from the Keystone wallet. With brand, domain and queries: a one-off check (LLM mention counts, AI Overviews, ChatGPT) that saves nothing. Keep the business name out of the questions. (Spends money or changes billing, so a person must approve the exact amount first. Keystone asks the account owner or an admin itself: in your client when it supports approval prompts, otherwise the result has status needs_approval with an approve_url. Share that link, wait until the person says they approved, then call this tool again with the same arguments plus approval_id. The approval works once, expires, and changed arguments, amount or target need a new one. approved: true in the input never counts as approval.)
brandstring- Business name as customers say it
domainstring- Website domain, e.g. example.com
queriesstring[]- Buyer questions as people ask an assistant, e.g. "who is the best roofing company in Tampa"
location_namestring- DataForSEO location for Google results, e.g. "Tampa,Florida,United States"
language_codestringchatgptboolean- Also ask ChatGPT each question through DataForSEO
chatgpt_runsinteger- Ask ChatGPT each question this many times; answers vary between runs
approval_idstring- The approval_id from a needs_approval result, after a person approved it. Pass the same arguments as the first call.
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/local_seo_snapshot
Local SEO snapshot
Approval gated
Local SEO snapshot for one business in one city: its Google Business Profile facts (categories, rating, review count, photos, claimed, hours), its map pack, Google Maps and organic positions for up to 5 money terms, the pack winners with their ratings and review counts, the most common competitor category, the directories Google shows for the brand name with a phone match check, and plain findings. Follow playbook local-seo. DataForSEO bills each call (2 per term plus 2); the result includes the total cost. (Spends money or changes billing, so a person must approve the exact amount first. Keystone asks the account owner or an admin itself: in your client when it supports approval prompts, otherwise the result has status needs_approval with an approve_url. Share that link, wait until the person says they approved, then call this tool again with the same arguments plus approval_id. The approval works once, expires, and changed arguments, amount or target need a new one. approved: true in the input never counts as approval.)
businessstringRequired- Business name exactly as on the Google profile
domainstring- Website domain, e.g. example.com
location_namestringRequired- City as DataForSEO names it, e.g. "Tampa,Florida,United States"
keywordsstring[]Required- Money terms, e.g. "roof replacement", "electrician near me"
language_codestringmaps_depthintegerapproval_idstring- The approval_id from a needs_approval result, after a person approved it. Pass the same arguments as the first call.
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/keyword_opportunities
Keyword opportunities
Approval gated
Organic keyword opportunities for a domain against up to 3 named competitors (DataForSEO Labs, country-level data). Returns striking-distance keywords (the site ranks 4 to 20), gaps (a competitor ranks top 10, the site does not rank), and keywords where both rank but the competitor is ahead, each with volume and a score, competitor brand terms removed, plus a merged top list. Pass include_terms (services, cities) to keep only relevant keywords. Follow playbooks service-area-pages and competitor-research. DataForSEO bills each call (1 plus 2 per competitor); the result includes the total cost. (Spends money or changes billing, so a person must approve the exact amount first. Keystone asks the account owner or an admin itself: in your client when it supports approval prompts, otherwise the result has status needs_approval with an approve_url. Share that link, wait until the person says they approved, then call this tool again with the same arguments plus approval_id. The approval works once, expires, and changed arguments, amount or target need a new one. approved: true in the input never counts as approval.)
domainstringRequired- Your website domain
competitorsstring[]Required- Competitor domains that rank organically (not directories)
location_namestring- Country for DataForSEO Labs; a city is reduced to its country
language_codestringinclude_termsstring[]- Keep only keywords containing at least one of these words, e.g. ["roof", "panel upgrade", "tampa"]
min_volumeintegerlimitinteger- Rows read per DataForSEO call
topintegerapproval_idstring- The approval_id from a needs_approval result, after a person approved it. Pass the same arguments as the first call.
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/ai_visibility_report
AI visibility report
Read
Read this client's AI search tracking: share of AI answers that name it, week by week; the latest check engine by engine; the businesses named instead and how often; the sources engines cite when they leave it out; each question with which engines named the client; open fixes; and the monthly cost estimate. Spends nothing.
weeksintegerworkspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/ai_visibility_fixes
AI visibility fixes
Write
Turn this client's AI search gaps into fixes Keystone can do: answer pages with FAQ schema for questions the engines answer without the client, Business Profile completeness, review requests that mention the service, listings on the directories the engines cite, a reply for a cited forum thread, an email to a cited list, and an llms.txt file. Each fix names the Keystone tool that does it and carries a draft. With draft true, page fixes go to the content review queue as pending drafts. Nothing is published, posted or sent; those steps follow the normal approval rules. Pass fix_id with status to mark one done or dismissed.
draftboolean- Put page drafts in the content review queue and mark the other fixes drafted
fix_idstringstatus"open" | "done" | "dismissed"- With fix_id: mark that fix
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/ai_visibility_setup
AI visibility setup
Approval gated
Set up weekly AI search tracking. preview true returns suggested buyer questions, the engines and the cost before anything changes. on true turns it on for this client (or every client with all_clients true): an owner or admin approves the monthly estimate, and the Account Manager's weekly Loop runs the check. on false turns it off. Pass questions, engines (chatgpt, google_ai_overview, google_ai_mode, perplexity, gemini), location_name and competitors to change them. (Spends money or changes billing, so a person must approve the exact amount first. Keystone asks the account owner or an admin itself: in your client when it supports approval prompts, otherwise the result has status needs_approval with an approve_url. Share that link, wait until the person says they approved, then call this tool again with the same arguments plus approval_id. The approval works once, expires, and changed arguments, amount or target need a new one. approved: true in the input never counts as approval.)
previewbooleanonbooleanall_clientsbooleanquestionsstring[]engines"chatgpt" | "google_ai_overview" | "google_ai_mode" | "perplexity" | ...[]location_namestring- Location, e.g. "Tampa,Florida,United States"
competitorsstring[]approval_idstring- The approval_id from a needs_approval result, after a person approved it. Pass the same arguments as the first call.
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/site_audit
Site audit
Approval gated
Check a public page for mobile lab speed, visitor performance, technical headers, and a single-load rendered page snapshot (title, meta description, H1s, structured data, tap-to-call phone links, forms, links, and word count). A paid mobile test uses the workspace search account if the free lab is unavailable. (Spends money or changes billing, so a person must approve the exact amount first. Keystone asks the account owner or an admin itself: in your client when it supports approval prompts, otherwise the result has status needs_approval with an approve_url. Share that link, wait until the person says they approved, then call this tool again with the same arguments plus approval_id. The approval works once, expires, and changed arguments, amount or target need a new one. approved: true in the input never counts as approval.)
urlstringRequiredapproval_idstring- The approval_id from a needs_approval result, after a person approved it. Pass the same arguments as the first call.
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/report_monthly
Report monthly
Write
Generate this month's client report for the workspace: pulls calls, leads, booked jobs, ad spend, rankings, map grids, and reviews, writes a plain-English summary with the agency model, saves it to the workspace documents, and shows it in the client portal. Returns the report id and where to find it.
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/prospect_audit
Prospect audit
Approval gated
Win the pitch: run live search checks on a prospect (business profile, map pack and a 5x5 map grid, organic rankings, backlinks, mobile speed, ads competitors run, AI search visibility), then produce an agency-branded report page and PDF with findings and a 90-day plan, and return a shareable link. Billed pay-as-you-go from the workspace wallet. (Spends money or changes billing, so a person must approve the exact amount first. Keystone asks the account owner or an admin itself: in your client when it supports approval prompts, otherwise the result has status needs_approval with an approve_url. Share that link, wait until the person says they approved, then call this tool again with the same arguments plus approval_id. The approval works once, expires, and changed arguments, amount or target need a new one. approved: true in the input never counts as approval.)
domainstringRequired- Prospect website domain, e.g. example.com
business_namestringRequired- Business name exactly as on the Google profile
citystringRequired- City and country, e.g. "Tampa,Florida,United States"
keywordsstring[]- Money terms to check, e.g. "water heater repair". Guessed from the name when omitted.
place_idstring- Google place_id when known, improves grid matching.
latitudenumberlongitudenumberapproval_idstring- The approval_id from a needs_approval result, after a person approved it. Pass the same arguments as the first call.
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/reports_list
Reports list
Read
List generated monthly reports and prospect audits for this workspace.
kind"monthly" | "audit"workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/report_share
Report share
Write
Create a shareable link for a saved prospect audit report so it can be sent to the prospect. Monthly reports are shared through the client portal link instead.
report_idstringRequiredworkspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/watchdog_status
Watchdog status
Read
Read the overnight watchdog for this workspace: the settings, the last nightly run with every check result, and the open alerts.
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/watchdog_alerts
Watchdog alerts
Read
List the watchdog alerts for this workspace. Open alerts are the ones nobody has dealt with yet.
status"open" | "resolved" | "all"limitintegerworkspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/watchdog_settings
Watchdog settings
Write
Read or change the watchdog settings for this workspace: turn the nightly run on or off, set the thresholds, list the form pages to check, and turn on the safe auto-fixes. Auto-fixes stay off until the agency turns them on.
enabledboolean- Turn the nightly run on or off.
thresholdsobjectauto_fixobjectform_urlsstring[]- Form pages to check every night.
sitemap_urlobject- The sitemap to send to Search Console after the site comes back.
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/watchdog_run_now
Watchdog run now
Read
Run the overnight checks for this workspace right now and return every result. The nightly schedule does not change.
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/watchdog_resolve_alert
Watchdog resolve alert
Write
Close a watchdog alert after it has been dealt with.
idstringRequiredworkspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/competitors_list
Competitors list
Read
List the competitors this workspace watches, with the date each one was last checked and what changed since then.
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/competitors_add
Competitors add
Write
Watch a named competitor for this workspace. Give the business name, its domain, the city it serves and the keywords its ads are bought for. The weekly run compares what it does against the client.
namestringRequired- The competitor business name as customers know it.
domainstring- The competitor website domain, e.g. example.com.
location_namestringRequired- The city the competitor serves, e.g. "Tampa,Florida,United States".
keywordsstring[]- Keywords to check its ads against, e.g. "water heater replacement".
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/competitors_remove
Competitors remove
Write
Stop watching a competitor in this workspace.
idstringRequiredworkspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/competitor_weekly_summary
Competitor weekly summary
Read
Read the latest weekly competitor summary: new ads with the keyword and landing page, new and changed pages, review count and rating changes, and how the client stands against each competitor.
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/competitor_snapshot_get
Competitor snapshot get
Read
Read one stored competitor snapshot without refreshing providers: the ads it was running, the pages it published, its review count and rating, and its share of voice.
idstringRequiredworkspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/competitor_check
Competitor check
Read
Compatibility alias for competitor_snapshot_get. Read one stored competitor snapshot without refreshing providers: the ads it was running, the pages it published, its review count and rating, and its share of voice.
idstringRequiredworkspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/competitors_refresh
Competitors refresh
Read
Refresh this workspace from connected providers now, using their lookup allowances, and return the summary. The weekly schedule does not change.
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/competitor_run_now
Competitor run now
Read
Compatibility alias for competitors_refresh. Refresh this workspace from connected providers now, using their lookup allowances, and return the summary. The weekly schedule does not change.
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/revenue_feedback_configure
Revenue feedback configure
Write
Read or change revenue feedback for this workspace: Keystone sends each booked, invoiced and paid job from the connected field-service app (Jobber, Housecall Pro, Workiz, FieldPulse or GorillaDesk) back to Google Ads and Meta with its dollar value, matched to the original ad click or to contact details the lead agreed to share. Pick the stage that counts as the main conversion (paid by default) and whether the value is revenue or gross profit. Each stage goes to its own Google Ads conversion action (create them with gads_create_conversion_action kind OFFLINE_LEAD). Call with no arguments to read the settings.
enabledboolean- Turn the scheduled sends on or off.
field_app"auto" | "workiz" | "fieldpulse" | "gorilladesk" | ...- Field-service app to read jobs from. auto uses the only connected one.
primary_stage"booked" | "invoiced" | "paid"- Stage that counts as the main conversion. Default paid when the app reports payments.
value"revenue" | "gross_profit"- Send the job revenue, or revenue times margin_percent.
margin_percentobject- Gross margin percent used when value is gross_profit.
currencystring- ISO currency code of the job amounts. Default USD.
google_customer_idobject- Google Ads customer bound to this workspace. null stops Google sends.
google_actionsobject- Conversion action ID per stage. The primary stage needs one. Stages without one are not sent to Google.
meta"pasted" | "connected" | "off"- pasted uses the dataset ID and access token saved with connect meta_conversions. connected uses the connected Meta Ads account. off stops Meta sends.
meta_dataset_idstring- Dataset (pixel) ID, for the connected route.
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/revenue_feedback_status
Revenue feedback status
Read
Show what revenue feedback sent to Google Ads and Meta for this workspace: the last run, counts by result, and the latest sends with job, stage, value, match type and any error. Contact details never appear.
limitintegererrors_onlyboolean- Only show failed sends.
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/revenue_feedback_backfill
Revenue feedback backfill
Approval gated
Send booked, invoiced and paid jobs from the last 1 to 90 days that were never sent, each stage once. Dry run by default: returns counts, total value and a sample of what would go to Google Ads and Meta. Pass confirm: true to send. Meta only takes events up to 7 days old, so older stages go to Google only. (Sends an external message; confirm with the user first. If the workspace requires approval for sends, the result has status needs_approval: share the approve_url, then call again with the same arguments plus approval_id.)
daysintegerconfirmboolean- true sends. false (default) only reports what would be sent.
approval_idstring- The approval_id from a needs_approval result, after a person approved it. Pass the same arguments as the first call.
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/customer_attribution
Customer attribution
Read
Customer card for one customer in this workspace: who they are (masked phone and email), the source that first acquired them (channel, campaign, ad, keyword, click type), every job with new or repeat and the source that brought that job in, and the lifetime value credited to the acquiring source. Find the customer by customer id, phone, email, field-service customer id, or name. With no argument, lists the top customers by lifetime value.
customerstring- Customer id from ltv tools or the dashboard (lc_...).
phonestringemailstringapp"workiz" | "fieldpulse" | "gorilladesk" | "jobber" | ...- Field-service app for app_customer_id.
app_customer_idstringnamestring- Name search. Returns matches to pick from when more than one fits.
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/ltv_by_source
Ltv by source
Read
Lifetime value by the source that first acquired each customer, for customers whose first job is in the period: new customers, first-job revenue, lifetime value to date, 90, 180 and 365-day cohort value per customer, spend, cost per new customer (CAC), LTV:CAC and payback days. by campaign splits each channel by campaign.
fromstring- First day, YYYY-MM-DD. Default: 365 days before to.
tostring- Last day, YYYY-MM-DD. Default: today.
by"channel" | "campaign"workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/ltv_cac_report
Ltv cac report
Read
Which channels pay back: per channel CAC, lifetime value per customer, LTV:CAC and payback days, plus revenue in the period credited two ways (to what brought each job in, and to the source that first acquired the customer). The difference column shows where last-touch reports under-credit acquisition channels such as Google Ads.
fromstring- First day, YYYY-MM-DD. Default: 365 days before to.
tostring- Last day, YYYY-MM-DD. Default: today.
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/repeat_job_sources
Repeat job sources
Read
Jobs booked in the period grouped by what brought each job in (truck wrap number, past-customer texts, review requests, Google Ads and so on): total, new and repeat jobs and revenue, and for repeat jobs the sources that first acquired those customers. Shows which channels bring repeat work in and who deserves the customer credit.
fromstring- First day, YYYY-MM-DD. Default: 365 days before to.
tostring- Last day, YYYY-MM-DD. Default: today.
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/ltv_settings
Ltv settings
Write
Read or change lifetime attribution for this workspace. ad_feedback: off, report_only (default: shows the repeat customer value it would credit to Google Ads or Meta) or send (sends it). Repeat jobs from customers that Google Ads or Meta first acquired go to a separate repeat customer value conversion action in Google Ads (google_action_id, create one with gads_create_conversion_action) and a custom Meta event (meta_event_name), so new-customer conversions are never counted twice. Consent rules match revenue feedback. Also shows backfill progress and the latest results.
ad_feedback"off" | "report_only" | "send"google_action_idobject- Google Ads conversion action id for repeat customer value. null clears it.
meta_event_namestring- Meta custom event name. Default RepeatCustomerValue.
rebuildboolean- true rebuilds history from the start on the next cron ticks.
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/ltv_spend_set
Ltv spend set
Write
Record monthly spend for a channel the ad readers cannot see, such as a truck wrap, yard signs, mailers or a sponsorship, so cost per new customer and LTV:CAC cover it. Use the channel name the reports show (Truck wrap, Yard sign, Print and mail, or a tracking number label). amount 0 removes the entry.
monthstringRequired- YYYY-MM
channelstringRequiredcampaignstringamountnumberRequiredcurrencystringworkspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/market_benchmarks
Market benchmarks
Read
Shows where the current workspace stands against the market on cost per lead, cost per booked job, call answer rate and new reviews per 30 days: its own number, the market median and quartiles for its industry and metro (or the nearest wider group), and whether it is in the top quarter. Works only when the account owner has turned on outcome data sharing.
workspacestring- Workspace slug or id. Omit to use your active workspace.
API Anything apps and saved logins
14 endpoints
API Anything apps and saved logins
14 endpoints
POST
/v1/tools/logins_list
Logins list
Read
Lists the logins saved in this workspace: app name, sign-in page, masked username, two-factor method, whether it is turned on, and the owner's notes on where things are in the app. Never returns passwords or codes. To have Keystone sign in to any web app by itself and turn its jobs into tools, use API Anything (anything_app_add, anything_learn, anything_run).
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/login_use
Login use
Write
Hands ONE saved login in this workspace to API Anything, so Keystone signs in to that app by itself on a Keystone Computer, handles the authenticator code and keeps the session. Keystone never returns the username, password or code to you: you work in the app through Keystone tools (anything_learn to teach a job, anything_run to do it). Every call is recorded in the workspace audit trail with your reason, and each workspace gets 10 calls per 15 minutes.
appstringRequired- App name as shown by logins_list, or its id.
reasonstringRequired- What you want to do in the app, in a few words. Saved in the audit trail.
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/computer_use_guide
Computer use guide
Read
Short, practical steps for signing in to apps with no API using computer use: in Claude with Claude in Chrome, in ChatGPT agent mode, or with a browser agent on the person's own computer. Lists this workspace's saved logins and the safety rules for login_use. Call it before the first sign-in.
client"claude" | "chatgpt" | "local"- Only the steps for one AI client. Omit for all three.
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/anything_app_add
Anything app add
Write
API Anything: add any web app, even one with no API. Keystone gets its own login for the app, handles two-factor codes, learns the app and turns jobs into tools. access "invite" (best): Keystone creates the app entry and returns exact steps for the person to add a user for the Keystone email (and Keystone phone number for codes) in that app; Keystone accepts the invite, sets a strong password and signs in by itself. access "login": returns a secure page link where the person types an existing login. Never ask for passwords in chat.
appstringRequired- App name, for example the field-service or back-office app the business uses.
loginUrlstringRequired- The web address of the app's sign-in page.
access"invite" | "login"- invite: the person adds Keystone as a user. login: the person shares a login on a secure page.
extraSitesstring[]- Other web addresses the app itself uses, if its pages live on more than one site.
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/anything_apps
Anything apps
Read
API Anything: lists this workspace's Keystone identity (email and phone for app invites), the apps Keystone signs in to with their status, and the tools learned for each app with their inputs, risk and review status. Never returns passwords, codes or cookies.
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/anything_learn
Anything learn
Write
API Anything: teaches Keystone one or more jobs in an added app, for example "list today's calls" or "create a daily log for a job". Keystone signs in on a Keystone Computer, explores the app, and records each job as a step-by-step script with checks and a short doc. Each becomes a draft tool that a person reviews before it goes live. Learning runs in the background and takes a few minutes per job; check with anything_apps.
appstringRequired- App name or id from anything_apps.
jobsstring[]Required- Each job in plain words, including what to return or what to fill in.
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/anything_show
Anything show
Read
API Anything, Show it once: the fastest way to teach a job. Returns a link where the person does the task one time in a live Keystone Computer window, already signed in to the app, while Keystone records it. About two minutes later the job is a tool with named inputs (for example add_client_note with name and note) and plain-English steps, waiting for the person to turn it on. Use this instead of anything_learn when the person knows how the task is done, when it depends on how this business uses the app, or when learning alone failed. Pass tool to add another example to a tool that exists: doing it again with different values teaches what changes between runs. Passwords and codes typed during a recording are never recorded and never become inputs. Uses computer time while the window is open.
appstringRequired- App name or id from anything_apps.
goalstring- What the person will show, in a few words, for example "Add a note to a client".
toolstring- An existing tool name, to teach it another example.
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/anything_tool_review
Anything tool review
Write
API Anything: shows a learned tool for review (what it does, inputs, risk, each step and any proposed fix), or rejects a draft or a fix. Approving and turning a tool on happens only on the API Anything page, by a person.
toolstringRequired- Tool name from anything_apps.
action"show" | "reject_draft" | "reject_fix"workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/anything_run
Anything run
Destructive
API Anything: runs a live learned tool (from anything_apps, for example a "list calls" or "create daily log" tool) on a Keystone Computer and returns structured results. Tools that change data first answer with a summary and a confirm code: tell the person what will happen, wait for a yes, then call again with the confirm code. When the app moved or renamed a button, the run finds it again and finishes; the answer then lists what it adapted to under "adapted", and the new way waits for a person to approve. If a step still fails, Keystone saves a screenshot and prepares a fix for a person to review; it never changes a live tool by itself. To look up several things at once with a read-only tool, pass many (up to 5 sets of inputs): each runs on its own computer at the same time. Uses computer time (see computers_usage).
toolstringRequired- Exact tool name from anything_apps.
paramsobject- Inputs listed for the tool in anything_apps.
confirmstring- Confirm code from the first call, after the person said yes.
manyobject[]- Read-only tools only: several sets of inputs to run side by side. Leave params empty when you use this.
runner"cloud" | "my_browser"- my_browser: run in the person's own connected Chrome, where they are already signed in. Use it when the app turns Keystone Computers away or texts codes to the person's phone. Keystone also falls back to it by itself when the cloud run cannot sign in.
jobstring- A job id from an earlier answer that said the run is waiting for the person's Chrome. Pass it alone to get the result.
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/computers_usage
Computers usage
Read
Keystone Computers: this month's computer hours used, hours included, extra hours and their cost, when the month renews, and the latest sessions. Keystone Computers cost $15 a month per workspace with 15 hours included, then $0.20 an hour.
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/computers_settings
Computers settings
Approval gated
Keystone Computers: turns the add-on on or off for this workspace. Turning it on charges $15 to the card on file now and monthly after that (trial accounts get 2 free hours instead). Before turning it on, tell the person the price and wait for an explicit yes, then pass confirm true. Turning it off stops renewal; the paid month stays usable. (Spends money or changes billing, so a person must approve the exact amount first. Keystone asks the account owner or an admin itself: in your client when it supports approval prompts, otherwise the result has status needs_approval with an approve_url. Share that link, wait until the person says they approved, then call this tool again with the same arguments plus approval_id. The approval works once, expires, and changed arguments, amount or target need a new one. approved: true in the input never counts as approval.)
onbooleanRequired- true to turn on, false to turn off.
confirmboolean- true only after the person explicitly agreed to the $15 monthly charge.
approval_idstring- The approval_id from a needs_approval result, after a person approved it. Pass the same arguments as the first call.
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/anything_identity_get
Anything identity get
Read
API Anything: shows the Keystone user for this workspace: display name, email address, custom domain setup with the exact records or forwarding steps, addresses that still forward during a changeover, and the enrolled apps whose Keystone login email should be updated after a rename. Owner or admin only.
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/anything_identity_set
Anything identity set
Write
API Anything: changes the Keystone user. Owner or admin only. Set a display name, choose the mailbox name on the Keystone mail domain (for example localPart "ops-larkspur"), or move to the business's own domain (domain plus localPart, for example keystone@larkspurstudio.com). For a controlled domain Keystone sets up inbound mail automatically; otherwise the reply lists exact forwarding steps and MX records. After a rename the old address keeps receiving mail for 30 days. Pass check true to verify a custom address once the records or forwarding are in place.
displayNamestring- Name apps show for the Keystone user, for example "Larkspur Studio AI".
localPartstring- The part before the @, lowercase letters, digits, dots, dashes and underscores.
domainstring- Custom domain for the address, for example larkspurstudio.com. Omit to use the Keystone mail domain.
checkboolean- true only to verify a pending custom address instead of changing anything.
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/computer_view
Computer view
Read
Keystone Computers: the latest screen of an API Anything session, so the person can watch the computer work. Omit session for the newest session in this workspace. Passwords and codes are masked before a screen is saved. In AI apps that show cards it refreshes while the session runs.
sessionstring- Computer session id. Omit for the newest one.
workspacestring- Workspace slug or id. Omit to use your active workspace.
Memory and documents
9 endpoints
Memory and documents
9 endpoints
POST
/v1/tools/memory_save
Memory save
Write
Save a client memory, or choose account for agency-wide facts and preferences.
textstringRequiredkind"fact" | "decision" | "preference" | "note"Requiredtagsstring[]level"workspace" | "account"workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/memory_list
Memory list
Read
List recent memories. Includes the current workspace and its account by default.
level"workspace" | "account"kind"fact" | "decision" | "preference" | "note"limitintegeroffsetintegerworkspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/memory_search
Memory search
Read
Search memories and documents by keyword and meaning. Higher scores indicate closer matches.
level"workspace" | "account"kind"fact" | "decision" | "preference" | "note"limitintegeroffsetintegerquerystringRequiredworkspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/memory_forget
Memory forget
Destructive
Delete one memory by id and level.
idstringRequiredlevel"workspace" | "account"workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/docs_save
Docs save
Write
Save a report, audit or document in the workspace library.
titlestringRequiredfolderstringcontentstringRequiredformat"markdown" | "text"workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/docs_list
Docs list
Read
List recent documents in the workspace.
limitintegeroffsetintegerworkspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/docs_search
Docs search
Read
Search document titles, folders and indexed text by relevance.
querystringRequiredlimitintegeroffsetintegerworkspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/docs_get
Docs get
Read
Read a document or extracted upload text and get its dashboard download link.
idstringRequiredoffsetinteger- Character offset for the next page of text.
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/docs_delete
Docs delete
Destructive
Delete a workspace document and its file.
idstringRequiredworkspacestring- Workspace slug or id. Omit to use your active workspace.
Notebook and AI rules
21 endpoints
Notebook and AI rules
21 endpoints
POST
/v1/tools/notebook_search
Notebook search
Read
Search the notebook by keyword and meaning. Returns notes with path, title, tags, a snippet and a score. Leave out query to list recent notes. Searches the workspace and the account notebook by default.
querystringfolderstring- Only this folder and its subfolders, e.g. "Clients".
tagstringlevel"workspace" | "account" | "both"limitintegeroffsetintegerworkspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/notebook_read
Notebook read
Read
Read one note by path, file name or title, with its frontmatter, tags, links, backlinks and app link. Pass history to list versions, or version to read an old one. Long notes come in pages of 16,000 characters.
notestringRequiredlevel"workspace" | "account"- workspace: this business. account: the notebook shared by every workspace in the account.
versionintegerhistorybooleanoffsetintegerworkspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/notebook_write
Notebook write
Write
Write a note in markdown (frontmatter, [[wikilinks]] and #tags work as in Obsidian). mode replace, append or prepend. Pass daily to add to today's daily note, decision to record a decision in Decisions, or restore_version to put an old version back. Every save keeps a version.
pathstring- Folder path and name, e.g. "Clients/Acme Dental" or "Campaigns/Spring offer". .md is added.
contentstringmode"replace" | "append" | "prepend"dailyboolean- Add content to today's daily note (Daily/YYYY-MM-DD).
decisionstring- One decision and the reason, added as a dated line in Decisions.
expected_versioninteger- The version you read. The write fails if the note changed since.
restore_versionintegerlevel"workspace" | "account"- workspace: this business. account: the notebook shared by every workspace in the account.
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/notebook_link
Notebook link
Write
Link one note to another by adding a [[wikilink]] under a Related heading of the first note, with an extra relation such as "client of" or "replaces". The target may not exist yet; the link starts working when it does.
fromstringRequiredtostringRequiredrelationstringlevel"workspace" | "account"- workspace: this business. account: the notebook shared by every workspace in the account.
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/notebook_graph
Notebook graph
Read
The notebook as a link graph. mode overview: counts, best connected notes, orphans and links to missing notes. node: one note with its links, backlinks and notes sharing its tags. path: the shortest chain of links between two notes (up to 8). topic: notes about a subject grouped by folder or tag.
mode"overview" | "node" | "path" | "topic"notestring- For node.
fromstring- For path.
tostring- For path.
querystring- For topic.
by"folder" | "tag"limitintegerlevel"workspace" | "account"- workspace: this business. account: the notebook shared by every workspace in the account.
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/notebook_rules_get
Notebook rules get
Read
The rules this business set for its AI (AGENTS.md): the account rules and the current workspace rules. Read them at the start of every job and after switching workspace, and follow them.
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/notebook_rules_set
Notebook rules set
Write
Replace the AGENTS.md rules for this workspace or, with level account, for every workspace. Owners and admins only. Show the person the full new text and get their yes first. Old versions stay in history.
level"workspace" | "account"- workspace: this business. account: the notebook shared by every workspace in the account.
textstringRequiredworkspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/notebook_writer_setup
Notebook writer setup
Approval gated
Set up the notebook that writes itself. preview true returns the sources it would read and the weekly cost before anything changes. on true turns it on (owners and admins approve the weekly allowance); on false turns it off and keeps every page. Sources: call, text, email, booking, voice (calls Keystone made), job, review, deal (deal rooms), memory (saved client facts), action (work Keystone did). Keystone AI reads calls, texts, emails, bookings and reviews; the rest file at no charge. (Spends money or changes billing, so a person must approve the exact amount first. Keystone asks the account owner or an admin itself: in your client when it supports approval prompts, otherwise the result has status needs_approval with an approve_url. Share that link, wait until the person says they approved, then call this tool again with the same arguments plus approval_id. The approval works once, expires, and changed arguments, amount or target need a new one. approved: true in the input never counts as approval.)
previewbooleanonbooleansources"call" | "text" | "email" | "booking" | ...[]approval_idstring- The approval_id from a needs_approval result, after a person approved it. Pass the same arguments as the first call.
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/notebook_writer_run
Notebook writer run
Approval gated
File what is new now: calls, texts, emails, bookings, jobs, reviews, deal rooms, saved client facts and work Keystone did, into one page per customer, client and topic, each line citing its source. Covered by the weekly allowance when the writer is on; otherwise it asks first. Returns what was filed, what the privacy filter held back and what it cost. (Spends money or changes billing, so a person must approve the exact amount first. Keystone asks the account owner or an admin itself: in your client when it supports approval prompts, otherwise the result has status needs_approval with an approve_url. Share that link, wait until the person says they approved, then call this tool again with the same arguments plus approval_id. The approval works once, expires, and changed arguments, amount or target need a new one. approved: true in the input never counts as approval.)
approval_idstring- The approval_id from a needs_approval result, after a person approved it. Pass the same arguments as the first call.
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/notebook_writer_status
Notebook writer status
Read
Whether the notebook writer is on for this workspace, its sources, weekly allowance and spend, page and line counts, open promises and the last run. Spends nothing.
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/notebook_changes
Notebook changes
Read
What the notebook writer added or changed in the last seven days, page by page: new lines with their citations, lines that gained a source, promises made and kept, and what the privacy filter held back.
limitintegerworkspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/notebook_about
Notebook about
Read
Everything on file about one customer or client, by name, phone or email ("the Millers", "813-555-0142"): open promises with due days, what we know (prices quoted, preferences, problems), the timeline and promises kept. Every line carries its citation. Use it before calling, texting or quoting anyone.
whostringRequiredworkspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/notebook_fact
Notebook fact
Read
One notebook line and every source behind it: which call, text, email, job, review or deal room, when, and the passage it came from. Pass the line id from a citation link (/notebook/fact/<id>).
factstringRequiredworkspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/notebook_fact_edit
Notebook fact edit
Write
Change one line the writer wrote. text replaces its words and locks it, so the writer never changes it again. lock true or false locks or frees it. hide true takes it off the page for good (the writer will not add it back); hide false brings it back. done marks a promise kept or open. revert puts the writer's words back.
factstringRequiredtextstringlockbooleanhidebooleandonebooleanrevertbooleanworkspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/notebook_page_restrict
Notebook page restrict
Write
Restrict a customer or client page (owners and admins). A restricted page is taken out of the notebook, out of search and out of every AI answer, and the writer stops writing it. restricted false brings it back.
whostringRequiredrestrictedbooleanworkspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/skills_search
Skills search
Read
Find saved skills (reusable jobs) by what they do. Returns each skill's name, description, where it is and whether it needs review. Leave out query to list them. Call it before a multi-step job, then skill_run the best match.
querystringlevel"workspace" | "account" | "both"limitintegerworkspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/skill_get
Skill get
Read
Read one skill: when to use it, inputs, steps, the Keystone tools it calls with their risk, examples, version, where it came from and whether it needs review. Older versions are in notebook_read with history.
namestringRequired- The skill name, e.g. "map-pack-check".
level"workspace" | "account" | "both"workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/skill_save
Skill save
Write
Save a job that worked as a reusable skill (a SKILL.md note under Skills/ in the notebook; every save keeps a version). Use after a multi-step job the person was happy with, once they agree. Give when to use it, the inputs you had to ask for, the steps in order with the Keystone tools each used, and an example request. Pass expected_version to update one you read. Never include keys, passwords or personal data.
namestringRequired- Short name; Keystone makes it lowercase-with-hyphens.
titlestringdescriptionstringRequired- What it does and when to use it, in one or two sentences. This is how the AI finds it later.
when_to_usestringinputsobject[]stepsobject[]Requiredexamplesstring[]notesstring- Pitfalls or checks worth keeping, saved under "Notes".
level"workspace" | "account"- workspace: this business. account: the skills shared by every workspace in the account (agency skills).
expected_versionintegerworkspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/skill_run
Skill run
Read
Start a saved skill: checks its inputs and review state, then returns the steps to follow with the Keystone tools each step calls. It runs nothing itself; you call each tool, and Keystone's permission and approval checks apply as usual. Answers needs_inputs with what to ask the person, or needs_review with a link when a person must review an imported skill first.
namestringRequired- The skill name, e.g. "map-pack-check".
inputsobjectlevel"workspace" | "account" | "both"workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/skill_import
Skill import
Write
Bring in a skill written for Claude, OpenClaw, Hermes or any agent that reads SKILL.md. Pass the SKILL.md text, or an https link to one (GitHub and raw links work). Keystone checks it first: it refuses skills that hold secrets, try to reveal keys, send data to outside addresses, skip approvals or run shell commands, and maps the tools it names to Keystone tools. The saved copy is data: it cannot use tools that change, send or spend until a person reviews it.
contentstringurlstringnamestring- Save under this name instead of the one in the file.
level"workspace" | "account"- workspace: this business. account: the skills shared by every workspace in the account (agency skills).
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/skill_export
Skill export
Read
Export a skill as SKILL.md for another agent: flavor keystone, agentskills, claude, openclaw, hermes (agentskills is the open format; claude lists only read tools in allowed-tools, since Claude Code runs those without asking). Pass playbook instead of name to export a saved or built-in playbook as a skill. Returns the folder path and file text, and a link to download every skill as a zip.
namestringplaybookstringflavor"keystone" | "agentskills" | "claude" | "openclaw" | ...level"workspace" | "account" | "both"workspacestring- Workspace slug or id. Omit to use your active workspace.
Sites and forms
33 endpoints
Sites and forms
33 endpoints
POST
/v1/tools/site_create
Site create
Write
Creates a website in the current workspace with the editor (Keystone Sites): its own database and media library, a designed theme, starter pages built from the facts you pass, a contact form that sends leads to the CRM with spam protection, and a live HTTPS address. Pass pages to write your own pages instead of the starter set. Use engine "static" only to import finished HTML with site_deploy.
namestringRequired- Business or site name, e.g. "Oakridge Realty".
slugstring- URL-safe slug within this workspace. Generated from name if omitted.
engine"emdash" | "static"- emdash (default): site with the editor. static: upload files with site_deploy.
theme"meridian" | "atelier" | "harbor"- meridian: clear and confident (professional services, clinics, agencies, software). atelier: editorial and quiet (salons, boutiques, restaurants, architects). harbor: warm and energetic (fitness, cafes, schools, community groups). Default meridian.
brand_colorstring- Brand color as #rrggbb.
factsobject- True facts about the business for the starter pages. Leave out anything you do not know.
pagesobject[]- Your own pages as theme sections (slug "home" is the home page). Published on creation.
lead_emailsstring[]- Who gets an email for each lead. Default: you.
framework"static" | "astro"- Static sites only: static HTML or built Astro output.
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/site_deploy
Site deploy
Write
Deploys static HTML or built Astro output to a site in the current workspace from either a files map (path to text or base64 content) or the key of a ZIP archive uploaded to this workspace.
sitestringRequired- Site id or slug from site_create or site_list.
filesobject- Map of POSIX path (e.g. "index.html", "_astro/app.css") to UTF-8 text or { content, encoding: "base64" }.
archiveKeystring- Key of a ZIP archive uploaded to this workspace.
stripPrefixstring- Top-level folder prefix to strip from file paths, e.g. "dist".
framework"static" | "astro"- Framework label update.
notFoundHandling"404-page" | "single-page-application" | "none"- How unmatched routes are handled (default 404-page, serving /404.html when present).
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/site_list
Site list
Read
Lists every hosted site in the current workspace with its live URL, deployment state, and attached custom domains.
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/site_get
Site get
Read
Returns one site in the current workspace, including attached custom domains with SSL status and recent deployments.
sitestringRequired- Site id or slug.
refreshSslboolean- Set true to fetch live SSL and hostname verification status for attached custom domains.
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/site_delete
Site delete
Destructive
Permanently deletes a site in the current workspace along with its live deployment and attached custom hostname routes.
sitestringRequired- Site id or slug to delete.
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/site_domain_attach
Site domain attach
Write
Attaches a custom domain (with automated SSL) to a site in the current workspace and returns DNS setup records and current SSL status. Calling again refreshes SSL status.
sitestringRequired- Site id or slug in the current workspace.
hostnamestringRequired- Custom hostname to attach, e.g. "www.example.com" or "example.com".
validationMethod"txt" | "http"- SSL validation method (default txt).
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/domain_search
Domain search
Read
Checks live domain availability and registration prices. Pass a keyword or domain in query, or up to 20 explicit domains.
querystring- Business name or domain to check, e.g. "oakridge realty" or "oakridgerealty.com".
domainsstring[]- Up to 20 explicit domains to check authoritatively.
tldsstring[]- TLD extensions to check, e.g. ["com", "net", "co"].
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/domain_buy
Domain buy
Approval gated
Charges the card on file for the quoted registration price, then registers the domain in the current workspace. Refunds automatically if registration fails. Pass maxPriceUsd from domain_search to cap the charge. (Spends money or changes billing, so a person must approve the exact amount first. Keystone asks the account owner or an admin itself: in your client when it supports approval prompts, otherwise the result has status needs_approval with an approve_url. Share that link, wait until the person says they approved, then call this tool again with the same arguments plus approval_id. The approval works once, expires, and changed arguments, amount or target need a new one. approved: true in the input never counts as approval.)
registrantobjectRequired- Registrant contact details for this domain.
domainstringRequired- Exact available domain to buy, e.g. "oakridgerealty.com".
yearsinteger- Registration length in years (1 to 10, default 1).
autoRenewboolean- Enable registrar auto-renewal (default false).
maxPriceUsdnumber- Maximum customer price in USD; aborts before charging if exceeded.
idempotencyKeystring- Stable retry key to prevent duplicate charges if a request is retried.
approval_idstring- The approval_id from a needs_approval result, after a person approved it. Pass the same arguments as the first call.
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/domain_list
Domain list
Read
Lists every domain registered in the current workspace with status, price paid, and expiration.
includeFailedboolean- Include failed or refunded registration attempts (default false).
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/dns_records
DNS records
Write
Lists, creates, updates, or deletes DNS records for a domain registered in the current workspace.
domainstringRequired- Domain registered in the current workspace.
action"list" | "create" | "update" | "delete"- DNS operation to perform (default list).
recordIdstring- Record id (required for update and delete).
type"A" | "AAAA" | "CNAME" | "TXT" | ...- DNS record type (required for create and update).
namestring- Record name, "@" for apex, or subdomain relative to the domain.
contentstring- Record target or value.
ttlinteger- TTL in seconds, or 1 for automatic (default 1).
priorityinteger- Priority for MX or SRV records.
proxiedboolean- Proxy traffic for A, AAAA, or CNAME records (default false).
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/site_analytics
Site analytics
Read
Reports built-in privacy-safe analytics for one hosted site over 7, 30 or 90 days: visitors, page views, named sources, top pages, devices, countries, conversions (forms and taps on call and booking links) and conversion rate by source, and calls to tracking numbers counted apart by number. Works without Google Analytics.
sitestringRequired- Site id or slug.
daysobject- Reporting period in days: 7, 30 or 90.
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/site_analytics_detailed
Site analytics detailed
Write
Turns detailed first-party analytics on or off for a hosted site. When on, the edge serves a sub-1KB no-cookie script from the site domain that measures sessions, visit duration, tap-to-call clicks and booking-link clicks. Basic page views are counted either way.
sitestringRequired- Site id or slug.
enabledbooleanRequired- True to enable detailed measurement, false to disable it.
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/site_add_search_console
Site add search console
Write
Adds Google Search Console to a hosted site as one agent job. Keystone verifies ownership through the site tag, delegates access to the workspace identity, submits the sitemap and checks indexing. If Google sign-in is required, the result is a sign-in link; after the person approves, Keystone finishes the job without asking for a property or verification code.
sitestringRequired- Site id or slug.
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/site_add_google_analytics
Site add google analytics
Write
Adds Google Analytics to a hosted site as one agent job. Keystone creates or reuses a GA4 property and web stream, injects the tag at the edge with consent mode denied by default, and checks the live page. If Google sign-in is required, the result is a sign-in link; after the person approves, Keystone finishes the job without asking for a property or measurement ID. Pass remove true to remove it in one step.
sitestringRequired- Site id or slug.
displayNamestring- extra Analytics property display name when creating one. Omit it to use the site name.
timeZonestring- Analytics reporting time zone when creating a property (default local time zone).
removeboolean- Set true to remove Google Analytics injection from the site.
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/site_pages_list
Site pages list
Read
Lists the pages of a site that has the editor, with status, live URL and whether each has unpublished changes.
sitestringRequired- Site id or slug from site_list.
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/site_page_get
Site page get
Read
Returns one page as editable sections (the same shape site_page_upsert takes), including unpublished draft changes.
sitestringRequired- Site id or slug from site_list.
pagestringRequired- Page slug (home for the home page) or id.
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/site_page_upsert
Site page upsert
Write
Creates or changes a page as a draft. Pass the whole page as sections (hero, features, split, stats, testimonials, pricing, faq, logos, cta, text, contact_form); each renders with the site theme. Read the page with site_page_get first to edit it. Nothing goes live until site_publish.
sitestringRequired- Site id or slug from site_list.
slugstringRequiredtitlestringRequiredsectionsobject[]Required- Page sections in order. Each renders with the site theme; never send HTML.
seo_descriptionstring- Search result description, up to 160 characters.
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/site_media_upload
Site media upload
Write
Adds an image to a site media library from a public https URL or base64 content. Returns media_id for image fields in site_page_upsert.
sitestringRequired- Site id or slug from site_list.
urlstringcontent_base64string- Image bytes as base64, up to 10 MB.
filenamestringaltstringRequiredworkspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/site_menu_set
Site menu set
Write
Replaces the items of a site menu. primary is the header (mark one item button: true for the header button, such as a phone number); footer_product, footer_company and footer_support are the footer columns. Menus change on the live site right away.
sitestringRequired- Site id or slug from site_list.
menu"primary" | "footer_product" | "footer_company" | "footer_support"Requiredlabelstring- Column heading for footer menus.
itemsobject[]Requiredworkspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/site_publish
Site publish
Approval gated
Publishes draft changes so they go live. Pass the page slugs, or omit pages to publish every page that has unpublished changes. Asks the person to approve first. (Ends access or deletes data, so a person must approve it first. Keystone asks the account owner or an admin itself: in your client when it supports approval prompts, otherwise the result has status needs_approval with an approve_url. Share that link, wait until the person says they approved, then call this tool again with the same arguments plus approval_id. approved: true in the input never counts as approval.)
sitestringRequired- Site id or slug from site_list.
pagesstring[]approval_idstring- The approval_id from a needs_approval result, after a person approved it. Pass the same arguments as the first call.
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/site_convert_to_cms
Site convert to cms
Write
Adds the editor to a site: its own database, media library, contact form with spam protection, and a designed theme. A static site keeps its URL and domains; its live pages are copied in as editable pages. Also finishes an editor setup that stopped partway.
sitestringRequired- Site id or slug from site_list.
theme"meridian" | "atelier" | "harbor"- Starter theme. meridian: clear and confident (professional services, clinics, agencies). atelier: editorial and quiet (salons, boutiques, restaurants, studios). harbor: warm and energetic (fitness, cafes, schools, community groups).
brand_colorstring- Brand color as #rrggbb for buttons and accents.
factsobject- Facts for the starter pages. Only pass what is true for this business.
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/site_settings_set
Site settings set
Write
Changes a site theme, brand color, or who gets an email for each lead from its contact form. Theme and color changes go live in about a minute.
sitestringRequired- Site id or slug from site_list.
theme"meridian" | "atelier" | "harbor"- Starter theme. meridian: clear and confident (professional services, clinics, agencies). atelier: editorial and quiet (salons, boutiques, restaurants, studios). harbor: warm and energetic (fitness, cafes, schools, community groups).
brand_colorobject- #rrggbb, or "" to use the theme color.
lead_emailsstring[]- Addresses that get each lead. Empty list: the site creator.
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/form_create
Form create
Write
Create a lead capture form for this workspace with fields, validation, thank-you message or redirect URL, and CRM or webhook routing. Returns the public endpoint and embed snippets. Webhook signing secrets are managed on the workspace forms page.
namestringRequired- Form name, such as "Consultation Request".
fieldsobject[]Required- Ordered list of form fields (name, label, type, required, placeholder, options).
thank_you_messagestring- Message shown after a successful submission.
redirect_urlstring- https:// URL to redirect visitors after submission.
crm"auto" | "serviceline_crm" | "highlevel_location" | "hubspot" | ...- Destination CRM: auto (included ServiceLine CRM when on, else connected CRM or dashboard fallback), serviceline_crm, highlevel_location, hubspot, jobber, housecall_pro, webhook, or dashboard.
pipeline_idstring- CRM pipeline ID for opportunities or deals.
stage_idstring- CRM pipeline stage ID or dealstage ID.
tagsstring[]- Tags to apply to the created contact or lead.
sourcestring- Lead source label sent to the CRM.
create_dealboolean- Create a deal or opportunity in addition to the contact.
monetary_valuenumber- Default lead value for deals and conversion tracking.
currencystring- 3-letter ISO currency code, such as USD.
webhook_urlstring- https:// webhook URL signed with X-Keystone-Signature.
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/form_embed
Form embed
Read
Get the drop-in script tag and plain HTML form snippet for a form in this workspace. Both post to Keystone, capture UTM and click-ID attribution, and fire configured GA4 and Google Ads conversions.
formstringRequired- Form ID (frm_...) or form slug in this workspace.
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/form_list
Form list
Read
List forms in this workspace with routing, submission counts, failed delivery counts, and tracking setup.
include_archivedboolean- Include archived forms.
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/form_submissions
Form submissions
Read
List recent form submissions in this workspace with submitted fields, UTM and click-ID attribution, and full CRM, webhook, and server-side conversion delivery logs.
formstring- Form ID or slug to filter by.
status"pending" | "delivered" | "retrying" | "failed" | ...- Delivery status filter.
limitinteger- Maximum submissions to return (1 to 100).
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/form_update
Form update
Write
Update a form in this workspace: change status (active, paused, archived), fields, thank-you message, redirect URL, or CRM routing.
formstringRequired- Form ID or slug in this workspace.
namestringstatus"active" | "paused" | "archived"fieldsobject[]thank_you_messagestringredirect_urlobjectcrm"auto" | "serviceline_crm" | "highlevel_location" | "hubspot" | ...pipeline_idobjectstage_idobjecttagsstring[]sourceobjectcreate_dealbooleanmonetary_valueobjectcurrencystringwebhook_urlobjectworkspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/form_tracking_configure
Form tracking configure
Write
Configure GA4 and Google Ads conversion tracking for forms in this workspace. Sets client-side gtag IDs and server-side Google Ads offline click conversion settings. To add the GA4 Measurement Protocol API secret without pasting it in chat, open the returned tracking settings URL.
ga4_measurement_idobject- GA4 web stream Measurement ID, such as G-XXXXXXXXXX.
ga4_event_namestring- GA4 event name fired on submission (default generate_lead).
google_ads_conversion_idobject- Google Ads tag ID, such as AW-1234567890.
google_ads_conversion_labelobject- Google Ads conversion label for client-side gtag.
google_ads_customer_idobject- Bound Google Ads 10-digit customer ID for server-side offline click conversions.
google_ads_conversion_action_idobject- Google Ads conversion action ID for offline click conversions.
default_valueobject- Default conversion value per lead.
currencystring- 3-letter ISO currency code (default USD).
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/form_submission_resend
Form submission resend
Approval gated
Re-deliver one captured form submission in this workspace to its CRM, webhook, or server-side conversion target. (Sends an external message; confirm with the user first. If the workspace requires approval for sends, the result has status needs_approval: share the approve_url, then call again with the same arguments plus approval_id.)
submission_idstringRequired- Submission ID (sub_...) in this workspace.
delivery_idstring- Single delivery ID (del_...) to retry.
include_conversionsboolean- Also re-send server-side conversion events.
approval_idstring- The approval_id from a needs_approval result, after a person approved it. Pass the same arguments as the first call.
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/portal_link
Portal link
Write
Create (or return the status of) the shareable live client portal link for this workspace. Anyone with the link sees a read-only, agency-branded page of calls, leads, booked jobs, ad spend, rankings, map grids, and reviews. No Keystone login needed. Revoke with portal_revoke. The raw URL is only returned once, when it is created.
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/portal_links
Portal links
Read
List share links for this workspace: live portal links and shared audit report links, with created and last-viewed times. Raw tokens are never stored, so existing URLs cannot be shown again.
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/portal_revoke
Portal revoke
Destructive
Revoke a share link for this workspace by link id so its URL stops working immediately.
idstringRequiredworkspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/branding_set
Branding set
Write
Set the agency brand shown on client portals and reports: display name and hex color. The logo is uploaded on the portal settings page in the dashboard.
namestring- Agency display name.
colorstring- Brand accent as a hex color like #2563eb.
workspacestring- Workspace slug or id. Omit to use your active workspace.
Playbooks, marketplace and client setup
53 endpoints
Playbooks, marketplace and client setup
53 endpoints
POST
/v1/tools/playbook_run_all
Playbook run all
Read
Agency only. Runs one playbook across many client workspaces in the account: all of them, or only clients with a tag, a connected app or a plan label. It runs read and audit steps and returns one report per client. Any step that writes, sends, spends or deletes is never run in bulk; it waits per client in the approval queue. The run is worked through the background queue, a few clients at a time, so pass workspaces, then call playbook_run_status with the run id.
playbookstringRequired- A built-in playbook id or an agency playbook id or name.
workspacesobjectRequiredmax_workspacesinteger- Stop the run after this many clients.
max_calls_per_workspaceinteger- Cap on read tool calls per client for this run.
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/playbook_run_status
Playbook run status
Read
Agency only. Shows one fleet run: its status, clients done, clients failed, proposals waiting, and each client report. Pass workspace_id to read one client in detail. Call it after playbook_run_all until the run finishes.
run_idstringRequired- Run id returned by playbook_run_all.
workspace_idstring- Read one client in detail.
include_findingsboolean- Include the step findings for every client.
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/playbook_proposals
Playbook proposals
Read
Agency only. Lists the per-client approval queue for a fleet run or the whole account. Every write, send, money or destructive step lands here instead of running in bulk, and so does a read step that still needs a client value.
run_idstringworkspace_idstringstatus"pending" | "approved" | "rejected" | "executed" | ...limitintegerworkspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/playbook_proposal_decide
Playbook proposal decide
Write
Agency only. Approves or rejects one proposal for one client. Approving runs the real step in that workspace, so it can send a message, spend money or change data. Ask the person first and pass confirm true. Pass args only to fill values the run could not work out.
idstringRequired- Proposal id from playbook_proposals.
action"approve" | "reject"Requiredconfirmboolean- Must be true to approve.
argsobject- Values to merge into the proposed tool call.
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/playbook_save
Playbook save
Write
Agency only. Saves a playbook the agency owns: a name, steps in plain English, the tools each step may use and whether it runs automatically or waits for approval. Pass id to update an existing playbook. Saved playbooks run with playbook_run_all and can be read with playbook_get.
idstring- Update this saved playbook.
namestringRequiredsummarystring- One line on when to use it.
stepsobject[]Requiredworkspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/playbook_delete
Playbook delete
Write
Agency only. Deletes one playbook saved by this agency. Built-in playbooks cannot be deleted. Runs already started keep their own copy of the steps.
idstringRequired- Saved playbook id, slug or name.
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/workspace_labels
Workspace labels
Read
Agency only. Lists the labels on every client workspace: its tags, plan label and the location, keywords, time zone and connection ids used when a fleet step needs them. Use these labels to choose clients in playbook_run_all.
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/workspace_label_set
Workspace label set
Write
Agency only. Sets the tags and plan label on one client workspace, plus the city, money keywords, time zone and connection ids a fleet run should use when a step needs them. Pass the workspace argument to choose the client.
tagsstring[]- Replace the tags. Pass an empty list to clear them. Omit to keep them.
planstring- Your service plan label, such as retainer or project.
locationstring- City and country, such as Tampa,Florida,United States.
keywordsstring[]- Replace the money terms. Pass an empty list to clear them. Omit to keep them.
timezonestringcrmstring- Booking system slug, such as fieldpulse or jobber.
gsc_sitestring- Search Console property, when it differs from the website.
gbp_accountstring- Business Profile account id for this client.
gbp_locationstring- Business Profile location id for this client.
gads_customer_idstring- Google Ads customer id for this client, digits only.
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/agency_benchmarks
Agency benchmarks
Read
Agency only. Compares this agency's own clients on cost per lead, cost per booked job, call answer rate, review rating, new reviews per 30 days and map rank average. Returns each client's rank among the agency's clients and, for the best client on each metric, the playbook run or approved step that came before it. Never mixes clients from another account.
daysinteger- Period to compare, in days.
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/marketplace_search
Marketplace search
Read
Find approved playbooks and preview their steps and USD prices.
querystringworkspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/marketplace_publish
Marketplace publish
Write
Submit a saved agency playbook or an updated edition for review. The sample output is public.
playbookstringRequiredtitlestringRequireddescriptionstringRequiredsamplestringRequiredprice_usd_centsintegerRequiredworkspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/marketplace_install
Marketplace install
Approval gated
Install a playbook at its exact listed USD price. Keystone asks the owner to approve that price before charging. Pull an approved update for free with pull_update. Pulling replaces the installed steps. (Spends money or changes billing, so a person must approve the exact amount first. Keystone asks the account owner or an admin itself: in your client when it supports approval prompts, otherwise the result has status needs_approval with an approve_url. Share that link, wait until the person says they approved, then call this tool again with the same arguments plus approval_id. The approval works once, expires, and changed arguments, amount or target need a new one. approved: true in the input never counts as approval.)
listingstringRequiredapproved_usd_centsintegerRequiredpull_updatebooleanapproval_idstring- The approval_id from a needs_approval result, after a person approved it. Pass the same arguments as the first call.
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/marketplace_sales
Marketplace sales
Read
List sales of your agency playbooks, seller earnings in USD cents and manual payout status.
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/marketplace_report
Marketplace report
Write
Send a listing or purchase complaint to Keystone for review.
listingstringRequiredreasonstringRequiredworkspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/skill_publish
Skill publish
Write
Agency only, certified publishers only. Submit a reviewed skill from the account skills to the playbook marketplace. Keystone reviews every listing before it shows. The sample output is public.
namestringRequired- The skill name, e.g. "map-pack-check".
titlestringRequireddescriptionstringRequiredsamplestringRequiredprice_usd_centsintegerRequiredworkspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/onboarding_link_create
Onboarding link create
Write
Create a private client onboarding link for the selected workspace. Choose app slugs from the connection catalog. Include api_anything to let the client invite the workspace Keystone user to any web app, even one with no API.
businessType"general" | "home_services" | "towing" | "construction" | ...appsstring[]daysintegerworkspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/onboarding_status
Onboarding status
Read
Check client onboarding progress and custom API tool drafts for the selected workspace.
idstringworkspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/onboarding_link_revoke
Onboarding link revoke
Destructive
Disable a client onboarding link for the selected workspace.
idstringRequiredworkspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/client_seat_invite
Client seat invite
Approval gated
Give a client their own Keystone access to the current workspace, so they can connect their own AI (Claude, ChatGPT, Cursor) to this workspace only. Returns a one-time invite link for the agency to send. Each workspace includes 3 users; each additional user is $10 a month on the agency's bill. client_price_usd is what the agency charges its client for this person, recorded for margin tracking only. The client's AI can use every app connected in this workspace. (Spends money or changes billing, so a person must approve the exact amount first. Keystone asks the account owner or an admin itself: in your client when it supports approval prompts, otherwise the result has status needs_approval with an approve_url. Share that link, wait until the person says they approved, then call this tool again with the same arguments plus approval_id. The approval works once, expires, and changed arguments, amount or target need a new one. approved: true in the input never counts as approval.)
emailstringRequired- The client's email address. Only someone who signs in with it can accept.
client_price_usdnumber- What the agency charges this client per month for the seat.
approval_idstring- The approval_id from a needs_approval result, after a person approved it. Pass the same arguments as the first call.
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/client_seats
Client seats
Read
List client seats (invited and active) for the current workspace, or for every workspace with all_workspaces, and per workspace: users against the included number, what Keystone charges for extra users, what the agency charges its client, and the agency margin per month.
all_workspacesbooleanworkspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/client_seat_revoke
Client seat revoke
Destructive
Revoke a client seat or withdraw an invite at once. The client's AI loses access on its next call, and if the workspace was over its included users, the bill drops by one user.
seat_idstringRequiredworkspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/partner_status
Partner status
Read
Partner program earnings for the signed-in person: clicks, signups, trials, paying accounts, monthly recurring commission, and pending, payable and paid amounts in USD, plus recent payouts. Use it when someone asks how much they have earned from referrals. Partners earn 20% of every payment from accounts they refer.
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/partner_link
Partner link
Read
The signed-in person's partner referral link, pointing at any page on the Keystone site such as /pricing. Joins the partner program on first use (joining accepts the partner terms at /partner-terms). Visits through the link are tracked for 60 days.
pathstring- A page on the Keystone site, like / or /pricing. Defaults to the home page.
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/payouts_setup
Payouts setup
Write
Start or continue Stripe Express payout onboarding. For agency client-wallet margin payouts, only an account owner or admin can use it. For partner program payouts, it acts on the signed-in person's own partner record. Returns Stripe's hosted onboarding link; the person completes identity, bank and tax details there.
for"agency" | "partner"- Which payout to set up or inspect. Omit it to see both in payouts_status.
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/payouts_status
Payouts status
Read
Payout readiness for the signed-in person: not started, pending verification, or ready. Covers agency client-wallet margin payouts and their own partner-program payouts, with payable amounts and the next action. Refreshes pending Stripe Express account state before answering.
for"agency" | "partner"- Which payout to set up or inspect. Omit it to see both in payouts_status.
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/client_offboard_plan
Client offboard plan
Write
Agency client offboarding, step 1. For "offboard <client>", select that client's workspace and call this. Returns a checklist of everything Keystone will end: scheduled jobs, a data export ZIP for the client, the Google Ads manager link, Business Profile access, the workspace Google account in Search Console and GA4, the Keystone user in other web apps, every app connection and API key, Keystone numbers and domains, and the workspace archive. Changes nothing. Numbers and domains need the client's choice: release (let it go) or transfer (the client keeps it). Show the whole checklist to the person before client_offboard_run.
numbers"release" | "transfer"- Default for every Keystone number: release or transfer to the client.
domains"release" | "transfer"- Default for every domain registered through Keystone: release (no renewal) or transfer to the client.
choicesobject- Per number (E.164) or domain choices that override the defaults.
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/client_offboard_run
Client offboard run
Approval gated
Agency client offboarding, step 2. Runs an approved plan from client_offboard_plan: revokes Google access, disconnects every app and key, removes the Keystone user from other web apps, releases or transfers numbers and domains, exports the data and archives the workspace. Only after the agency approved the checklist. Each step reports done, or a manual step with exact instructions for the client. Safe to call again with the same id: finished steps are kept and failed steps retry. The account owner or an admin approves the run through Keystone. (Ends access or deletes data, so a person must approve it first. Keystone asks the account owner or an admin itself: in your client when it supports approval prompts, otherwise the result has status needs_approval with an approve_url. Share that link, wait until the person says they approved, then call this tool again with the same arguments plus approval_id. approved: true in the input never counts as approval.)
idstringRequiredcodestringRequired- The code returned with the plan.
approval_idstring- The approval_id from a needs_approval result, after a person approved it. Pass the same arguments as the first call.
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/client_offboard_status
Client offboard status
Read
Agency client offboarding: the latest plan or run for this workspace, or one by id (also after the workspace is archived). Lists each step as planned, done, manual (with the exact instructions), skipped or failed, plus the client's data export link.
idstringworkspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/agency_agents_now
Agency agents now
Read
Agency owners and admins only. Every client at once: which AI sessions are checked in right now (AI app, client, lane, task, what each claimed), live API Anything computers, recent agent mail and handoffs, open blockers, and stuck or failing work (abandoned claims, unread handoffs, apps that need a sign-in, failing tools and calls), plus approvals waiting per client. Filter by client or agent. Each item links into that client.
clientsstring[]- Only these clients: workspace ids or slugs from workspaces_list. Omit for every client.
agentstring- One agent: "lane:<lane>" (like lane:ads), "app:<AI app>" (like app:Claude Code), or either name.
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/agency_notebook_search
Agency notebook search
Read
Agency owners and admins only. Searches the agency notebook and every client notebook at once, by keyword and meaning. Each hit says which client it belongs to (or the agency) and links to the note. Use it to find how a past job was done for another client, or which clients share a vendor, person or campaign.
querystringRequired- Words or a question.
clientsstring[]- Only these clients: workspace ids or slugs from workspaces_list. Omit for every client.
include_agencyboolean- Also search the agency notebook. Default true.
limitinteger- Most hits to return. Default 20.
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/agency_rules_get
Agency rules get
Read
Agency owners and admins only. The agency AGENTS.md (the rules every client's AI follows) and, for each client, whether it adds its own rules on top, which sections it adds to, the lines it adds, and lines that may contradict an agency rule. Pass one client to also get that client's full rules text.
clientstring- One client (workspace id or slug) for its full rules text.
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/agency_digest
Agency digest
Read
Agency owners and admins only. The daily agency digest: what the AIs did across every client that day (from each client's automatic write-ups), what needs a person (approvals, blockers, stuck work), and decisions logged. Returns the saved digest note for a past day, or builds today's so far.
datestring- A coordinated universal time day, YYYY-MM-DD. Default today.
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/opportunities_scan
Opportunities scan
Approval gated
Agency owners and admins only. Scan every client (or the named ones) for work they need that the agency sells: not in the map pack, reviews behind competitors, not named by ChatGPT, ads spending with no leads, a slow or broken site, missed calls with no text back, no win-back campaign. Each finding carries its evidence and a monthly value from the agency rate card. mode stored (default) uses only what Keystone already measured and costs nothing. mode full adds one live map check and one ChatGPT check per client: call it first without confirm to get the price, show the person, then call again with confirm true. Full scans are paid from the agency wallet. Nothing is sent to any client. (Spends money or changes billing, so a person must approve the exact amount first. Keystone asks the account owner or an admin itself: in your client when it supports approval prompts, otherwise the result has status needs_approval with an approve_url. Share that link, wait until the person says they approved, then call this tool again with the same arguments plus approval_id. The approval works once, expires, and changed arguments, amount or target need a new one. approved: true in the input never counts as approval.)
mode"stored" | "full"clientsstring[]- Only these clients: workspace ids or slugs from workspaces_list. Omit for every client.
only_this_clientboolean- Scan only the current workspace. Redshift Loops use this.
confirmboolean- Full scan only: true runs it after the person saw the price.
approval_idstring- The approval_id from a needs_approval result, after a person approved it. Pass the same arguments as the first call.
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/opportunities_list
Opportunities list
Read
Agency owners and admins only. The open opportunities from the last scans, highest value first: client, service, what is wrong, the evidence with its source and date, the rate card offer and its monthly and one-time price, and any proposal already built. Totals by client and by service. Filter by client, service or status.
clientsstring[]- Only these clients: workspace ids or slugs from workspaces_list. Omit for every client.
only_this_clientbooleanservice"local_seo" | "reviews" | "ai_search" | "ads" | ...- One of: local_seo, reviews, ai_search, ads, website, calls, reactivation.
status"open" | "proposed" | "dismissed" | "resolved" | ...- open includes the ones with a proposal out.
limitintegerworkspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/opportunity_propose
Opportunity propose
Write
Agency owners and admins only. Build a proposal (deal room) for one client from its opportunities: the findings become the audit section, and the prices come from the rate card, with everything together as the recommended package and each service on its own. Returns the deal room link, shown once. Nothing is sent; share the link with the client yourself when the person says so.
opportunity_idsstring[]Required- Ids from opportunities_list, all for the same client.
client_emailstring- Pre-fills the signer email on the deal room.
introstringworkspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/review_deck
Review deck
Write
Agency owners and admins only. Build the quarterly business review deck for one client, several, or every client: the quarter's booked jobs, revenue, calls, leads, reviews, map and Google rankings and AI answer share against the quarter before, the work the agency finished, and the top 3 next things to buy from the opportunity finder with rate card prices. Every number comes from data Keystone stored; Redshift Warp writes the few sentences around them (a fraction of a cent each from the wallet when Redshift is on), and any sentence with a number not in the data is replaced. Behind the deck's Accept button it makes a deal room for those next steps. Building again refreshes the deck in place. Nothing is sent; call review_deck_share for a link when the person wants to send it.
clientsstring[]- Clients to build for: workspace ids or slugs from workspaces_list. Omit for every client.
only_this_clientboolean- Build only for the current workspace.
quarterstring- 2026-Q3, current or last. Omit for the running quarter once it is 30 days old, otherwise the last full one.
accept_buttonboolean- false builds the deck without a deal room behind Accept.
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/review_decks_list
Review decks list
Read
Agency owners and admins only. The quarterly review decks already built, newest first, per client: quarter, headline, numbers, next steps, whether a share link is live and how many times the client opened it.
clientsstring[]- Clients to build for: workspace ids or slugs from workspaces_list. Omit for every client.
limitintegerworkspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/review_deck_share
Review deck share
Write
Agency owners and admins only. Make the share link and PDF link for a review deck so the agency can send it to its client, or turn the link off. Making a new link turns the old one off. The link is shown once. Nothing is sent: the person sends it.
deck_idstringRequiredaction"share" | "turn_off"workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/client_video_setup
Client video setup
Approval gated
Agency owners and admins only. Monday client videos: every Monday Keystone drafts a 45 to 75 second narrated video for a client about last week, from stored numbers only (calls answered, leads, reviews and replies, Google Maps and search rankings, AI search answers, work done in the client's apps), in the agency's colors. preview true shows the cost and the voices before anything changes. on true turns the Monday draft on for this client (or every client with all_clients true); an owner or admin approves the cost, and the Account Manager's Monday Loop drafts the video. on false turns it off. voice picks the narration voice; send_to saves the client's email for one-click sending. Nothing is ever sent without the agency. (Spends money or changes billing, so a person must approve the exact amount first. Keystone asks the account owner or an admin itself: in your client when it supports approval prompts, otherwise the result has status needs_approval with an approve_url. Share that link, wait until the person says they approved, then call this tool again with the same arguments plus approval_id. The approval works once, expires, and changed arguments, amount or target need a new one. approved: true in the input never counts as approval.)
previewbooleanonbooleanall_clientsbooleanvoice"thalia" | "apollo" | "helena" | "arcas"- thalia: Clear, warm, confident (female); apollo: Relaxed and friendly (male); helena: Calm and caring (female); arcas: Natural and smooth (male)
send_toobject- The client contact who gets the video by email when the agency sends it. null clears it.
approval_idstring- The approval_id from a needs_approval result, after a person approved it. Pass the same arguments as the first call.
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/client_video_draft
Client video draft
Write
Agency owners and admins only. Draft the Monday video for one client, several, or every client: reads last week from stored numbers, writes the script in plain words, reads it aloud and queues the video to be made (about a minute, in the agency's colors with music under the voice). Costs about $0.04 a video from the wallet. Drafting again before it is sent rewrites it with the latest numbers. A week with nothing stored makes no video. Nothing is sent: call client_video_send when the person says so.
clientsstring[]- Clients: workspace ids or slugs from workspaces_list. Omit for every client.
only_this_clientboolean- Draft only for the current workspace.
weekstring- last (default), this (the week so far), or a week like 2026-W46.
voice"thalia" | "apollo" | "helena" | "arcas"workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/client_videos_list
Client videos list
Read
Agency owners and admins only. The Monday videos already drafted, newest first: client, week, whether it is being made, ready for review, sent or on the portal, its script, cost and how many times the client opened it.
clientsstring[]- Clients: workspace ids or slugs from workspaces_list. Omit for every client.
limitintegerworkspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/client_video_script
Client video script
Write
Agency owners and admins only. Change one scene of an unsent Monday video: its on-screen title, the words the voice says, or both. The voice may only say numbers Keystone measured for that week; words with any other number are refused. The scene is read aloud again (a fraction of a cent) and the video is made again.
video_idstringRequiredsceneintegerRequired- Scene number from client_videos_list, starting at 1.
titlestringsaysstringworkspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/client_video_send
Client video send
Approval gated
Agency owners and admins only. Send a finished Monday video to the client. email sends a watch link to the client's saved email (or to), from the agency's name with replies going to the person sending. portal shows it on the client portal. take_down removes it from the portal and turns the emailed link off. Only call this when the person asked to send it. (Sends an external message; confirm with the user first. If the workspace requires approval for sends, the result has status needs_approval: share the approve_url, then call again with the same arguments plus approval_id.)
video_idstringRequiredchannel"email" | "portal" | "take_down"Requiredtostringapproval_idstring- The approval_id from a needs_approval result, after a person approved it. Pass the same arguments as the first call.
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/rate_card_get
Rate card get
Read
Read the account's rate card: packages and add-ons with one-time and monthly prices, the deposit rule and how long proposals stay open. Every pitch and proposal uses it.
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/rate_card_set
Rate card set
Write
Add or update one rate card item. Pass id to update. kind package: the client picks one. kind addon: the client can add it. Prices in dollars. Open proposals keep the prices they were sent with.
idstringkind"package" | "addon"RequireditemobjectRequiredworkspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/rate_card_remove
Rate card remove
Write
Remove a rate card item by id. Proposals already sent keep it.
idstringRequiredworkspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/rate_card_terms_set
Rate card terms set
Write
Set the deposit rule, how many days proposals stay open, and the agreement terms text (lines starting "# " are headings, "- " list items). Pass terms as an empty string to go back to the default terms.
deposit_mode"first_payment" | "percent" | "fixed"- first_payment: setup plus the first month due at signing. percent: that share of the one-time price plus the first month. fixed: a fixed deposit.
deposit_percentintegerdeposit_usdnumber- Fixed deposit in dollars, for deposit_mode fixed.
valid_daysintegertermsstringworkspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/deal_pitch
Deal pitch
Approval gated
Pitch a prospect from their website: reads the site for the business's real facts, runs the growth audit (billed from the Keystone wallet, about $1 to $2), publishes a preview of an improved site on ksites.app, and builds a branded deal room with the rate card packages that the prospect can sign and pay on the call. Returns the room link. Pass audit false to skip the paid audit. (Spends money or changes billing, so a person must approve the exact amount first. Keystone asks the account owner or an admin itself: in your client when it supports approval prompts, otherwise the result has status needs_approval with an approve_url. Share that link, wait until the person says they approved, then call this tool again with the same arguments plus approval_id. The approval works once, expires, and changed arguments, amount or target need a new one. approved: true in the input never counts as approval.)
urlstringRequired- Prospect website, e.g. brightsmiledental.com
business_namestring- Name to use when the site states it differently than the Google profile.
citystring- Audit market as "City,State,United States". Read from the site when it states an address.
keywordsstring[]auditbooleanpreviewbooleanclient_emailstringpackage_idsstring[]- Rate card packages to offer. Default: every package.
addon_idsstring[]recommendedstring- Rate card package id to mark Recommended.
approval_idstring- The approval_id from a needs_approval result, after a person approved it. Pass the same arguments as the first call.
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/deal_create
Deal create
Write
Make a deal room for a client: a page where they pick a package, sign the agreement and pay the deposit by card. Use rate card ids, custom packages, or both. Prices in dollars. For an agency, payment creates the client workspace and sends the onboarding link; on Personal it records the sale.
client_namestringRequiredclient_emailstringtitlestringintrostring- Short message at the top of the room.
package_idsstring[]addon_idsstring[]packagesobject[]- Custom packages, keyed p1, p2 and so on.
addonsobject[]- Custom add-ons, keyed a1, a2 and so on.
recommendedstringdeposit_mode"first_payment" | "percent" | "fixed"- first_payment: setup plus the first month due at signing. percent: that share of the one-time price plus the first month. fixed: a fixed deposit.
deposit_percentintegerdeposit_usdnumber- Fixed deposit in dollars, for deposit_mode fixed.
valid_daysintegeron_payment"workspace" | "none"- workspace: make the client workspace and onboarding link when paid. none: record the sale only.
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/deals_list
Deals list
Read
List deals in this workspace with status (open, signed, paid, void, expired), how often the client opened the room, and the chosen totals. Also returns the account payable balance (deal payments and client-wallet margins, less card fees and payouts).
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/deal_get
Deal get
Read
One deal: status, views, the signature record (name, email, time, network address, agreement hash), payments and the client workspace made on payment.
idstringRequiredworkspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/deal_void
Deal void
Destructive
Withdraw an open deal so its room link stops accepting signatures.
idstringRequiredworkspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/redshift_fleet_set
Redshift fleet set
Write
Agency fleet mode: run one Redshift agent Loop across chosen client workspaces on one schedule (each in its own time zone). Clients get the agent turned on; clients left out of the list get the fleet Loop switched off. Each client runs in its own workspace and never sees another client. Agency owners and admins only.
agent"account_manager" | "reviews" | "ads" | "front_desk" | ...Required- One of: account_manager (Agency Account Manager), reviews (Reviews and Reputation), ads (Ads Optimizer), front_desk (Front Desk), bookkeeper (Bookkeeper's Assistant).
loopstringRequired- The Loop key, like weekly_update, morning_sweep, nightly_check, missed_calls or weekly_receipts.
clientsstring[]Required- Client workspace ids or slugs.
scheduleobject- Leave out to keep the Loop's default schedule. tz is ignored: each client uses its own.
modelstring- One of the Redshift model ids that redshift_agents lists.
onbooleanworkspacestring- Workspace slug or id. Omit to use your active workspace.
Reviews and referrals
14 endpoints
Reviews and referrals
14 endpoints
POST
/v1/tools/reviews_configure
Reviews configure
Write
Configure Reviews on Autopilot for this workspace: Google review link, SMS/email channel, auto-posting for 4 and 5 star replies, and owner approval alerts for 1 to 3 star reviews. Blocks Yelp review links, review gating, and review incentives.
requests_enabledbooleanrequest_channel"sms" | "email" | "sms_or_email"review_urlobjectbusiness_nameobjectowner_nameobjectowner_alert_emailobjectreply_phoneobjectpostal_addressobjectsender_emailobjectrequest_templateobjectreminder_enabledbooleanreminder_delay_daysintegercooldown_daysintegerauto_reply_positiveboolean- Auto-post replies to 4 and 5 star Google reviews. 1 to 3 star reviews always wait for owner approval.
gbp_accountobjectgbp_locationobjectfield_service_appstringworkspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/reviews_status
Reviews status
Read
Read Reviews on Autopilot settings, A2P SMS approval status, connected field-service apps, and summary counts for this workspace.
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/reviews_sync_closed_jobs
Reviews sync closed jobs
Approval gated
Pull closed jobs from the connected field-service app and send compliant review requests by A2P-gated text or email. Requires requests_enabled unless dry_run is true. (Sends an external message; confirm with the user first. If the workspace requires approval for sends, the result has status needs_approval: share the approve_url, then call again with the same arguments plus approval_id.)
dry_runbooleanapproval_idstring- The approval_id from a needs_approval result, after a person approved it. Pass the same arguments as the first call.
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/reviews_send_request
Reviews send request
Approval gated
Send a single compliant Google review request for a closed job by A2P-gated SMS or email. Respects opt-outs, cooldown, and platform rules (blocks Yelp, gating, and incentives). (Sends an external message; confirm with the user first. If the workspace requires approval for sends, the result has status needs_approval: share the approve_url, then call again with the same arguments plus approval_id.)
source_appstringexternal_job_idstringRequiredcustomer_namestringcustomer_phonestringcustomer_emailstringtechnician_namestringservice_typestringdry_runbooleanapproval_idstring- The approval_id from a needs_approval result, after a person approved it. Pass the same arguments as the first call.
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/reviews_sync_google
Reviews sync google
Write
Sync Google Business Profile reviews for bound locations, draft replies in the workspace voice from memory, auto-post 4 and 5 star replies when enabled, and hold 1 to 3 star reviews for review.
accountstringlocationstringdry_runbooleanworkspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/reviews_list
Reviews list
Read
List synced Google reviews, drafted replies, pending owner approvals, and recent closed-job review requests for this workspace.
status"new" | "drafted" | "pending_owner_approval" | "posted" | ...min_starsintegermax_starsintegerlimitintegerworkspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/reviews_redraft_reply
Reviews redraft reply
Write
Generate a fresh reply draft in the workspace voice for one synced Google review.
review_idstringRequiredworkspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/reviews_approve_reply
Reviews approve reply
Approval gated
Approve and publish a drafted Google review reply (required for 1 to 3 star reviews, and for 4 to 5 star reviews when auto-post is off). (Sends an external message; confirm with the user first. If the workspace requires approval for sends, the result has status needs_approval: share the approve_url, then call again with the same arguments plus approval_id.)
review_idstringRequiredreply_textstring- Edited reply text to post instead of the saved draft.
dry_runbooleanapproval_idstring- The approval_id from a needs_approval result, after a person approved it. Pass the same arguments as the first call.
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/reviews_dismiss_reply
Reviews dismiss reply
Write
Dismiss a drafted Google review reply without publishing it.
review_idstringRequiredworkspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/reviews_opt_out
Reviews opt out
Write
Add a phone number or email address to this workspace review opt-out list, or list current opt-outs.
action"add" | "list"channel"sms" | "email" | "all"contactstringreasonstringworkspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/referral_settings
Referral settings
Write
Read or configure the customer referral program, its approved separate invitation copy, reward amount, annual cap, and short friend form. Enabling it does not offer anything for a review and sends nothing until a closed job and a good review both exist.
landing_pageobject- Page on a published workspace site containing the referral form embed.
approve_templateboolean- Approve the current text and email invitation templates for delivery.
enabledbooleanreward_type"gift_card" | "account_credit"reward_centsintegerannual_capintegerinvite_channel"sms" | "email" | "sms_or_email"business_nameobjectowner_alert_emailobjectsender_emailobjectpostal_addressobjectsms_templateobjectemail_subjectobjectemail_bodyobjectfield_service_app"auto" | "workiz" | "fieldpulse" | "gorilladesk" | ...workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/referral_invite_queue
Referral invite queue
Approval gated
List referral invitations waiting after a positive review, or send ready invitations. Sends still obey opt-outs, sender approval, and the quiet-hours window. Use dry_run to preview without sending. (Sends an external message; confirm with the user first. If the workspace requires approval for sends, the result has status needs_approval: share the approve_url, then call again with the same arguments plus approval_id.)
action"list" | "send"referral_idstringdry_runbooleanlimitintegerapproval_idstring- The approval_id from a needs_approval result, after a person approved it. Pass the same arguments as the first call.
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/referrals_list
Referrals list
Read
List referrals and friend milestones for this workspace, including self-referral blocks, paid invoices, rewards due, approvals, and recorded manual payments.
status"awaiting_review" | "invite_queued" | "invite_blocked" | "invited" | ...limitintegerworkspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/referral_reward_approve
Referral reward approve
Approval gated
Approve a reward due from an actually paid friend invoice for manual payment, or record that the approved gift card or account credit was paid by hand. This tool never sends money or buys a gift card. (Spends money or changes billing, so a person must approve the exact amount first. Keystone asks the account owner or an admin itself: in your client when it supports approval prompts, otherwise the result has status needs_approval with an approve_url. Share that link, wait until the person says they approved, then call this tool again with the same arguments plus approval_id. The approval works once, expires, and changed arguments, amount or target need a new one. approved: true in the input never counts as approval.)
referral_idstringRequiredaction"approve" | "mark_paid"payout_referencestringapproval_idstring- The approval_id from a needs_approval result, after a person approved it. Pass the same arguments as the first call.
workspacestring- Workspace slug or id. Omit to use your active workspace.
Ad budgets and Local Services leads
24 endpoints
Ad budgets and Local Services leads
24 endpoints
POST
/v1/tools/lsa_configure
Local Services Ads configure
Write
Configure Local Services Ads settings for this workspace: bound Google Ads customer ID, offered and excluded services, service area ZIPs and cities, duplicate window, and automation flags.
customer_idobjectoffered_servicesstring[]excluded_servicesstring[]service_zipsstring[]service_citiesstring[]duplicate_window_daysintegerauto_submit_feedbackbooleanauto_reply_messagesbooleanbusiness_phoneobjectworkspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/lsa_sync_leads
Local Services Ads sync leads
Write
Sync Local Services Ads leads and conversations, flag credit-eligible leads (wrong service, outside area, spam, solicitation, duplicate), and draft replies for open message leads.
customer_idstringlimitintegerdry_runbooleanworkspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/lsa_list_leads
Local Services Ads list leads
Read
List synced Local Services Ads leads with credit status, credit-eligibility flags, prepared dispute evidence packets, one-click Google LSA Inbox links, and drafted message replies.
flag_status"none" | "flagged" | "submitted" | "prepared_manual" | ...lead_type"MESSAGE" | "PHONE_CALL" | "BOOKING" | "COUPON"charged_onlybooleanlimitintegerworkspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/lsa_prepare_dispute
Local Services Ads prepare dispute
Read
Prepare a structured LSA lead dispute and feedback evidence packet with Google policy notes and a one-click Google Local Services Inbox link.
lead_idstringRequired- Internal lead ID, Google lead ID, or full resource name.
reason"GEO_MISMATCH" | "JOB_TYPE_MISMATCH" | "NOT_READY_TO_BOOK" | "SPAM" | ...commentstringworkspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/lsa_submit_feedback
Local Services Ads submit feedback
Write
Submit lead credit feedback to Google Local Services Ads for a flagged or completed lead. When the API cannot submit or Google declines a credit, returns a prepared dispute packet with evidence and a link to the LSA Inbox.
lead_idstringRequiredsurvey_answer"DISSATISFIED" | "VERY_DISSATISFIED" | "SATISFIED" | "VERY_SATISFIED"dissatisfied_reason"GEO_MISMATCH" | "JOB_TYPE_MISMATCH" | "NOT_READY_TO_BOOK" | "SPAM" | ...satisfied_reason"BOOKED_CUSTOMER" | "LIKELY_BOOKED_CUSTOMER" | "SERVICE_RELATED" | "HIGH_VALUE_SERVICE" | ...other_reason_commentstringdry_runbooleanworkspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/lsa_draft_reply
Local Services Ads draft reply
Write
Draft or regenerate a reply in the workspace voice for a Local Services Ads message lead.
lead_idstringRequiredworkspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/lsa_reply_lead
Local Services Ads reply lead
Approval gated
Send a reply to an active Local Services Ads message lead. (Sends an external message; confirm with the user first. If the workspace requires approval for sends, the result has status needs_approval: share the approve_url, then call again with the same arguments plus approval_id.)
lead_idstringRequiredmessage_textstring- Reply text to send. Defaults to the saved draft.
dry_runbooleanapproval_idstring- The approval_id from a needs_approval result, after a person approved it. Pass the same arguments as the first call.
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/lsa_dismiss_flag
Local Services Ads dismiss flag
Write
Dismiss a credit flag on an LSA lead without submitting feedback.
lead_idstringRequiredworkspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/budget_autopilot_settings
Budget autopilot settings
Approval gated
Read or change the ad budget autopilot for this workspace. It reads booked jobs and open slots from the connected field-service or CRM app and the weather for the service area, then proposes Google Ads and Meta Ads daily budget changes: cut non-brand budgets (or pause them) when the next few days are booked out, raise them when slots are open, and raise matching service campaigns on heat, freeze or storm forecasts. Every change waits in an approval queue unless auto mode is on, and auto mode only moves budgets inside a percent band and a daily dollar cap you set. Call with no arguments to read the settings and what still needs setup. (Spends money or changes billing, so a person must approve the exact amount first. Keystone asks the account owner or an admin itself: in your client when it supports approval prompts, otherwise the result has status needs_approval with an approve_url. Share that link, wait until the person says they approved, then call this tool again with the same arguments plus approval_id. The approval works once, expires, and changed arguments, amount or target need a new one. approved: true in the input never counts as approval.)
enabledboolean- Turn the autopilot on or off. Keystone checks the workspace every few hours while it is on.
mode"approve" | "auto"- approve (the default): every change waits in the queue for your approval. auto: changes inside the band and daily cap apply by themselves. Pauses and restarts always wait.
customer_idstring- Which connected Google Ads account to manage. Not needed when only one is connected.
crew_hours_per_dayobject- Total crew hours available on a working day, for example 3 trucks x 8 hours = 24.
working_days"sunday" | "monday" | "tuesday" | "wednesday" | ...[]- Days the crews work. Default Monday to Friday.
timezonestring- IANA time zone of the business, such as local time zone. Default local time zone.
window_daysinteger- How many days ahead to measure the booked percent over. Default 3.
job_hoursnumber- Hours to assume for a booked job with no end time. Default 2.
high_percentnumber- Booked at or above this percent counts as booked out. Default 90.
high_action"cut" | "pause"- When booked out: cut non-brand daily budgets, or pause non-brand campaigns. Default cut.
cut_percentnumber- How much to cut budgets when booked out. Default 25.
low_percentnumber- Booked at or under this percent counts as open slots. Default 50.
raise_percentnumber- How much to raise non-brand budgets when slots are open. Default 20.
cap_percentnumber- A budget never goes more than this percent above its normal amount. Default 50.
min_daily_dollarsnumber- A cut never takes a budget below this many dollars a day. Default 5.
max_daily_dollarsobject- A raise never takes a budget above this many dollars a day. Leave unset for no dollar ceiling.
weatherboolean- Raise matching service campaigns on heat, freeze or storm forecasts. Default on.
weather_raise_percentnumber- How much a weather trigger raises a matching campaign. Default 20.
heat_high_fnumber- Forecast high in F that counts as a heat trigger. Default 95.
freeze_low_fnumber- Forecast low in F that counts as a cold or freeze trigger. Default 28.
areasstring[]- Service areas for the weather: "lat,lon", "City, ST" or a US ZIP. Defaults to the storm watch areas.
weather_campaignsobject- Which campaigns each trigger raises. Words must appear in the campaign name; a number is a campaign id. Defaults cover AC and HVAC for heat, heating and plumbing for cold, roofing and tree work for storms.
brand_keywordsstring[]- Words that mark a campaign as brand. Brand campaigns are not cut or paused for being booked out. Names containing "brand" or the business name count already.
exclude_campaign_idsstring[]- Campaign ids the autopilot must never touch.
auto_band_percentobject- Auto mode only: the most a budget may sit from its normal amount, in percent.
auto_daily_cap_dollarsobject- Auto mode only: the most daily budget, in dollars, that auto mode may move in one day in total.
approval_idstring- The approval_id from a needs_approval result, after a person approved it. Pass the same arguments as the first call.
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/budget_autopilot_preview
Budget autopilot preview
Read
Show what the budget autopilot would change right now and why, without changing anything: the booked percent for each of the next ten days, the weather triggers found for the service area, and each proposed ad budget change with its reason (for example "Tuesday to Thursday 96% booked") and whether it would wait for approval or apply automatically. When slots are open it also says how many past customers are due, for a reactivation offer.
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/budget_changes_list
Budget changes list
Read
Read pending daily budget, pause and resume proposals for this workspace. Use budget_autopilot_queue only to decide or refresh proposals.
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/budget_autopilot_queue
Budget autopilot queue
Approval gated
The approval queue for budget autopilot changes. action list (default) shows what waits for approval, with the reason for each. approve applies pending changes to the connected ad account (pass change_ids, or all: true); reject discards them; refresh checks the schedule and weather now and queues what it finds. Approving a change that is more than two days old, or whose live budget no longer matches, is refused so a stale proposal never overwrites a newer budget. (Spends money or changes billing, so a person must approve the exact amount first. Keystone asks the account owner or an admin itself: in your client when it supports approval prompts, otherwise the result has status needs_approval with an approve_url. Share that link, wait until the person says they approved, then call this tool again with the same arguments plus approval_id. The approval works once, expires, and changed arguments, amount or target need a new one. approved: true in the input never counts as approval.)
action"list" | "approve" | "reject" | "refresh"change_idsstring[]- Changes to approve or reject.
allboolean- Approve or reject every pending change.
approval_idstring- The approval_id from a needs_approval result, after a person approved it. Pass the same arguments as the first call.
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/budget_autopilot_history
Budget autopilot history
Read
Every budget autopilot change: proposed, applied, rejected, failed, expired and undone, newest first, with the reason, the old and new daily budget, who decided and whether auto mode applied it.
daysintegerstatus"pending" | "applied" | "rejected" | "failed" | ...limitintegerworkspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/budget_autopilot_undo
Budget autopilot undo
Approval gated
Undo one applied budget autopilot change in one call: the daily budget goes back to what it was, or a paused campaign restarts. Leave change_id empty to undo the latest applied change. It refuses when the live budget no longer matches what Keystone set, because someone changed it since; pass force to set it back anyway. (Spends money or changes billing, so a person must approve the exact amount first. Keystone asks the account owner or an admin itself: in your client when it supports approval prompts, otherwise the result has status needs_approval with an approve_url. Share that link, wait until the person says they approved, then call this tool again with the same arguments plus approval_id. The approval works once, expires, and changed arguments, amount or target need a new one. approved: true in the input never counts as approval.)
change_idstringforcebooleanapproval_idstring- The approval_id from a needs_approval result, after a person approved it. Pass the same arguments as the first call.
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/ctv_audience_sync
Ctv audience sync
Write
Sync a US workspace audience (hashed emails with UID2 normalization and hashed phones) to Keystone CTV for household-level streaming TV targeting.
audience_idstringRequiredwebsite_urlstringindustrystringexclude_convertedbooleanlimitintegerdry_runbooleanworkspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/ctv_campaign_create
Ctv campaign create
Write
Create a paused draft Keystone CTV streaming campaign targeting a synced household audience (minimum $50/day). Does not spend until approved and activated with ctv_campaign_activate.
namestringRequiredaudience_idstringctv_audience_idstringgoal"AWARENESS" | "TRAFFIC" | "RETARGETING" | "LEADS" | ...daily_budget_usdintegerRequiredflight_daysintegertarget_cpm_usdnumberstarts_atstringwebsite_urlstringworkspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/ctv_campaign_activate
Ctv campaign activate
Approval gated
Pay the quoted Keystone CTV flight budget from the Keystone wallet and publish the drafted campaign. Needs approval and wallet funds. If launch fails, run it again with the same campaign: the budget is paid once per campaign. (Spends money or changes billing, so a person must approve the exact amount first. Keystone asks the account owner or an admin itself: in your client when it supports approval prompts, otherwise the result has status needs_approval with an approve_url. Share that link, wait until the person says they approved, then call this tool again with the same arguments plus approval_id. The approval works once, expires, and changed arguments, amount or target need a new one. approved: true in the input never counts as approval.)
campaign_idstringRequiredidempotency_keystringRequireddry_runbooleanapproval_idstring- The approval_id from a needs_approval result, after a person approved it. Pass the same arguments as the first call.
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/ctv_campaign_pause
Ctv campaign pause
Write
Pause an active Keystone CTV campaign immediately.
campaign_idstringRequiredworkspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/ctv_report
Ctv report
Read
List Keystone CTV campaigns or request/check an async CTV performance report (impressions, reach, spend, CPM).
campaign_idstringreport_idstringstart_datestringend_datestringworkspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/ad_creatives_sources
Ad creatives sources
Read
Show the client material available for ad creative drafts in this workspace: job photos (never restricted ones), 4- and 5-star reviews, site pages, buyer phrases, saved facts and past Google Ads winners, with what a batch would cost from the wallet. Spends nothing.
countinteger- Batch size to price.
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/ad_creatives_generate
Ad creatives generate
Write
Draft ad creatives for this client from its own job photos, reviews, site pages, buyer phrases and past Google Ads winners. Each draft has headlines, descriptions, image crops sized for its placement (Google Search, Performance Max, Meta Feed, Meta Reels, YouTube Shorts), a 15-second storyboard for video placements, and a one-line reason naming the material it came from. Lines with a claim the material does not back are dropped. Uses a Redshift model paid from the wallet (Warp by default, the cheaper model for bulk and weekly runs). Every result is a draft; nothing is published.
countinteger- How many drafts, 1 to 20. Defaults to 6, or the saved weekly count for weekly runs.
placements"google_search" | "google_pmax" | "meta_feed" | "meta_reels" | ...[]modelstring- warp, or the id of the cheaper Redshift model that redshift_agents lists.
bulkboolean- Use the cheaper Redshift model.
trigger"manual" | "weekly"- The weekly Loop passes weekly.
focusstring- A service, offer or season to lean on.
landing_urlstringworkspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/ad_creatives_list
Ad creatives list
Read
List this client's ad creative drafts and batches: copy, image crops, storyboards, the reason for each, and whether it is a draft, queued, rejected or archived. Spends nothing.
status"draft" | "queued" | "rejected" | "archived"placement"google_search" | "google_pmax" | "meta_feed" | "meta_reels" | ...batch_idstringlimitintegerworkspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/ad_creatives_decide
Ad creatives decide
Write
Approve, reject, edit or archive ad creative drafts. Approving moves a draft to the queue and does nothing else: it is not published and no ad account changes. Edit takes one draft id and changes its copy. Approving needs approval permission.
action"approve" | "reject" | "edit" | "archive"Requiredidsstring[]Requirednotestringeditsobjectworkspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/ad_creatives_setup
Ad creatives setup
Approval gated
Settings for the weekly ad creative drafts in this workspace, and turning the weekly Loop on or off. The Loop is off until an owner or admin turns it on; it then drafts each Monday on the Ads agent with the cheaper Redshift model unless set otherwise, paid from the wallet. preview true shows the settings and the weekly cost without changing anything. on false turns it off and keeps every draft. (Spends money or changes billing, so a person must approve the exact amount first. Keystone asks the account owner or an admin itself: in your client when it supports approval prompts, otherwise the result has status needs_approval with an approve_url. Share that link, wait until the person says they approved, then call this tool again with the same arguments plus approval_id. The approval works once, expires, and changed arguments, amount or target need a new one. approved: true in the input never counts as approval.)
previewbooleanonbooleanweekly_countintegerplacements"google_search" | "google_pmax" | "meta_feed" | "meta_reels" | ...[]weekly_modelstring- warp, or the id of the cheaper Redshift model that redshift_agents lists.
landing_urlobjectapproval_idstring- The approval_id from a needs_approval result, after a person approved it. Pass the same arguments as the first call.
workspacestring- Workspace slug or id. Omit to use your active workspace.
Follow-ups and campaigns
55 endpoints
Follow-ups and campaigns
55 endpoints
POST
/v1/tools/reactivation_find_due_customers
Reactivation find due customers
Read
Pull past customers from the connected CRM or field-service app, clean opt-outs, duplicates, and recent visits, and pick customers due for service by service type and last visit.
source_appstringservice_typesstring[]min_days_since_visitintegermax_days_since_visitintegerexclude_recent_daysintegerchannel"sms" | "email" | "both"workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/reactivation_create_campaign
Reactivation create campaign
Write
Create a draft past-customer reactivation campaign with target service types, due-for-service window, offer, and copy. Stays in draft until started.
namestringRequiredchannel"sms" | "email" | "both"source_appstringservice_typesstring[]min_days_since_visitintegermax_days_since_visitobjectexclude_recent_daysintegeroffer_textstringRequiredoffer_deadlineobjectbusiness_nameobjectpostal_addressobjectreply_to_emailobjectsms_templateobjectemail_subjectobjectemail_bodyobjectbatch_sizeintegerpopulate_audiencebooleandraft_copybooleancustomersobject[]workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/reactivation_draft_copy
Reactivation draft copy
Write
Draft or regenerate the SMS and email copy for a reactivation campaign using workspace voice memory.
campaign_idstringRequiredworkspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/reactivation_sync_audience
Reactivation sync audience
Write
Pull due-for-service past customers from the connected CRM/field-service app into an existing campaign without sending messages.
campaign_idstringRequiredcustomersobject[]workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/reactivation_list_campaigns
Reactivation list campaigns
Read
List past-customer reactivation campaigns, recipient counts, recent replies, and A2P SMS approval status for this workspace.
campaign_idstringworkspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/reactivation_start_campaign
Reactivation start campaign
Approval gated
Start a draft or paused reactivation campaign. Texting requires A2P approval; pass send_first_batch to send the first batch immediately. (Sends an external message; confirm with the user first. If the workspace requires approval for sends, the result has status needs_approval: share the approve_url, then call again with the same arguments plus approval_id.)
campaign_idstringRequiredsend_first_batchbooleanapproval_idstring- The approval_id from a needs_approval result, after a person approved it. Pass the same arguments as the first call.
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/reactivation_pause_campaign
Reactivation pause campaign
Write
Pause an active reactivation campaign so no further batches are sent.
campaign_idstringRequiredworkspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/reactivation_send_batch
Reactivation send batch
Approval gated
Send the next batch of reactivation texts and emails for an ACTIVE campaign. Refuses draft or paused campaigns, enforces A2P approval for SMS, and skips opted-out contacts. (Sends an external message; confirm with the user first. If the workspace requires approval for sends, the result has status needs_approval: share the approve_url, then call again with the same arguments plus approval_id.)
campaign_idstringRequiredlimitintegerdry_runbooleanapproval_idstring- The approval_id from a needs_approval result, after a person approved it. Pass the same arguments as the first call.
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/reactivation_handle_reply
Reactivation handle reply
Write
Process an inbound customer reply to a reactivation text or email. Immediately opts out STOP/unsubscribe replies and books interested replies into the connected CRM.
channel"sms" | "email"Requiredfrom_contactstringRequiredbodystringRequiredcampaign_idstringrecipient_idstringauto_bookbooleanworkspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/reactivation_book_reply
Reactivation book reply
Write
Book a replied reactivation customer into the connected CRM or field-service app with reactivation source attribution. Refuses opted-out contacts.
recipient_idstringRequiredservice_typestringnotesstringworkspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/reactivation_opt_out
Reactivation opt out
Write
Add a phone number or email address to this workspace opt-out list (immediately canceling pending campaign sends to that contact), or list opt-outs.
action"add" | "list"channel"sms" | "email" | "all"contactstringreasonstringworkspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/estimate_closer_configure
Estimate closer configure
Write
Draft a four-step estimate closer sequence in the business voice, set its sending hours and contact details, and save it as a draft. Nothing sends until a person approves it.
channel"sms" | "email" | "both"source_appstringtimezonestringquiet_start_minutesinteger- Earliest sending time, in minutes after midnight in the workspace time zone.
quiet_end_minutesinteger- Latest sending time, in minutes after midnight in the workspace time zone.
business_nameobjectpostal_addressobjectreply_to_emailobjectowner_alert_emailobjecttemplatesobject[]- Edited templates. Missing drafts are generated and normalized.
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/invoice_collections_configure
Invoice collections configure
Write
Draft a four-step invoice collections sequence in the business voice, set its sending hours and contact details, and save it as a draft. Nothing sends until a person approves it.
channel"sms" | "email" | "both"source_appstringtimezonestringquiet_start_minutesinteger- Earliest sending time, in minutes after midnight in the workspace time zone.
quiet_end_minutesinteger- Latest sending time, in minutes after midnight in the workspace time zone.
business_nameobjectpostal_addressobjectreply_to_emailobjectowner_alert_emailobjecttemplatesobject[]- Edited templates. Missing drafts are generated and normalized.
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/estimate_closer_approve
Estimate closer approve
Approval gated
Approve the saved estimate follow-up templates and activate the sequence for this workspace. This allows scheduled customer messages. (Sends an external message; confirm with the user first. If the workspace requires approval for sends, the result has status needs_approval: share the approve_url, then call again with the same arguments plus approval_id.)
approval_idstring- The approval_id from a needs_approval result, after a person approved it. Pass the same arguments as the first call.
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/invoice_collections_approve
Invoice collections approve
Approval gated
Approve the saved invoice reminder templates and activate the sequence for this workspace. This allows scheduled customer messages. (Sends an external message; confirm with the user first. If the workspace requires approval for sends, the result has status needs_approval: share the approve_url, then call again with the same arguments plus approval_id.)
approval_idstring- The approval_id from a needs_approval result, after a person approved it. Pass the same arguments as the first call.
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/followups_queue
Followups queue
Read
Preview estimate and invoice follow-up queues, rendered messages, due times, stop reasons, and sending-hour blocks without sending anything.
kind"estimate" | "invoice"workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/followups_run
Followups run
Approval gated
Sync estimates or invoices from the connected app and process their approved follow-up sequence. Approved or paid documents and customer replies stop automatically. A dry run sends nothing. (Sends an external message; confirm with the user first. If the workspace requires approval for sends, the result has status needs_approval: share the approve_url, then call again with the same arguments plus approval_id.)
kind"estimate" | "invoice"Requireddry_runbooleanapproval_idstring- The approval_id from a needs_approval result, after a person approved it. Pass the same arguments as the first call.
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/followups_pause
Followups pause
Write
Pause estimate follow-ups or invoice reminders immediately. No scheduled messages send while paused.
kind"estimate" | "invoice"Requiredworkspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/followups_resume
Followups resume
Approval gated
Resume a previously approved and paused estimate or invoice sequence, allowing scheduled messages to send again. (Sends an external message; confirm with the user first. If the workspace requires approval for sends, the result has status needs_approval: share the approve_url, then call again with the same arguments plus approval_id.)
kind"estimate" | "invoice"Requiredapproval_idstring- The approval_id from a needs_approval result, after a person approved it. Pass the same arguments as the first call.
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/followups_report
Followups report
Read
Report messages sent, replies waiting for the owner, stopped sequences, and estimate revenue or invoice cash recovered after the first follow-up.
kind"estimate" | "invoice"Requiredworkspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/followups_handle_reply
Followups handle reply
Write
Record an inbound customer reply, stop all matching active sequences, honor opt-out words, and flag the reply for the owner.
channel"sms" | "email"Requiredfrom_contactstringRequiredbodystringRequiredworkspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/storm_watch
Storm watch
Write
Read or change the storm watch for this workspace: the service areas, the hail and wind thresholds, and whether Keystone drafts a storm campaign (a landing page and a Google Ads plan, both waiting for approval) after hail or high wind hits. Keystone checks each area every three hours. Call with no arguments to read it.
areasstring[]- Service areas to watch, up to five.
enabledboolean- Turn the watch on or off.
campaignsboolean- Draft a storm campaign for approval after a new hail or wind event. Never publishes or spends on its own.
servicesstring[]- Services the campaign copy names, such as roof repair.
hail_probabilityinteger- Hail probability percent that counts as hail. Default 50.
hail_inchesnumber- Smallest forecast hail size that counts, in inches. Default 1.
wind_mphinteger- Gust speed that counts as a wind event, in mph. Default 58.
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/storm_alerts
Storm alerts
Read
Forecast hail, severe wind and thunderstorms for a service area over the next 1 to 5 days, day by day, with peak gusts and hail probability. Leave area empty to check every watched area.
areastring- A service area: "lat,lon", a city and state like "Tampa, FL", or a US ZIP like "33602 US".
daysintegerworkspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/storm_history
Storm history
Read
Hail and wind events recorded for a service area by the storm watch (up to a year back), plus what the last 24 hours of weather show right now. Use it to time a storm campaign or to check a homeowner's storm date.
areastring- A service area: "lat,lon", a city and state like "Tampa, FL", or a US ZIP like "33602 US".
daysinteger- How many days of recorded events to return.
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/audience_create
Audience create
Write
Create a workspace audience container with an explicit consent lane for direct mail, addressable CTV, first-party ad syncs, or DNC-scrubbed call queues.
namestringRequireddescriptionstringsource_summarystringdefault_consent_lane"express_written" | "first_party_crm" | "public_record" | "visitor_id_us" | ...filtersobject- extra audience criteria; Fair Housing protected classes and FCRA credit filters are rejected.
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/audience_list
Audience list
Read
List saved audiences, consent lanes, and active member counts in this workspace.
limitintegerworkspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/audience_add_members
Audience add members
Write
Add property owners, permit leads, storm addresses, or CRM contacts into a workspace audience with explicit consent lanes. Suppressed people are skipped automatically.
audience_idstringRequiredmembersobject[]Requiredworkspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/audience_get
Audience get
Read
Inspect one workspace audience, its consent-lane breakdown, channel eligibility summary, and sample members.
audience_idstringRequiredlimitintegerworkspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/audience_check_eligibility
Audience check eligibility
Read
Check which members of a workspace audience are legally eligible for a chosen channel (direct_mail, ctv, meta_custom_audience, google_customer_match, email, sms, automated_voice, manual_call_task) and why blocked records cannot run on that channel.
audience_idstringRequiredchannel"direct_mail" | "ctv" | "meta_custom_audience" | "google_customer_match" | ...Requiredverified_sender_emailstringpostal_addressstringworkspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/audience_suppress
Audience suppress
Write
Add an email, hashed email, phone number, or US postal address to this workspace suppression list so Keystone blocks future outreach and ad syncs immediately.
emailstringhem_sha256stringphonestringaddress_line1stringcitystringstatestringpostal_codestringchannel"all" | "mail" | "email" | "phone" | ...reasonstringworkspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/audience_import_crm
Audience import CRM
Write
Import first-party contacts from this workspace ServiceLine CRM account into an audience labeled first_party_crm for direct mail, Meta Custom Audiences, Google Customer Match, buyer exclusions, or CTV.
audience_idstringRequiredtagstringlimitintegerworkspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/audience_import_neighbor_draft
Audience import neighbor draft
Write
Import the nearby homeowner addresses from a targeted neighbor postcard draft into a workspace audience (consent_lane: public_record) so you can send 1-to-1 postcards directly through Keystone Direct Mail.
audience_idstringRequireddraft_idstringRequiredworkspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/audience_queue_manual_calls
Audience queue manual calls
Write
Queue DNC-clear audience members as manual-dial-only call tasks inside ServiceLine CRM. Never auto-dials or sends AI voice calls; skips any record without dnc_status clear or express written consent.
audience_idstringRequiredcampaign_labelstringRequiredmax_tasksintegerworkspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/audience_intent_topics
Audience intent topics
Read
Search available US buying-intent topics (such as roof replacement, kitchen remodeling, deck building, solar, or HVAC) before discovering an intent audience. Free to search.
searchstringRequiredcategory_idstringlimitintegerworkspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/audience_discover_intent
Audience discover intent
Approval gated
Discover US consumers showing active buying intent on one or more topics and load them into a workspace audience labeled third_party_intent (eligible for direct mail and CTV; blocked from cold SMS and Meta/Google uploads). Bills your Keystone wallet only for matched records. (Spends money or changes billing, so a person must approve the exact amount first. Keystone asks the account owner or an admin itself: in your client when it supports approval prompts, otherwise the result has status needs_approval with an approve_url. Share that link, wait until the person says they approved, then call this tool again with the same arguments plus approval_id. The approval works once, expires, and changed arguments, amount or target need a new one. approved: true in the input never counts as approval.)
audience_idstringRequiredtopic_idsstring[]Requiredmin_score"high" | "medium" | "low"min_perc_scoreintegerlimitintegerresolve_emailbooleandry_runbooleanapproval_idstring- The approval_id from a needs_approval result, after a person approved it. Pass the same arguments as the first call.
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/audience_enrich
Audience enrich
Approval gated
Enrich existing audience members with matched US contact profiles (name, postal address, secondary identifiers) or score them on buying-intent topics. Misses cost $0; never downgrades existing first-party consent lanes. (Spends money or changes billing, so a person must approve the exact amount first. Keystone asks the account owner or an admin itself: in your client when it supports approval prompts, otherwise the result has status needs_approval with an approve_url. Share that link, wait until the person says they approved, then call this tool again with the same arguments plus approval_id. The approval works once, expires, and changed arguments, amount or target need a new one. approved: true in the input never counts as approval.)
audience_idstringRequiredmode"contact" | "intent"topic_idsstring[]min_score"high" | "medium" | "low"limitintegerdry_runbooleanapproval_idstring- The approval_id from a needs_approval result, after a person approved it. Pass the same arguments as the first call.
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/visitor_id_configure
Visitor ID configure
Write
Configure extra US-only website visitor identification for a workspace site. Off by default; requires a public privacy notice URL with opt-out instructions and Global Privacy Control (Sec-GPC: 1) support.
site_idstringRequiredenabledbooleanRequiredprivacy_notice_urlstringattest_privacy_noticebooleantier"resolution_hem" | "resolution_hem_pte" | "resolution_full_profile"target_audience_idstringexternal_project_idstringdaily_cap_usdnumberworkspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/visitor_id_sync
Visitor ID sync
Approval gated
Pull net-new US website visitors identified this coordinated universal time calendar month for a site with Visitor ID enabled. Deduplicates once per person per month, strips opt-outs and non-US rows, bills only matched visitors to your Keystone wallet, and logs visitor events to the CRM. (Spends money or changes billing, so a person must approve the exact amount first. Keystone asks the account owner or an admin itself: in your client when it supports approval prompts, otherwise the result has status needs_approval with an approve_url. Share that link, wait until the person says they approved, then call this tool again with the same arguments plus approval_id. The approval works once, expires, and changed arguments, amount or target need a new one. approved: true in the input never counts as approval.)
site_idstringRequiredlimitintegerpush_to_crmbooleandry_runbooleanapproval_idstring- The approval_id from a needs_approval result, after a person approved it. Pass the same arguments as the first call.
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/audience_sync_meta
Audience sync meta
Write
Sync first-party CRM or express-written-consent audience members to a Meta Custom Audience (for reactivation, lookalikes, or buyer exclusions). Public records, visitor matches, and third-party intent lists are hard-blocked.
audience_idstringRequiredcustom_audience_idstringnamestringsync_kind"include" | "exclude"remove_membersbooleanonly_convertedbooleanlimitintegerdry_runbooleanworkspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/audience_sync_google
Audience sync google
Write
Sync first-party CRM or express-written-consent audience members to Google Ads Customer Match (for remarketing, similar segments, or buyer exclusions). Public records, visitor matches, and third-party intent lists are hard-blocked.
audience_idstringRequiredcustomer_idstringRequireduser_list_resource_namestringnamestringsync_kind"include" | "exclude"only_convertedbooleanlimitintegerdry_runbooleanworkspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/mail_verify_address
Mail verify address
Approval gated
Verify and standardize a US mailing address for USPS deliverability before sending direct mail. Bills your Keystone wallet per check. (Spends money or changes billing, so a person must approve the exact amount first. Keystone asks the account owner or an admin itself: in your client when it supports approval prompts, otherwise the result has status needs_approval with an approve_url. Share that link, wait until the person says they approved, then call this tool again with the same arguments plus approval_id. The approval works once, expires, and changed arguments, amount or target need a new one. approved: true in the input never counts as approval.)
primary_linestringRequiredsecondary_linestringcitystringstatestringzip_codestringdry_runbooleanapproval_idstring- The approval_id from a needs_approval result, after a person approved it. Pass the same arguments as the first call.
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/mail_preview_campaign
Mail preview campaign
Write
Preview a 1-to-1 Keystone Direct Mail postcard campaign against a workspace audience. Checks consent lanes, suppressions, and exact USD pricing without charging or mailing.
audience_idstringRequirednamestringRequiredsize"4x6" | "6x9" | "6x11"mail_type"usps_first_class" | "usps_standard"fromobjectRequiredheadlinestringRequiredbody_copystringRequiredoffer_textstringRequireddestination_urlstringRequiredtracking_phonestringphoto_urlstringaccent_colorstringmax_piecesintegerexclude_convertedbooleanworkspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/mail_send_campaign
Mail send campaign
Approval gated
Pay from the Keystone wallet and send a drafted 1-to-1 Keystone Direct Mail postcard campaign. Verifies US addresses, skips opt-outs, assigns unique QR attribution links, and logs every mailed piece to the CRM timeline. Needs approval and wallet funds; only pieces the carrier accepts are charged. (Spends money or changes billing, so a person must approve the exact amount first. Keystone asks the account owner or an admin itself: in your client when it supports approval prompts, otherwise the result has status needs_approval with an approve_url. Share that link, wait until the person says they approved, then call this tool again with the same arguments plus approval_id. The approval works once, expires, and changed arguments, amount or target need a new one. approved: true in the input never counts as approval.)
campaign_idstringRequiredidempotency_keystringRequiredmax_piecesintegerverify_addressesbooleanexclude_convertedbooleansend_datestringdry_runbooleanapproval_idstring- The approval_id from a needs_approval result, after a person approved it. Pass the same arguments as the first call.
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/mail_cancel_piece
Mail cancel piece
Write
Cancel a queued 1-to-1 postcard before the print cutoff window closes.
piece_idstringRequiredworkspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/mail_campaign_status
Mail campaign status
Read
Check delivery status, USPS tracking events, and QR scan attribution for one or all direct mail campaigns in this workspace.
campaign_idstringworkspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/email_domain_setup
Email domain setup
Approval gated
Set up built-in email sending from a workspace domain. Uses Keystone DNS when the zone is on the platform, the customer connected DNS account when one is connected, and the registrar or browser-delegation route when one is available. Shows every planned email DNS change in the approval before applying it, never touches unrelated records, and keeps undo data. dry_run true only previews. (Ends access or deletes data, so a person must approve it first. Keystone asks the account owner or an admin itself: in your client when it supports approval prompts, otherwise the result has status needs_approval with an approve_url. Share that link, wait until the person says they approved, then call this tool again with the same arguments plus approval_id. approved: true in the input never counts as approval.)
domainstringRequired- Apex or subdomain to send from, such as sarahsdental.com or mail.sarahsdental.com.
sender_local_partstring- The part before @, default hello.
dry_runboolean- true to preview the exact DNS diff without applying it.
approval_idstring- The approval_id from a needs_approval result, after a person approved it. Pass the same arguments as the first call.
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/email_dns_undo
Email DNS undo
Approval gated
Undo one approved email DNS setup by plan id. Restores updated records and removes only records Keystone created; unrelated DNS records are never touched. (Ends access or deletes data, so a person must approve it first. Keystone asks the account owner or an admin itself: in your client when it supports approval prompts, otherwise the result has status needs_approval with an approve_url. Share that link, wait until the person says they approved, then call this tool again with the same arguments plus approval_id. approved: true in the input never counts as approval.)
plan_idstringRequired- undo_plan_id returned by email_domain_setup.
approval_idstring- The approval_id from a needs_approval result, after a person approved it. Pass the same arguments as the first call.
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/email_send
Email send
Approval gated
Send transactional email from the workspace domain once email_domain_setup is ready, or from the Keystone starter sender until then. Use for one-to-one email, customer follow-ups, receipts and service notices. Marketing or promotional campaigns are refused because this sender is transactional only. More than one recipient is bulk mail: it needs the workspace postal address and owner approval, adds one-click unsubscribe, and stays within workspace rate limits. (Sends an external message; confirm with the user first. If the workspace requires approval for sends, the result has status needs_approval: share the approve_url, then call again with the same arguments plus approval_id.)
toobjectRequired- One recipient, a comma-separated list, or an array. Maximum 50. Bulk sends need approval.
subjectstringRequiredtextstringhtmlstringpurpose"transactional" | "follow_up" | "receipt" | "service_notice"- The transactional purpose. Marketing and promotional campaigns are not supported.
fromstring- extra sender on a domain already set up in this workspace.
reply_tostringphysical_addressstring- Required for bulk email: the workspace business postal address.
approval_idstring- The approval_id from a needs_approval result, after a person approved it. Pass the same arguments as the first call.
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/email_status
Email status
Read
Read built-in email status for this workspace: sender domain, DNS state, recent sends, failures, wallet charges, rate limits and the suppression count. Also mirrors provider bounce and complaint suppressions into Keystone when the management token allows it.
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/email_marketing_domain_setup
Email marketing domain setup
Approval gated
Set up customer-domain SPF, DKIM and DMARC for marketing email campaigns using automated DNS editing in Keystone (Keystone DNS, a connected customer DNS account, GoDaddy or API Anything). Shows every planned DNS change in the approval before applying it and stores undo data. Never requires manual DNS copy-paste when DNS access is connected. (Ends access or deletes data, so a person must approve it first. Keystone asks the account owner or an admin itself: in your client when it supports approval prompts, otherwise the result has status needs_approval with an approve_url. Share that link, wait until the person says they approved, then call this tool again with the same arguments plus approval_id. approved: true in the input never counts as approval.)
domainstringRequired- Apex or subdomain to send campaigns from, such as harborpointdental.com.
sender_local_partstring- The address part before @, default hello.
sender_namestring- extra sender display name, such as Harbor Point Dental.
dry_runboolean- true to preview the exact DNS diff without changing records.
approval_idstring- The approval_id from a needs_approval result, after a person approved it. Pass the same arguments as the first call.
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/email_template_save
Email template save
Write
Create or update a reusable marketing email template in this workspace. Supports merge tags {{first_name}}, {{last_name}}, {{full_name}}, {{email}} and {{business_name}}.
template_idstring- Pass an existing template id to update it.
namestringRequiredcategory"newsletter" | "promotion" | "announcement" | "reactivation" | ...subjectstringRequiredpreheaderstringhtmlstringtextstringworkspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/email_template_list
Email template list
Read
List saved marketing email templates in this workspace.
limitintegerworkspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/email_campaign_create
Email campaign create
Write
Create a draft marketing email campaign targeting a contact segment (segment_id), a CRM tag (tag) or an explicit recipient list. Optionally starts from a saved template_id. Requires the business physical postal address for CAN-SPAM compliance. Nothing sends until email_campaign_send is approved by the owner.
namestringRequiredtemplate_idstring- extra saved template id.
subjectstring- Required unless template_id provides it.
preheaderstringhtmlstringtextstringfromstring- Sender email on a marketing domain set up in this workspace.
from_namestringreply_tostringphysical_addressstringRequired- Required business physical postal address shown in the CAN-SPAM footer.
segment_idstring- Keystone audience/segment id (aud_...) to target.
tagstring- Workspace CRM contact tag to target.
recipientsobject[]- extra explicit recipient list when not targeting a segment_id or tag.
exclude_convertedboolean- For segments, skip contacts already marked converted.
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/email_campaign_send
Email campaign send
Approval gated
Send a drafted marketing email campaign to its target segment or tag. Always stops for owner approval showing the exact email subject, body, physical address footer, audience count and estimated wallet cost. Filters the shared suppression list, adds RFC 8058 one-click unsubscribe headers and open/click tracking, and bills one wallet line under email_marketing. (Sends an external message; confirm with the user first. If the workspace requires approval for sends, the result has status needs_approval: share the approve_url, then call again with the same arguments plus approval_id.)
campaign_idstringRequired- Draft campaign id returned by email_campaign_create.
approval_idstring- The approval_id from a needs_approval result, after a person approved it. Pass the same arguments as the first call.
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/email_campaign_report
Email campaign report
Read
Read marketing email campaign metrics for this workspace: sent, delivered, unique opens, open rate, unique clicks, click rate, top clicked links, bounces, complaints, unsubscribes, shared suppressions and single-line wallet charges.
campaign_idstring- Pass a campaign_id for one campaign report, or omit for a workspace summary.
limitintegerworkspacestring- Workspace slug or id. Omit to use your active workspace.
Content and job photos
25 endpoints
Content and job photos
25 endpoints
POST
/v1/tools/neighbor_campaign_settings
Neighbor campaign settings
Write
Read or change the workspace settings for finished-job postcards. Oppizi is the default. Set targeted for a Current Resident mailing list.
settingsobjectworkspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/neighbor_campaign_draft
Neighbor campaign draft
Write
Draft a postcard for a finished job. To prepare an Oppizi mailing, upload the artwork in Oppizi and pass campaign_id, design_id and mail_date. Approve the finished mailing in the content queue.
job_idstringsource_appstring- Poll only this connected field-service app.
campaign_idstringdesign_idintegermail_datestringworkspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/neighbor_campaign_queue
Neighbor campaign queue
Read
List the workspace’s neighbor postcard drafts and open the content queue to review and approve exact mailing details.
limitintegerworkspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/neighbor_campaign_results
Neighbor campaign results
Read
Count workspace form submissions attributed to a campaign’s postcard link.
campaign_idstringRequiredworkspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/buyer_phrases
Buyer phrases
Read
Mine the last 90 days of calls, reviews, form messages, Google Ads search terms and Search Console queries in this workspace, then return the stored buyer phrase bank with counts and examples. Set refresh to false to read the existing bank without collecting again.
refreshboolean- Collect fresh source text and rebuild the phrase bank before returning it.
limitintegerworkspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/ads_from_phrases
Ads from phrases
Write
Draft Google responsive search ad copy and Meta ad copy from the workspace buyer phrase bank. Every headline, description and primary text shows the buyer phrase it came from. Drafts wait in the content approval queue, apply only through paused ad write tools, and never enable spend.
platform"google" | "meta" | "both"refreshboolean- Rebuild the phrase bank before drafting.
servicestring- Service name to use when the phrase bank needs a service frame.
landing_urlstring- Landing URL to carry into the Google ad application payload.
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/ads_phrase_report
Ads phrase report
Read
Compare the buyer phrase bank with copy currently present in Google and Meta ads, then report which customer phrases are missing and which are already covered. Read only.
customer_idstring- Bound Google Ads customer ID. Omit to check every bound customer.
include_metabooleanrefreshboolean- Rebuild the phrase bank before comparing.
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/content_draft_list
Content draft list
Read
List the content drafts waiting for approval in this workspace, with the kind, the title, the status, any schedule and the changes a person asked for (read the draft, make those changes, then tell the person). Storm campaigns land here too, as a landing page and a Google Ads campaign plan. A draft is never published until a person approves it.
status"pending" | "approved" | "published" | "rejected"limitintegerworkspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/content_drafts
Content drafts
Read
Compatibility alias for content_draft_list. List the content drafts waiting for approval in this workspace, with the kind, the title, the status, any schedule and the changes a person asked for (read the draft, make those changes, then tell the person). Storm campaigns land here too, as a landing page and a Google Ads campaign plan. A draft is never published until a person approves it.
status"pending" | "approved" | "published" | "rejected"limitintegerworkspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/content_draft_get
Content draft get
Read
Read one saved content draft without approving or publishing it, with its title, meta description and body.
idstringRequiredworkspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/content_draft
Content draft
Read
Compatibility alias for content_draft_get. Read one saved content draft without approving or publishing it, with its title, meta description and body.
idstringRequiredworkspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/content_approve
Content approve
Write
Approve a content draft so it can be published. Read the draft first and tell the person what it says.
idstringRequiredworkspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/content_reject
Content reject
Write
Reject a content draft. It stays in the list with the rejected status.
idstringRequiredworkspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/content_publish
Content publish
Approval gated
Publish an approved content draft. Pages go to the workspace content site and Business Profile posts go to the bound location. An approved Google Ads campaign plan comes back ready for ads_campaign_launch, which builds it paused; it spends nothing until someone enables it. A draft that nobody approved cannot be published. (Sends an external message; confirm with the user first. If the workspace requires approval for sends, the result has status needs_approval: share the approve_url, then call again with the same arguments plus approval_id.)
idstringRequiredapproval_idstring- The approval_id from a needs_approval result, after a person approved it. Pass the same arguments as the first call.
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/content_schedule
Content schedule
Write
Read or change the weekly content plan for this workspace: which kinds of content run, the services and city the copy uses, the topics, and how many drafts each week.
kind"service_area_page" | "blog_post" | "business_profile_post"- The kind of content to change. Leave empty to read the whole plan.
enabledboolean- Turn a kind of content on or off.
settingsobjectworkspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/content_draft_create
Content draft create
Read
Create and save one unpublished draft now for a kind of content and put it in the approval queue. The weekly schedule does not change.
kind"service_area_page" | "blog_post" | "business_profile_post"Requiredworkspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/content_draft_now
Content draft now
Read
Compatibility alias for content_draft_create. Create and save one unpublished draft now for a kind of content and put it in the approval queue. The weekly schedule does not change.
kind"service_area_page" | "blog_post" | "business_profile_post"Requiredworkspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/job_photos_recent
Job photos recent
Read
List the finished jobs in this workspace that Keystone has photos for. Each entry shows the before and after photo it picked, what the vision model saw, and how many drafts are waiting for approval.
limitinteger- How many jobs to list.
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/job_content_draft
Job content draft
Write
Write the content for one finished job: a Business Profile post, a project page with the photos, a social caption and a short vertical video plan. Every draft waits in the approval queue. Nothing is published until a person approves it.
jobstringRequired- The job reference from job_photos_recent, such as companycam:abc123, or a job id.
channel"business_profile_post" | "project_page" | "social_caption" | "video_plan"- Write one kind of draft. Leave empty to write every kind the workspace asked for.
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/job_content_settings
Job content settings
Write
Read or change the job photo settings for this workspace: whether Keystone writes drafts on its own for finished jobs, and which kinds of content it writes.
auto_draftboolean- Turn automatic drafting on or off.
channels"business_profile_post" | "project_page" | "social_caption" | "video_plan"[]- The kinds of content Keystone writes for each job.
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/video_edit
Video edit
Approval gated
Edit a short social video for TikTok, Instagram Reels, YouTube Shorts, and LinkedIn from the business's raw clips, photos, cleared job pictures, B-roll, or a prompt. Adds frame-0 hooks, word-timed captions, cleared licensed music, brand colors, workspace logo, platform resizing, and a thumbnail. Routes automatically between the fast cloud renderer and Keystone Computer for heavy multi-clip renders. Call with preview true first to see the edit plan, renderer choice, music license, and wallet cost before spending; call with preview false to start rendering from the wallet. (Spends money or changes billing, so a person must approve the exact amount first. Keystone asks the account owner or an admin itself: in your client when it supports approval prompts, otherwise the result has status needs_approval with an approve_url. Share that link, wait until the person says they approved, then call this tool again with the same arguments plus approval_id. The approval works once, expires, and changed arguments, amount or target need a new one. approved: true in the input never counts as approval.)
promptstringRequired- What the video should show and say.
previewboolean- True shows the edit plan, chosen renderer, music license, and exact wallet estimate without charging or rendering.
titlestringhookstring- Opening line on frame 0 so viewers stop scrolling.
ctastring- Closing call to action.
platforms"tiktok" | "instagram_reels" | "youtube_shorts" | "linkedin"[]- Target platforms: tiktok, instagram_reels, youtube_shorts, linkedin.
aspect_overridesobject- Override default aspect ratio per platform (for example linkedin as 1:1 or 16:9).
clipsobject[]- Raw video clips stored in this workspace.
photosobject[]- Photos stored in this workspace.
brollobject[]- B-roll photos or clips stored in this workspace.
job_set_idstring- Include cleared photos from a saved job photo set (restricted photos with faces, plates, or house numbers are held back).
music_mood"upbeat" | "warm" | "modern" | "calm" | ...- Cleared background music mood: upbeat, warm, modern, calm, acoustic, editorial.
music_track_idstring- Specific track id from Keystone cleared music library.
voiceobject- Narration voice name, or null for captions and music only.
brand_colorstring- Primary brand hex color such as #1d4ed8.
brand_secondarystring- Background brand hex color such as #1c1917.
caption_style"bold_highlight" | "clean_pill" | "minimal_bottom"renderer"auto" | "browser" | "computer"- auto routes short edits to the fast cloud renderer and heavy multi-clip edits to Keystone Computer.
target_secondsnumberbeatsobject[]approval_idstring- The approval_id from a needs_approval result, after a person approved it. Pass the same arguments as the first call.
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/video_status
Video status
Read
Check the render status of a social video (or list recent social videos in this workspace): returns platform video links, aspect ratios, thumbnail link, timed captions, licensed music record, wallet cost, and any drafted or scheduled social posts.
video_idstring- Specific video id from video_edit. Omit to list recent videos for this business.
limitintegerworkspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/social_post_draft
Social post draft
Write
Draft or edit platform-specific social posts (TikTok, Instagram Reels, YouTube Shorts, LinkedIn) for a social video. Checks whether each social account is connected in this workspace and returns a one-click sign-in link for any missing account (no manual setup). Never publishes on its own.
video_idstringRequired- Video id from video_edit or video_status.
post_idstring- Pass an existing draft post id to update its caption, title, or hashtags.
platforms"tiktok" | "instagram_reels" | "youtube_shorts" | "linkedin"[]- Platforms to draft for. Defaults to the platforms the video was edited for.
captionstring- Custom post caption. Leave out to draft from the video hook and script.
titlestring- Title for YouTube Shorts or LinkedIn.
hashtagsstring[]first_commentstring- Link or note to place as the first comment.
timezonestring- IANA time zone such as local time zone.
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/social_post_schedule
Social post schedule
Approval gated
Owner-approved scheduling and publishing for social video drafts through the business's own connected social accounts, plus recurring weekly scheduling via Loops. action schedule queues a drafted post for publish_at (or posts right away when publish_at is omitted or "now"); action cancel cancels a scheduled post; action loop turns the workspace's weekly social video Loop on or off. Never posts without owner approval or an active connected social account. (Sends an external message; confirm with the user first. If the workspace requires approval for sends, the result has status needs_approval: share the approve_url, then call again with the same arguments plus approval_id.)
action"schedule" | "cancel" | "loop"post_idstring- Draft post id from social_post_draft (required for schedule and cancel).
publish_atstring- ISO date-time such as YYYY-MM-DD, or "now" to publish immediately.
timezonestringloop_enabledboolean- Required when action is loop: true enables the weekly social video drafting Loop, false turns it off.
approval_idstring- The approval_id from a needs_approval result, after a person approved it. Pass the same arguments as the first call.
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/redshift_nebula_image
Redshift nebula image
Write
Generate or edit images for this workspace with Redshift Nebula (logos, flyers, product shots, hero visuals and social graphics). Saves every image in this workspace storage and bills the wallet per image. Requires Redshift to be turned on. Refuses real-person likeness and logo impersonation requests.
promptstringRequired- Visual description of the image to generate, or the edit to apply to source_image_id.
action"generate" | "edit"- Use generate for a new image, or edit with source_image_id to modify an existing image in this workspace.
source_image_idstring- Existing Nebula image id from this workspace to edit. Required when action is edit.
size"1024x1024" | "1536x1024" | "1024x1536"- Output size: 1024x1024 (square), 1536x1024 (landscape), or 1024x1536 (portrait).
ninteger- Number of images to create, from 1 to 4.
workspacestring- Workspace slug or id. Omit to use your active workspace.
Team and permissions
6 endpoints
Team and permissions
6 endpoints
POST
/v1/tools/team_my_access
Team my access
Read
Shows your role and permissions in the current workspace: which apps and Keystone modules you may read, write, upload to, send from or spend in, and whether you may approve.
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/team_list
Team list
Read
Lists the people who can use the current workspace, their roles and permissions, pending invites, and the seat count and monthly cost. For owners, admins and client admins who run this workspace team.
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/team_invite
Team invite
Write
Invites a person by email to the current workspace (or, with whole_account, to every workspace, for agency staff) with a role and a permission profile. Each workspace includes 3 users; an extra user adds $10 a month, so the call fails until confirm_extra_user is true. Returns the invite link; the email is sent too when email is set up.
emailstringRequired- Their email address. They sign in with it.
role"admin" | "member"- admin: everything in the workspace, approves, runs the team. member: uses the permission profile.
preset"manager" | "staff" | "custom"- manager: Reads, writes, uploads and sends in every app and module. Cannot spend or approve. staff: Reads every app and module. Changes nothing. custom: You choose per app and per module.
permissionsobjectwhole_accountboolean- Give access to every workspace in the account (agency staff). Owners and admins only.
confirm_extra_userboolean- Set true after the person agrees to the $10 a month for a user beyond the 3 included.
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/team_update_member
Team update member
Write
Changes one person's role or permission profile in the current workspace, or account-wide with whole_account. Get user_id from team_list.
user_idstringRequiredrole"admin" | "member"preset"manager" | "staff" | "custom"- manager: Reads, writes, uploads and sends in every app and module. Cannot spend or approve. staff: Reads every app and module. Changes nothing. custom: You choose per app and per module.
permissionsobjectwhole_accountboolean- Change their account-wide access instead of this workspace's.
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/team_remove_member
Team remove member
Destructive
Removes one person from the current workspace (or the whole account with whole_account) and stops their tokens when they have no access left. The monthly seat count drops with them.
user_idstringRequiredwhole_accountbooleanworkspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/team_seats
Team seats
Read
Seat count and monthly cost for every workspace in the account: users, pending invites, the 3 included, extra users at $10 a month. Owners and admins only.
workspacestring- Workspace slug or id. Omit to use your active workspace.
AI check-ins, claims, agent mail and project feed
33 endpoints
AI check-ins, claims, agent mail and project feed
33 endpoints
POST
/v1/tools/workspace_checkin
Workspace checkin
Write
Check in to the current workspace when you start work, about every 30 minutes on long jobs, and when you finish (task "done"). Records your lane and task, then returns what changed since your last check-in: mail waiting for you with wake hints, new feed posts, open questions and blockers, who else is active (AI sessions and people) and open claims. Use it whenever more than one AI or person may be working on this business.
lanestringRequired- The job this session is doing, like "ads", "seo" or "website". Keep it the same for the whole job.
taskstringRequired- One line: what you are doing now, or "done".
clientstring- Your AI app, like "Claude Code" or "ChatGPT". Keystone fills it in when your app says.
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/workspace_who
Workspace who
Read
Who is working in the current workspace right now: AI sessions and people seen in the last 60 minutes (with lane, task and AI app) and every open claim with when it ends. Use the lane_id or lane name to send mail.
minutesinteger- How far back counts as active. Default 60.
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/work_claim
Work claim
Write
Claim a task or target before you start it so other sessions leave it alone, like "Google Ads spring offer", "website/home page" or "Google Business Profile". Targets nest with "/": "website" covers "website/home page", and "*" covers the whole workspace. Returns ok true with the claim id, or ok false with who holds an overlapping claim and when it ends; you then join the wait list and get a handoff message when they release it, so pick other work or ask them with agent_mail_send. Claiming again renews your own claim. Claims end after 60 minutes unless you set minutes (5 to 480).
targetstringRequired- What you are taking on.
notestring- One line on what you will do.
minutesintegerwaitboolean- When someone else holds it, join the wait list for a handoff message. Default true.
lanestring- Your lane: the job this session is doing, the same on every call, like "ads", "seo" or "reviews". Omit to use the lane you last checked in with.
clientstring- Your AI app, like "Claude Code" or "ChatGPT". Keystone fills it in when your app says.
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/work_release
Work release
Write
Release your claim when you finish or stop (by claim id, or by target). Sessions waiting for it get a handoff message with your note. Say what is done and what is left.
idstring- The claim id from work_claim.
targetstring- Or the target you claimed.
notestring- What is done, what is left, and where.
lanestring- Your lane: the job this session is doing, the same on every call, like "ads", "seo" or "reviews". Omit to use the lane you last checked in with.
clientstring- Your AI app, like "Claude Code" or "ChatGPT". Keystone fills it in when your app says.
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/agent_mail_send
Agent mail send
Write
Send a direct message to another AI lane or a person in the current workspace: a question, a review request, a handoff, a reply or a note. to: a lane_id or lane name from workspace_who, or a teammate's email. wake_hint is one line telling the recipient's next session what to do first. Reuse request_id when you retry so the message is not sent twice.
tostringRequiredkind"question" | "review" | "handoff" | "reply" | ...subjectstringbodystringRequiredwake_hintstringreply_tostring- Message id you are answering.
request_idstringlanestring- Your lane: the job this session is doing, the same on every call, like "ads", "seo" or "reviews". Omit to use the lane you last checked in with.
clientstring- Your AI app, like "Claude Code" or "ChatGPT". Keystone fills it in when your app says.
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/agent_mail_inbox
Agent mail inbox
Read
Read messages waiting for your lane in the current workspace, oldest first. personal: true adds messages sent to you as a person. Act on each, then call agent_mail_ack with its id.
personalboolean- Also show messages addressed to you as a person.
include_readboolean- Show recent acknowledged messages too.
lanestring- Your lane: the job this session is doing, the same on every call, like "ads", "seo" or "reviews". Omit to use the lane you last checked in with.
clientstring- Your AI app, like "Claude Code" or "ChatGPT". Keystone fills it in when your app says.
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/agent_mail_ack
Agent mail ack
Write
Acknowledge messages you have read, by id, so the sender sees they arrived and your next session does not get them again.
message_idsstring[]Requiredworkspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/project_post
Project post
Write
Post to the current workspace's project feed, which the team sees in the app and every AI sees on check-in. kind: update (progress), question (needs an answer), blocker (you are stuck), handoff (what is done and what is left), decision (what was chosen and why), done (finished). reply_to answers a post; resolve: true with reply_to marks the question or blocker answered. Keep it short and concrete.
kind"update" | "question" | "blocker" | "handoff" | ...titlestringbodystringRequiredreply_tostringresolvebooleanlanestring- Your lane: the job this session is doing, the same on every call, like "ads", "seo" or "reviews". Omit to use the lane you last checked in with.
clientstring- Your AI app, like "Claude Code" or "ChatGPT". Keystone fills it in when your app says.
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/project_feed
Project feed
Read
Read the current workspace's project feed, newest first. With post_id: that post and its replies. Filter by kind, open questions and blockers only, or since a time.
post_idstringkind"update" | "question" | "blocker" | "handoff" | ...open_onlybooleansincestring- ISO time; only posts after it.
limitintegerworkspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/handoff_create
Handoff create
Write
Create a portable, privacy-filtered handoff packet for work in this workspace. It can go to a local AI, a Redshift agent or team thread, or a Redshift Computer driver switch. Pass run_id, source_thread_id or mission_id to use Keystone run history, or pass the last session messages yourself. Attach claim_target or claim_id when the work is claimed; accepting the handoff moves that claim.
target"local_ai" | "redshift_agent" | "redshift_team" | "computer_driver"agentstring- For a Redshift target, the built-in or custom agent key. Default account_manager.
driverstring- For a computer driver switch: claude_code, codex, grok or redshift.
thread_idstring- For redshift_team or computer_driver, the thread to continue. Use source_thread_id to packetize an Agents v2 thread.
source_thread_idstringrun_idstringmission_idstringtitlestringgoalstringinstructionsstringclaim_idstringclaim_targetstringfilesstring[]linksstring[]recordsstring[]memory_idsstring[]notebook_refsstring[]messagesobject[]message_limitintegerexpires_minutesintegerlanestring- Your lane, the same as workspace_checkin uses. Omit to use your current lane.
clientstringworkspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/handoff_receive
Handoff receive
Read
Receive an active handoff by id or short code in this workspace. Returns the filtered packet and a ready-to-paste prompt. This does not accept it or move the claim; call handoff_accept before starting the work.
handoffstringRequired- The handoff id or short code, like HO-1A2B3C4D.
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/handoff_list
Handoff list
Read
List handoff packets in this workspace, newest first. Packets never cross accounts or workspaces. Filter by status active, accepted, revoked or expired.
status"active" | "accepted" | "revoked" | "expired"limitintegerworkspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/handoff_accept
Handoff accept
Write
Accept an active handoff once. This moves any attached collaboration claim to your lane so two agents do not work the same target. Redshift targets are seeded as Agents v2 runs; computer driver targets return the switch payload for the Redshift Computer app.
handoffstringRequiredlanestring- Your lane, the same as workspace_checkin uses. Omit to use your current lane.
agentstringdriverstringclientstringworkspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/handoff_revoke
Handoff revoke
Write
Revoke an active handoff so it can no longer be received or accepted. The creator or an owner or admin can revoke it. Already accepted handoffs stay closed.
handoffstringRequiredworkspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/redshift_agents
Redshift agents
Read
The five Redshift business agents for this workspace (Account Manager, Reviews, Ads, Front Desk, Bookkeeper): which are on, their model, Loops and next runs, spend this month against the ceiling, actions waiting for approval and recent runs.
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/redshift_agent_set
Redshift agent set
Write
Turn a Redshift agent on or off for this workspace, pick its Redshift model (redshift_agents lists them) or give it standing notes. Turning one on creates its default Loops. Owners and admins only.
agent"account_manager" | "reviews" | "ads" | "front_desk" | ...Required- One of: account_manager (Agency Account Manager), reviews (Reviews and Reputation), ads (Ads Optimizer), front_desk (Front Desk), bookkeeper (Bookkeeper's Assistant).
onbooleanmodelstring- One of the Redshift model ids that redshift_agents lists.
notesstring- Standing notes the agent reads on every run, like tone or what to leave alone.
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/redshift_agent_run
Redshift agent run
Write
Run a Redshift agent now on a task in this workspace and return its output. The run spends a few cents from the wallet (shown in the result); sends and spends it wants wait for approval. Owners and admins only.
agent"account_manager" | "reviews" | "ads" | "front_desk" | ...Required- One of: account_manager (Agency Account Manager), reviews (Reviews and Reputation), ads (Ads Optimizer), front_desk (Front Desk), bookkeeper (Bookkeeper's Assistant).
taskstringRequired- What to do, in plain words. Leave the business out; the agent knows it.
modelstring- One of the Redshift model ids that redshift_agents lists.
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/redshift_runs
Redshift runs
Read
Recent Redshift agent runs in this workspace with status, cost and summary, or one run in full (pass run_id) with its notebook note path and steps.
run_idstringagent"account_manager" | "reviews" | "ads" | "front_desk" | ...- One of: account_manager (Agency Account Manager), reviews (Reviews and Reputation), ads (Ads Optimizer), front_desk (Front Desk), bookkeeper (Bookkeeper's Assistant).
limitintegerworkspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/redshift_loop_set
Redshift loop set
Write
Change one Redshift Loop in this workspace: turn it on or off, set its schedule (daily, weekly, monthly or every N minutes, in the business time zone), or its model. Owners and admins only.
loop_idstringRequiredonbooleanscheduleobjectmodelstring- One of the Redshift model ids that redshift_agents lists.
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/redshift_budget_set
Redshift budget set
Write
Set this workspace's monthly Redshift cap, in dollars. It covers the agents and every other Redshift use in the workspace. When it is reached, runs stop and Loops pause until next month. Owners and admins only.
monthly_dollarsnumberRequiredworkspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/mission_start
Mission start
Write
Start a durable Keystone mission: one big goal, a wallet allowance and a deadline. The first call returns an estimate and does not start anything. Show the estimate to the person, wait for a clear yes, then call again with confirm true. Once started, Keystone plans with Redshift Supernova, runs steps as child Redshift agents, uses approvals for money, contracts, recurring charges and protected sends, and keeps events, proof and receipts until done or stopped.
goalstringRequired- The real-world goal in plain words.
budget_dollarsnumberRequired- Maximum total mission allowance in US dollars. Minimum $3 because planning uses Redshift Supernova. The engine treats it as a hard allowance.
deadlineobjectRequired- Deadline as unix milliseconds or an ISO date/time.
per_item_limit_dollarsnumber- Any single step estimated above this amount waits for owner approval.
parallel_limitinteger- Maximum mission tasks running at once.
confirmboolean- true only after the person saw the estimate and clearly said to start.
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/mission_status
Mission status
Read
Read one mission or list recent missions in this workspace: plan tree, live statuses, proof, questions, approvals, events, spend and receipts. Pass after_event_id to receive only newer events.
mission_idstring- Omit to list recent missions.
event_limitintegerafter_event_idintegerworkspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/mission_steer
Mission steer
Write
Add owner direction to a running mission, or answer its one clear owner question. The answer is durable and the next scheduler tick replans or resumes affected steps.
mission_idstringRequired- Mission id from mission_start or mission_status.
directionstringRequired- New direction, constraint or answer for the mission.
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/mission_pause
Mission pause
Write
Pause a mission so no new steps start, or resume a paused mission. Running child steps finish their current run.
mission_idstringRequired- Mission id from mission_start or mission_status.
pausedboolean- true pauses, false resumes.
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/mission_stop
Mission stop
Write
Kill switch for a mission. It stops new work immediately and records the reason. Running child steps finish their current model step but cannot start again.
mission_idstringRequired- Mission id from mission_start or mission_status.
reasonstringworkspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/mission_approve
Mission approve
Write
Approve or deny a mission step waiting on the owner. mission_status gives approval_token for the waiting node. Use this only after the person clearly says yes or no to that exact step.
mission_idstringRequired- Mission id from mission_start or mission_status.
approval_tokenstringRequired- The signed token from mission_status for the waiting node.
decision"approve" | "deny"Requiredworkspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/agent_create
Agent create
Write
Create a custom specialist agent in this workspace with instructions, allowed tools, a default model and an extra per-run budget. The agent can then be sent work with agent_thread_send or delegated to by other agents.
namestringRequiredinstructionsstringRequiredtoolsstring[]modelstringbudget_usdnumberworkspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/agent_update
Agent update
Write
Update, enable or disable a custom specialist agent in this workspace. Pass only the fields to change.
agentstringRequirednamestringinstructionsstringtoolsstring[]modelstringbudget_usdnumberenabledbooleanworkspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/agent_thread_send
Agent thread send
Write
Send a goal to a custom or built-in agent and run it now. Pass thread_id to continue a thread. The run is budgeted, resumable, and pauses when approval is needed.
agentstringRequiredmessagestringRequiredthread_idstringworkspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/agent_thread_read
Agent thread read
Read
Read a custom agent thread: its recent runs, status, summaries, held count, cost and notebook links.
thread_idstringRequiredlimitintegerworkspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/agent_run_cancel
Agent run cancel
Write
Cancel a waiting or running agent run in this workspace. Running model steps stop at the next durable checkpoint; waiting approval resumes are closed.
run_idstringRequiredworkspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/agent_fleet_deploy
Agent fleet deploy
Write
Deploy a custom agent definition to other workspaces in this account. It copies instructions, tools, model and budget without copying threads, runs or workspace data.
agentstringRequiredworkspace_idsstring[]Requiredenabledbooleanworkspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/agent_list
Agent list
Read
List custom specialist agents in this workspace.
limitintegerworkspacestring- Workspace slug or id. Omit to use your active workspace.
Redshift Computer (terminal, files, commands)
8 endpoints
Redshift Computer (terminal, files, commands)
8 endpoints
POST
/v1/tools/redshift_computer_status
Redshift computer status
Read
Shows this workspace's Redshift Computer: awake, asleep, paused or off, this month's awake hours and spend against its limit, and recent snapshots. The computer is a persistent Linux machine for this one business, with files in /workspace. Does not wake it.
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/redshift_computer_run
Redshift computer run
Write
Runs a shell command on this workspace's Redshift Computer (Linux, bash, git, Node, Python) and returns its exit code and output. Wakes the computer when it is asleep; awake time is billed to the wallet. Runs as the AI user in /workspace. Output is capped at 64 KB per stream; the command is stopped at its timeout. Your app tools are reachable from inside at $KEYSTONE_MCP_URL with $KEYSTONE_MCP_TOKEN.
commandstringRequired- The command line, run with bash -lc.
cwdstring- Directory under /workspace. Default /workspace.
timeout_secondsinteger- Stop the command after this many seconds (at most 600).
stdinstring- Text for standard input.
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/redshift_computer_files_read
Redshift computer files read
Read
Reads a file, or lists a folder, on this workspace's Redshift Computer. Paths are under /workspace. Text comes back as text; binary files as base64. Files over 1 MB are cut at 1 MB.
pathstringRequired- Absolute path under /workspace, such as /workspace/report.md or /workspace.
max_bytesintegerworkspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/redshift_computer_files_write
Redshift computer files write
Write
Writes a file on this workspace's Redshift Computer, creating folders as needed. Paths are under /workspace. Replaces an existing file. Up to 5 MB; send binary content as base64.
pathstringRequired- Absolute path under /workspace.
contentstringRequiredencoding"utf8" | "base64"workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/redshift_computer_snapshot
Redshift computer snapshot
Write
Saves a named copy of /workspace on this workspace's Redshift Computer, encrypted in Redshift storage. An owner or admin can restore it from the computer page. Use before a risky change.
namestring- A short label, such as "before site rebuild".
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/redshift_computer_history
Redshift computer history
Read
Lists this workspace computer's /workspace history snapshots, newest first. Each entry has a snapshot id, time and a one-line summary of files added, changed or removed. Read-only; it does not wake the computer.
limitinteger- How many snapshots to return (at most 100).
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/redshift_computer_diff
Redshift computer diff
Read
Compares two /workspace history snapshots and returns changed files with a bounded text diff. Use snapshot ids from redshift_computer_history. Binary files are marked without dumping bytes. Read-only; it does not wake the computer.
from_snapshotstringRequired- The older snapshot id, branch or tag.
to_snapshotstringRequired- The newer snapshot id, branch or tag.
workspacestring- Workspace slug or id. Omit to use your active workspace.
POST
/v1/tools/redshift_computer_restore
Redshift computer restore
Approval gated
Restores this workspace computer's /workspace to a snapshot from redshift_computer_history. This replaces files in /workspace, so a person must approve the exact snapshot first. Current uncommitted work is checkpointed first when possible, and the restore is saved as a new forward history entry. (Ends access or deletes data, so a person must approve it first. Keystone asks the account owner or an admin itself: in your client when it supports approval prompts, otherwise the result has status needs_approval with an approve_url. Share that link, wait until the person says they approved, then call this tool again with the same arguments plus approval_id. approved: true in the input never counts as approval.)
snapshotstringRequired- The snapshot id (commit) from redshift_computer_history.
approval_idstring- The approval_id from a needs_approval result, after a person approved it. Pass the same arguments as the first call.
workspacestring- Workspace slug or id. Omit to use your active workspace.