L'Atlas / Serveurs MCP / CallMCP — Phone Call MCP Server
Serveur MCP

CallMCP — Phone Call MCP Server

ai.callmcp/server

Serveur MCP OK 214 outils

Faire examiner Voir les tarifs

À quoi ça sert

Relie un assistant à KaiCalls. Les outils montrent surtout la gestion de comptes Local Services Ads (leads, conversations, réponses, rapports), CallRail, Nimbata et des profils d'agence.

Résumé rédigé par L’Atlas le 29 nov. 2026, reformulé seulement à partir de la description de l’auteur et des outils vus par notre test. Texte de l’auteur ci-dessous.

Phone call MCP server: AI agents place and answer real calls, text, email and WhatsApp via KaiCalls.

Fiche technique

Auteur
callmcp.ai (espace de noms du registre)
Dépôt
github.com/CallMCP/callmcp
Site
callmcp.ai
Version
0.1.5
Transport
Streamable HTTP stdio
Authentification
Aucune (constatée par notre test)
Adresse du serveur
https://callmcp.ai/mcp Streamable HTTP
Paquets
@callmcp/server 0.1.5 npm stdio
Outils
214
Catégories
IA, agents et mémoire, Messagerie et communication
Comparatifs
Serveurs MCP pour WhatsApp, Serveurs MCP pour Gmail et e-mail
Dernière mise à jour
12 nov. 2026
Publication
12 nov. 2026

Badge pour votre README

Référencé sur L’Atlas

Gratuit, pour toute fiche. Il renvoie vers cette fiche et affiche « testé OK » tant que notre dernier test est réussi.

MarkdownREADME.md
[![Référencé sur L’Atlas](https://latlas.dev/badge/fiche/ai.callmcp/server.svg)](https://latlas.dev/mcp/ai.callmcp/server)
HTML
<a href="https://latlas.dev/mcp/ai.callmcp/server"><img src="https://latlas.dev/badge/fiche/ai.callmcp/server.svg" alt="Référencé sur L’Atlas" height="20"></a>

Nos tests

Chaque semaine : initialize puis tools/list, sans identifiant, sans jamais appeler d’outil. Méthode

Adresse
https://callmcp.ai/mcp
Dernier résultat
OK 28 nov. 2026, 07:48
Temps de réponse
754 ms (initialize + tools/list)
Version du protocole
2025-06-18
Nom annoncé
kaicalls-mcp 1.1.1
Outils
214

Historique

DateRésultatRéponseOutils
28 nov. 2026, 07:48OK754 ms214

Outils exposés (214, réponse à tools/list, 28 nov. 2026)

request_human_approval

Request Human Approval

Ask a named principal for a specific decision using the provisioned voice approval channel. Requires restricted approvals:write, a configured callback host and signing secret. Returns dispatch status; the signed callback carries the decision and evidence. No approval is implied by dispatch. SMS-only delivery is unavailable.

ParamètreTypeRequisDescription
sourcestringouiLowercase control-plane slug, e.g. "zehrava-gate".
source_request_idstringoui
source_intent_idstringnon
message_idstringnon
responds_to_hashstringnon
principal_idstringoui
channelobjectoui
summarystringoui
risk_levelenum: "low" | "medium" | "high" | "critical"oui
required_factorsarray<string>non
expires_atstringoui
callback_urlstringouiMust be https and host-allowlisted.
callback_secret_idstringnon

connect_agent

Connect External Agent

Connect an external agent to a business and its signed event outbox. Requires current business admin membership, an assigned Kai agent, and agents:write, sms:write, webhooks:write. New SMS/WhatsApp conversations route to the external agent; explicit handoffs win. Grants no additional permissions and does not activate unregistered channels. Use a stable idempotency_key; replacements require expected_revision. The signing secret is returned only for a non-replayed connect. External realtime voice and email execution are not connected by this operation.

ParamètreTypeRequisDescription
business_idstringnon
agent_idstringoui
external_agent_idstringoui
webhook_urlstringoui
idempotency_keystringouiRequired in the body or Idempotency-Key header.
expected_revisionintegernon
a2a_enabledbooleannonRoute public A2A message/send to the signed receiver, which must return a JSON-RPC A2A message. SDK handleA2ARequest/handle_a2a_request connects the receiver to your own agent.
a2a_urlstring | nullnonOptional existing native A2A endpoint; requires a2a_enabled. Omit to use the signed event receiver.
external_reply_timeout_secondsinteger | nullnon

get_agent_connection

Get Agent Connection

Discover the external agent connection, signed webhook configuration, scoped API operation catalog, channel readiness and remaining runtime requirements. Requires agents:read, sms:read and webhooks:read. Configuration does not prove delivery or recipient consent.

ParamètreTypeRequisDescription
business_idstringnon

disconnect_agent

Disconnect External Agent

Disconnect the external agent and disable its webhook atomically. Requires current business admin membership and agents:write, sms:write, webhooks:write. Pass the stored expected_revision. Inherited conversations return to Kai; explicit handoffs remain.

ParamètreTypeRequisDescription
business_idstringnon
expected_revisionintegeroui

get_lsa_account_report

get lsa account report

Read the authorized advertiser's live Google Local Services aggregate account report, including actual spend, currency and charged lead totals. Requires linked manager-account access. Dates are calendar dates inclusive at both ends. Source may lag by 30 minutes. Connected phone calls means duration over 30 seconds; responsiveness is the previous 90 days. This is not signed-case revenue or lead-rating reporting.

ParamètreTypeRequisDescription
business_idstringoui
connection_idstringoui
start_datestringoui
end_datestringoui

get_lsa_setup

get lsa setup

Inspect Google LSA account selection and sync freshness, with setup steps. Saved configuration never proves a live workflow. Cloud-project production access is not shown here; Google Cloud reports it.

ParamètreTypeRequisDescription
business_idstringoui

sync_lsa

sync lsa

Sync an explicitly selected connected LSA advertiser. Requires current business admin role. Syncing runs lead ingestion, and existing business speed-to-lead configuration may contact the new leads it finds.

ParamètreTypeRequisDescription
business_idstringoui
connection_idstringoui

list_lsa_leads

list lsa leads

List synced Google LSA leads, charge and credit states, source IDs and rating details. The returned LSA lead id identifies the lead in LSA commands; the separate lead_id field links to the CRM.

ParamètreTypeRequisDescription
business_idstringoui
offsetintegernon
limitintegernon

get_lsa_conversations

get lsa conversations

Read the latest 200 synced Google LSA conversation events for an LSA lead, including customer and advertiser messages. History is as current as the last sync.

ParamètreTypeRequisDescription
business_idstringoui
lead_idstringoui

get_lsa_report

get lsa report

Report LSA lead counts, types, observed statuses, ratings and credit counts for an explicit UTC window (start inclusive, end exclusive). Includes sync freshness and completeness. Removed unrated leads are counted separately because they cannot be rated here. Financial amounts, signed cases and response-time metrics are unavailable in this source and cannot be derived from counts.

ParamètreTypeRequisDescription
business_idstringoui
startstringoui
endstringoui

send_lsa_reply

send lsa reply

Send an authorized text reply inside an existing Google LSA message lead through the Ads API. This contacts the customer. Requires current business admin role and a stable idempotency_key. A retry with the same key is deduplicated; pending/unknown writes are blocked. Provider acceptance does not prove customer delivery. Attachments are unsupported.

ParamètreTypeRequisDescription
business_idstringoui
lead_idstringoui
messagestringoui
idempotency_keystringoui

rate_lsa_lead

rate lsa lead

Submit an authorized, truthful Google LSA quality survey and return Google's actual bonus-credit decision. This is not a guaranteed refund or the retired manual dispute workflow. Requires admin role and a stable retry key. Each rating is a per-lead survey answer based on that lead, not a bulk dissatisfaction claim. The reason must match the positive/negative rating; OTHER requires a comment. Neutral takes no reason.

ParamètreTypeRequisDescription
business_idstringoui
lead_idstringoui
ratingenum: "VERY_SATISFIED" | "SATISFIED" | "NEUTRAL" | "DISSATISFIED" | "VERY_DISSATISFIED"oui
reasonenum: "BOOKED_CUSTOMER" | "LIKELY_BOOKED_CUSTOMER" | "SERVICE_RELATED" | "HIGH_VALUE_SERVICE" | "OTHER_SATISFIED_REASON" | "GEO_MISMATCH" | "JOB_TYPE_MISMATCH" | "NOT_READY_TO_BOOK" …non
commentstringnon
idempotency_keystringoui

get_callrail

Read CallRail setup

Read a business's CallRail call-tracking setup. action=status returns the connected CallRail account, which CallRail companies feed which business, every company the saved key can see (with its company_id), and the businesses you can link them to. action=list_trackers (with link_id from status) returns that company's tracking numbers, where each one rings now, and whether it already rings a KaiCalls line. If nothing is connected yet, ask the person for their CallRail API key and use manage_callrail connect.

ParamètreTypeRequisDescription
business_idstringoui
actionenum: "status" | "list_trackers"non
link_idstringnon

manage_callrail

Set up CallRail

Connect CallRail call tracking to a business's line. Order: (1) connect {api_key, account_id?}; (2) get_callrail status lists the companies the key can see; (3) link_company {company_id, target_business_id?} once per business; (4) set_writeback {enabled}; (5) get_callrail list_trackers; (6) route_tracker only after the owner says yes. The API key: the person may paste their CallRail API v3 key straight into this chat. Take it and pass it as api_key; do not send them elsewhere to paste it. KaiCalls stores it encrypted and never returns it. One agency-level key serves every company that CallRail login can see, so connect once and link each firm with its own link_company. They create the key in CallRail under Integrations > API Keys > Create API V3 Key, signed in as a login that can see every company to link. CallRail shows the key only once. If they would rather paste it themselves: https://www.kaicalls.com/dashboard/settings/connections?connector=callrail. If connect answers choose_account, call it again with one of the returned account ids. link_company subscribes that CallRail company's calls: calls Kai answers get the CallRail source, campaign, keyword and landing page, and Kai's outcome is written back to CallRail as a KaiCalls tag, a summary note and good_lead when Kai qualified the caller. route_tracker {link_id, tracker_id, mode} changes where a live tracking number rings: mode kai_answers sends every call to Kai; business_first sends it to a KaiCalls line that rings t…

ParamètreTypeRequisDescription
business_idstringoui
actionenum: "connect" | "link_company" | "unlink_company" | "route_tracker" | "restore_tracker" | "set_writeback" | "disconnect"oui
api_keystringnonCallRail API v3 key, as the person pasted it in chat. Stored encrypted; never returned.
account_idstringnonOnly when connect answered choose_account: one of the account ids it listed.
company_idstringnonA company id from get_callrail status (companies[].id).
target_business_idstringnon
link_idstringnon
tracker_idstringnon
modeenum: "kai_answers" | "business_first"non
kai_numberstringnon
enabledbooleannon

get_nimbata

Read Nimbata setup

Read a business's Nimbata call-tracking setup: the connected Nimbata account, which Nimbata projects feed which business (with when each last synced and how many calls matched), the projects the saved token can see, and the businesses you can link them to.

ParamètreTypeRequisDescription
business_idstringoui
actionenum: "status"non

manage_nimbata

Set up Nimbata

Connect Nimbata call tracking to a business's line. connect {api_token} checks and saves a Nimbata personal API token (Agency plan; one token can serve many businesses). link_project {project_id, target_business_id?} attaches that Nimbata project's calls to a business and adds KaiCalls tags to the project: calls Kai answers get Nimbata's source, UTM and click ids, and Kai's outcome is written back to the Nimbata call as a KaiCalls tag, a KaiCalls qualified tag when Kai qualified the caller, and a summary comment. unlink_project {link_id}; set_writeback {enabled}; disconnect. Requires current admin role on every business involved. Routing stays in Nimbata: add the KaiCalls number to the project's call flow there.

ParamètreTypeRequisDescription
business_idstringoui
actionenum: "connect" | "link_project" | "unlink_project" | "set_writeback" | "disconnect"oui
api_tokenstringnon
project_idstringnon
target_business_idstringnon
link_idstringnon
enabledbooleannon

agency_profile_bootstrap

Create Agency Profile

Registers a new agency for the signed-in user and makes them its owner, using the given brand and support details. Requires a signed-in user session with a verified email; an API key cannot create an agency. Repeating it for an agency that already exists does not create a second one.

ParamètreTypeRequisDescription
brandobjectouiAgency brand: name and an optional HTTPS logo URL.
supportobjectouiSupport contact shown to clients: email, owner name, optional HTTPS help URL and a coverage statement.

agency_profile_update

Update Agency Profile

Replaces the agency brand, support details and requested commercial mode. Requires an agency owner or admin and the current profile revision; a stale revision is rejected. It does not change any published offer.

ParamètreTypeRequisDescription
partnerIdstringouiThe agency (partner) workspace ID.
expectedRevisionstringouiThe profile revision you last read.
brandobjectoui
supportobjectoui
commercialModeenum: "commission" | "partner_billed"ouicommission (client pays the platform directly) or partner_billed (the agency is billed wholesale).

agency_profile_invite

Invite Agency Team Member

Creates a staff invitation for an email address with the admin, operator or reader role and returns a one-time invite link that expires in 7 days. Requires an agency owner or admin; only the owner can invite an admin. It sends no email; the returned link is delivered by whoever created the invite.

ParamètreTypeRequisDescription
partnerIdstringouiThe agency (partner) workspace ID.
emailstringouiEmail address the invitee must sign in with (verified).
roleenum: "admin" | "operator" | "reader"ouiRole granted on acceptance: admin, operator or reader.

agency_profile_accept_invite

Accept Agency Invitation

Joins the agency using the token from an invite link. The signed-in user must have a verified email that matches the invited address, and the invite must be unexpired and not revoked. Accepting the same invite again is a no-op.

ParamètreTypeRequisDescription
partnerIdstringouiThe agency (partner) workspace ID.
tokenstringouiThe token from the invite link.

agency_profile_revoke_invite

Revoke Agency Invitation

Cancels a pending staff invitation so its link can no longer be used. Requires an agency owner or admin. It does not remove anyone who already accepted; revoke_member does that.

ParamètreTypeRequisDescription
partnerIdstringouiThe agency (partner) workspace ID.
inviteIdstringouiThe invitation to cancel.

agency_profile_assign

Assign Staff Member to Client

Gives an active agency staff member access to one client business with the admin or member business role. Requires an agency owner or admin who can manage that client; only the owner can assign an admin staff member. Assigning an existing assignment again changes nothing.

ParamètreTypeRequisDescription
partnerIdstringouiThe agency (partner) workspace ID.
userIdstringouiThe agency staff member to assign.
businessIdstringouiThe client business to grant access to.
businessRoleenum: "admin" | "member"ouiBusiness role to grant: admin or member.

agency_profile_unassign

Remove Staff Member from Client

Removes a staff member's agency assignment to one client business, and removes the business membership if this assignment created it. Requires an agency owner or admin; only the owner can unassign an admin. It does not remove the person from the agency.

ParamètreTypeRequisDescription
partnerIdstringouiThe agency (partner) workspace ID.
userIdstringouiThe agency staff member to unassign.
businessIdstringouiThe client business to remove access from.

agency_profile_revoke_member

Remove Agency Team Member

Removes a staff member from the agency: revokes their membership, all their client assignments, their accepted invites and every API key issued to them through the agency. Requires an agency owner or admin; only the owner can remove an admin, and the owner cannot be removed.

ParamètreTypeRequisDescription
partnerIdstringouiThe agency (partner) workspace ID.
userIdstringouiThe staff member to remove.

agency_profile_issue_key

Issue Agency API Key

Creates a new API key for yourself in this agency, limited to the requested scopes, and returns the secret once. Readers cannot get write scopes, only the agency owner can get billing:write, and a delegated key cannot issue a key broader than itself. Each call creates another key (up to 20 active per user).

ParamètreTypeRequisDescription
partnerIdstringouiThe agency (partner) workspace ID.
namestringouiA label for the key.
scopesarray<string>ouiScopes to grant, from the supported agency set (for example workspaces:read, agents:write, billing:read).

agency_offer_save

Save Agency Offer Draft

Creates a new offer draft, or replaces an existing draft when offerId and its current revision are given. Requires an agency owner or admin. Saving changes only the draft; clients see nothing until it is published.

ParamètreTypeRequisDescription
partnerIdstringouiThe agency (partner) workspace ID.
offerIdstringnonExisting offer to update. Without it, a new draft is created.
expectedRevisionstringnonCurrent draft revision; required when offerId is given.
draftobjectouiThe offer: name, industry, commercial mode, retail price and scope, 1-3 packages, supported claims, support policy and the branding-limitations acknowledgement.

agency_offer_preview

Preview Agency Offer

Builds the publishable manifest and sales kit for an offer draft and returns its fingerprint and revision for publishing. Requires an agency owner or admin. It saves nothing and fails if a package release, variant or claim is not supported.

ParamètreTypeRequisDescription
partnerIdstringouiThe agency (partner) workspace ID.
offerIdstringouiThe offer draft to preview.

agency_offer_publish

Publish Agency Offer

Publishes the previewed offer as a new immutable version and returns its enrollment link. Requires an agency owner or admin, plus the fingerprint and revision from preview; partner-billed offers also need billing collection to be ready. Publishing the same fingerprint again returns the existing version.

ParamètreTypeRequisDescription
partnerIdstringouiThe agency (partner) workspace ID.
offerIdstringouiThe offer to publish.
expectedRevisionstringouiThe draft revision returned by preview.
fingerprintstringouiThe manifest fingerprint returned by preview.

agency_offer_archive

Archive Agency Offer

Archives an offer so it can no longer be published or used for new enrollments. Requires an agency owner or admin and the current offer revision. Existing installations are not removed.

ParamètreTypeRequisDescription
partnerIdstringouiThe agency (partner) workspace ID.
offerIdstringouiThe offer to archive.
expectedRevisionstringouiThe offer revision you last read.

agency_enrollment_start_self_service

Start Self-Service Enrollment

Starts a business owner's own enrollment in a published agency offer, using the business name and intake facts. Requires a signed-in user session with a verified email and an idempotency key; the same key replays the same session. Nothing is installed until the owner approves and finishes.

ParamètreTypeRequisDescription
offerVersionIdstringouiThe published offer version to enroll in.
namestringouiThe business name.
factsobjectouiIntake facts: business profile, hours, qualification questions, routing, fallback, booking, FAQs and reporting.
idempotencyKeystringnonStable key for this request; reuse it when retrying the same request.

agency_enrollment_finish_self_service

Finish Self-Service Enrollment

Completes a self-service enrollment after the owner has approved the current intake: creates the client business and queues its package installations, which later configure the business's voice agent. Only the owner who started it can finish it. Repeating it returns the recorded result.

ParamètreTypeRequisDescription
partnerIdstringouiThe agency (partner) workspace ID.
sessionIdstringouiThe owner's enrollment session.
idempotencyKeystringnonStable key for this request; reuse it when retrying the same request.

agency_enrollment_owner_save

Save Owner Intake Facts

Lets the client owner replace the intake facts on their own enrollment link. Requires the owner who claimed the link and the session's current revision. Saving clears any earlier owner approval, so the owner must approve again.

ParamètreTypeRequisDescription
partnerIdstringouiThe agency (partner) workspace ID.
sessionIdstringouiThe owner's enrollment session.
expectedRevisionstringouiThe session revision you last read.
factsobjectouiThe full replacement intake facts.
idempotencyKeystringnonStable key for this request; reuse it when retrying the same request.

agency_enrollment_create

Create Client Enrollment Batch

Creates an enrollment session for 1-50 existing or new clients against a published offer version and returns one owner approval link per new client. Requires an agency owner, admin or operator with access to each existing client, and an idempotency key; a replay returns the session without the links. It sends no email and installs nothing.

ParamètreTypeRequisDescription
partnerIdstringouiThe agency (partner) workspace ID.
offerVersionIdstringouiThe published offer version to enroll clients in.
entriesarray<object>ouiOne entry per client: either businessId (existing client) or newClient (name, externalRef, ownerEmail), plus expectedRevision and intake facts.
ownerEmailstringnonOptional default owner email.
idempotencyKeystringnonStable key for this request; reuse it when retrying the same request.

agency_enrollment_save

Save Client Enrollment Batch

Replaces the client entries of an uncommitted enrollment session. Requires the session creator (or an agency owner/admin) and the current session revision. Saving revokes all outstanding owner approval links for the batch, so owners must be sent new links.

ParamètreTypeRequisDescription
partnerIdstringouiThe agency (partner) workspace ID.
sessionIdstringouiThe enrollment session.
expectedRevisionstringouiThe session revision you last read.
entriesarray<object>ouiThe full replacement list of client entries.
idempotencyKeystringnonStable key for this request; reuse it when retrying the same request.

agency_enrollment_preview

Preview Client Enrollment

Checks every client in the batch for missing facts, owner approval and payer conflicts, and returns what enrolling would install, with the fingerprint and approval IDs needed to enroll. Requires an agency owner, admin or operator. It records the preview on the session but installs nothing.

ParamètreTypeRequisDescription
partnerIdstringouiThe agency (partner) workspace ID.
sessionIdstringouiThe enrollment session to preview.
idempotencyKeystringnonStable key for this request; reuse it when retrying the same request.

agency_enrollment_enroll

Enroll Clients in Offer

Commits the previewed batch: creates new client businesses, records owner approvals and queues package installations for every ready client; installations later configure each client voice agent. Requires an agency owner, admin or operator who created the session, its idempotency key, and the fingerprint and revision from preview. Clients that are not ready are reported with their next step instead of being installed.

ParamètreTypeRequisDescription
partnerIdstringouiThe agency (partner) workspace ID.
sessionIdstringouiThe enrollment session to commit.
expectedRevisionstringouiThe session revision returned by preview.
fingerprintstringouiThe fingerprint returned by preview.
approvalIdsarray<string>ouiThe approval IDs returned by preview for existing clients.
idempotencyKeystringnonStable key for this request; reuse it when retrying the same request.

agency_enrollment_claim_owner

Claim Owner Enrollment Link

Links the signed-in client owner to their enrollment link using its token. The user's verified email must match the owner email on the link. It approves nothing.

ParamètreTypeRequisDescription
partnerIdstringouiThe agency (partner) workspace ID.
sessionIdstringouiThe owner's enrollment session from the link.
tokenstringouiThe token from the owner link.
idempotencyKeystringnonStable key for this request; reuse it when retrying the same request.

agency_enrollment_approve_owner

Approve Owner Enrollment

Records the client owner's approval of the exact offer and intake facts on their enrollment link. Requires the owner who claimed the link, the session's current revision and its fingerprint. It does not enroll; the agency still enrolls the batch.

ParamètreTypeRequisDescription
partnerIdstringouiThe agency (partner) workspace ID.
sessionIdstringouiThe owner's enrollment session.
expectedRevisionstringouiThe session revision you last read.
fingerprintstringouiThe session's request fingerprint you reviewed.
idempotencyKeystringnonStable key for this request; reuse it when retrying the same request.

agency_enrollment_rotate_owner_link

Replace Owner Enrollment Link

Issues a new owner link for a client in the batch and invalidates the old one, clearing any earlier claim and approval. Requires the session creator (or an agency owner/admin) and the link's current revision. It sends nothing; the returned link is delivered by whoever re-issued it.

ParamètreTypeRequisDescription
partnerIdstringouiThe agency (partner) workspace ID.
sessionIdstringouiThe owner's enrollment session to re-issue.
expectedRevisionstringouiThe session revision you last read.
idempotencyKeystringnonStable key for this request; reuse it when retrying the same request.

agency_enrollment_revoke

Revoke Enrollment Session

Revokes an enrollment session and all of its owner links so nothing more can be approved or enrolled from it. Requires the session creator or an agency owner/admin. Installations that were already enrolled are not removed.

ParamètreTypeRequisDescription
partnerIdstringouiThe agency (partner) workspace ID.
sessionIdstringouiThe enrollment session to revoke.
idempotencyKeystringnonStable key for this request; reuse it when retrying the same request.

agency_installation_preview_route_receipt

Preview Route Test Receipt

Returns the evidence that a real call reached the client's voice line and produced a delivered lead notification, with a fingerprint for acknowledgement. Only for voice intake installations whose training is complete, and only the client owner who received that notification can view it. It changes nothing.

ParamètreTypeRequisDescription
partnerIdstringouiThe agency (partner) workspace ID.
installationIdstringouiThe agency package installation to act on.
expectedRevisionstringouiThe installation revision you last read. The call is rejected if the installation has changed since.
fingerprintstringnon

agency_installation_approve_route_receipt

Acknowledge Route Test Receipt

Records the client owner acknowledging the route test receipt they reviewed. Requires the client owner who received the notification and the fingerprint from preview_route_receipt. It does not place any call.

ParamètreTypeRequisDescription
partnerIdstringouiThe agency (partner) workspace ID.
installationIdstringouiThe agency package installation to act on.
expectedRevisionstringouiThe installation revision you last read. The call is rejected if the installation has changed since.
fingerprintstringnonThe fingerprint returned by the matching preview action.

agency_installation_preview_handoff

Preview Staff Handoff

Returns the staff handoff for an installation with a fingerprint for approval. Requires client membership or agency assignment to the client. It changes nothing.

ParamètreTypeRequisDescription
partnerIdstringouiThe agency (partner) workspace ID.
installationIdstringouiThe agency package installation to act on.
expectedRevisionstringouiThe installation revision you last read. The call is rejected if the installation has changed since.
fingerprintstringnon

agency_installation_approve_handoff

Approve Staff Handoff

Records the client owner approving the exact staff handoff they reviewed. Requires the client owner and the fingerprint from preview_handoff.

ParamètreTypeRequisDescription
partnerIdstringouiThe agency (partner) workspace ID.
installationIdstringouiThe agency package installation to act on.
expectedRevisionstringouiThe installation revision you last read. The call is rejected if the installation has changed since.
fingerprintstringnonThe fingerprint returned by the matching preview action.

agency_installation_resolve_update

Resolve Update Conflicts

Chooses, for each conflicting setting in a proposed package update, whether to keep the client's current value or use the package value, and saves the resolved update. Requires the client owner and the update's fingerprint; client facts cannot be overridden this way. It does not apply the update, and the resolved version needs fresh owner approval.

ParamètreTypeRequisDescription
partnerIdstringouiThe agency (partner) workspace ID.
installationIdstringouiThe agency package installation to act on.
expectedRevisionstringouiThe installation revision you last read. The call is rejected if the installation has changed since.
updateIdstringouiThe proposed update returned by preview_update.
fingerprintstringouiThe fingerprint of the proposed update.
choicesobjectouiFor every conflict path listed by preview_update: keep_client or use_package.

agency_installation_run_scenarios

Run Installation Test Scenarios

Run approved verification scenarios for an existing client installation at its expected revision using voice agent compute under existing entitlement. Requires current assigned client authority, current owner approval and evals:write. Saves test evidence and can incur irreversible usage charges; a new request key can run and charge again. Makes no real customer calls.

ParamètreTypeRequisDescription
partnerIdstringouiThe agency (partner) workspace ID.
installationIdstringouiThe agency package installation to act on.
expectedRevisionstringouiThe installation revision you last read. The call is rejected if the installation has changed since.
requestIdstringouiA stable ID for this run; reuse it to continue the same run.

agency_installation_owner_preview

Preview Client Facts and Script

Shows the client owner the exact intake facts and voice script prepared for their business, with the hashes needed to approve each. Only the client owner can view it, and only after the agency prepared a complete preview. It changes nothing.

ParamètreTypeRequisDescription
partnerIdstringouiThe agency (partner) workspace ID.
businessIdstringouiThe owner's business.
sessionIdstringouiThe agency enrollment session that prepared the preview.

agency_installation_approve

Approve Client Facts or Script

Records the client owner approving either the intake facts or the voice script they reviewed. Requires the client owner and the matching hash from owner_preview. It does not install anything by itself.

ParamètreTypeRequisDescription
partnerIdstringouiThe agency (partner) workspace ID.
businessIdstringouiThe owner's business.
sessionIdstringouiThe agency enrollment session that prepared the preview.
subjectenum: "facts" | "script"ouiWhat is being approved: facts or script.
subjectHashstringouiThe factsHash or scriptHash returned by owner_preview.

agency_installation_revoke_approval

Revoke Client Approval

Withdraws one of the client owner's earlier approvals. Requires the client owner. Work that depends on that approval waits until it is approved again.

ParamètreTypeRequisDescription
partnerIdstringouiThe agency (partner) workspace ID.
businessIdstringouiThe owner's business.
approvalIdstringouiThe approval to withdraw.

agency_installation_pause

Pause Installation

Pauses an installation so its package setup and scheduled package work stop. Requires agency write access to the client or the client owner, and the current revision. It does not delete anything; use retry to queue it again.

ParamètreTypeRequisDescription
partnerIdstringouiThe agency (partner) workspace ID.
installationIdstringouiThe agency package installation to act on.
expectedRevisionstringouiThe installation revision you last read. The call is rejected if the installation has changed since.
fingerprintstringnon
acceptedbooleannon

agency_installation_retry

Retry Installation

Re-queues an installation so setup runs again, clearing its last error; setup configures the client's voice agent. Requires agency write access to the client or the client owner, and the current revision.

ParamètreTypeRequisDescription
partnerIdstringouiThe agency (partner) workspace ID.
installationIdstringouiThe agency package installation to act on.
expectedRevisionstringouiThe installation revision you last read. The call is rejected if the installation has changed since.
fingerprintstringnon
acceptedbooleannon

agency_installation_export

Export Installation Configuration

Returns the installation release, intake facts, approved script, staff sheet and checks for handoff or records. Requires client membership or agency assignment to the client. It changes nothing.

ParamètreTypeRequisDescription
partnerIdstringouiThe agency (partner) workspace ID.
installationIdstringouiThe agency package installation to act on.
expectedRevisionstringouiThe installation revision you last read. The call is rejected if the installation has changed since.
fingerprintstringnon
acceptedbooleannon

agency_installation_preview_offboard

Preview Installation Offboarding

Shows what offboarding would stop and what it keeps (phone number, sender, connections, billing plan and history), with a fingerprint for approval. Only the client owner can view it. It changes nothing.

ParamètreTypeRequisDescription
partnerIdstringouiThe agency (partner) workspace ID.
installationIdstringouiThe agency package installation to act on.
expectedRevisionstringouiThe installation revision you last read. The call is rejected if the installation has changed since.
fingerprintstringnon
acceptedbooleannon

agency_installation_offboard

Offboard Installation

Starts offboarding: stops the package's jobs, revokes its future automation authority and turns off its scheduled reports. Requires the client owner, accepted set to true and the fingerprint from preview_offboard. The phone number, connections, billing plan and history are kept.

ParamètreTypeRequisDescription
partnerIdstringouiThe agency (partner) workspace ID.
installationIdstringouiThe agency package installation to act on.
expectedRevisionstringouiThe installation revision you last read. The call is rejected if the installation has changed since.
fingerprintstringnonThe fingerprint returned by the matching preview action.
acceptedbooleannonMust be true to confirm the owner accepts the previewed effects.

agency_installation_preview_update

Preview Installation Update

Prepares a proposed update to a newer published offer version, or a rollback to an earlier installation revision, and lists any conflicts with client changes. Requires agency write access to the client or the client owner. It saves the proposal for review but does not apply it; client facts are always kept.

ParamètreTypeRequisDescription
partnerIdstringouiThe agency (partner) workspace ID.
installationIdstringouiThe agency package installation to act on.
expectedRevisionstringouiThe installation revision you last read. The call is rejected if the installation has changed since.
offerVersionIdstringnonPublished offer version to update to. Either this or rollbackRevision is required.
rollbackRevisionstringnonEarlier installation revision to roll back to.

agency_installation_approve_update

Approve Installation Update

Records the client owner approving the updated script of a proposed update. Requires the client owner, the updateId and its fingerprint. It does not apply the update.

ParamètreTypeRequisDescription
partnerIdstringouiThe agency (partner) workspace ID.
installationIdstringouiThe agency package installation to act on.
expectedRevisionstringouiThe installation revision you last read. The call is rejected if the installation has changed since.
updateIdstringouiThe proposed update.
fingerprintstringouiThe fingerprint of the proposed update.

agency_installation_apply_update

Apply Installation Update

Applies an approved update and re-queues setup, which replaces the client's live voice agent configuration. Requires agency write access or the client owner, a resolved update with no open conflicts, fresh owner approval, and (unless this client is the canary) an active canary on the same release. Applying an already-applied update changes nothing.

ParamètreTypeRequisDescription
partnerIdstringouiThe agency (partner) workspace ID.
installationIdstringouiThe agency package installation to act on.
expectedRevisionstringouiThe installation revision you last read. The call is rejected if the installation has changed since.
updateIdstringouiThe approved update to apply.
fingerprintstringouiThe fingerprint of the approved update.

agency_installation_opt_into_canary

Opt Installation into Canary

Marks the client's installation as a canary, so it can receive package updates before other clients of the same agency. Requires the client owner and accepted set to true. It applies no update by itself.

ParamètreTypeRequisDescription
partnerIdstringouiThe agency (partner) workspace ID.
installationIdstringouiThe agency package installation to act on.
expectedRevisionstringouiThe installation revision you last read. The call is rejected if the installation has changed since.
acceptedbooleanouiMust be true to confirm the owner opts in.

agency_report_generate

Generate Activity Report

Generate and save an activity report snapshot for an existing client installation at its expected revision. Requires current client membership and agency access. Queues report email for due owner-approved subscriptions to existing verified client members and advances their schedule; queued does not mean delivered.

ParamètreTypeRequisDescription
partnerIdstringouiThe agency (partner) workspace ID.
installationIdstringouiThe agency package installation to act on.
expectedRevisionstringouiThe installation revision you last read. The call is rejected if the installation has changed since.

agency_report_configure

Schedule Activity Report Emails

Sets the weekly or monthly activity report email schedule for an installation and replaces the previous recipient list. Requires the client owner; recipients must be verified members of the client's business. The first report is sent by the scheduled job, not by this call.

ParamètreTypeRequisDescription
partnerIdstringouiThe agency (partner) workspace ID.
installationIdstringouiThe agency package installation to act on.
expectedRevisionstringouiThe installation revision you last read. The call is rejected if the installation has changed since.
recipientsarray<string>ouiUser IDs (1-20) of verified business members who should receive the report.
cadenceenum: "weekly" | "monthly"ouiweekly or monthly.

agency_billing_record_adjustment

Record Billing Adjustment

Record an already-issued provider credit note or debit invoice against an existing agency billing line. Platform finance operators only: requires the existing admin key and wildcard scope; agency owner status is insufficient. Verifies exact provider receipt, currency and amount before recording bookkeeping. Creates no invoice, payment or subscription.

ParamètreTypeRequisDescription
partnerIdstringouiThe agency (partner) workspace ID.
lineIdstringouiThe billing line to correct.
amountCentsintegerouiCorrection in cents: negative for a credit, positive for a debit; not zero.
reasonstringouiWhy the correction is made.
providerCreditNoteIdstringnonProvider credit note ID; required for a credit.
providerDebitInvoiceIdstringnonProvider invoice ID; required for a debit.

agency_billing_set_plan

Set Client Partner Plan

Puts a partner-created client on an agency-billed plan, or stops it when plan is null. Requires the agency owner who is also a client admin; starting a plan needs accepted terms and a ready collection method. Stopping parks the client service, which detaches its phone numbers from the voice agent under the existing parking policy.

ParamètreTypeRequisDescription
partnerIdstringouiThe agency (partner) workspace ID.
businessIdstringouiThe partner-created client business.
planstring | nullouiA partner plan key, or null to stop the client plan.

agency_billing_set_automatic_collection

Set Automatic Collection

Turns monthly automatic collection of wholesale charges on or off under the accepted terms. Requires the agency owner and accepted terms; it cannot be turned off while any client is on an active partner plan. It charges nothing by itself.

ParamètreTypeRequisDescription
partnerIdstringouiThe agency (partner) workspace ID.
acceptedbooleanouitrue to authorize automatic monthly collection, false to stop it.

agency_billing_publish_terms

Publish Wholesale Terms

Publishes a new set of wholesale commercial terms (discount, grace days, document and start date) for one agency, or for all agencies when partnerId is null. Platform commercial operators only. Each call publishes another version; agencies must still accept it.

ParamètreTypeRequisDescription
partnerIdstring | nullouiThe agency (partner) workspace ID.
titlestringouiName of the terms.
discountBpsintegerouiWholesale discount in basis points (100 = 1%).
graceDaysintegerouiDays allowed for payment before collection is overdue.
documentstringouiThe full terms text.
effectiveFromstringouiWhen the terms take effect (ISO date-time).

agency_billing_accept_terms

Accept Wholesale Terms

Accepts published wholesale terms for the agency and applies their discount. Requires the agency owner, and the terms must be in effect and apply to this agency. It charges nothing and doesn't set up payment.

ParamètreTypeRequisDescription
partnerIdstringouiThe agency (partner) workspace ID.
termsIdstringouiThe published terms to accept.

agency_billing_setup_collection

Set Up Wholesale Payment Method

Creates the agency's customer record at the payment provider if needed and returns a hosted link where the owner adds a payment method. Requires the agency owner and accepted terms. It charges nothing, and the method is ready only after the provider confirms it.

ParamètreTypeRequisDescription
partnerIdstringouiThe agency (partner) workspace ID.
offerIdstringnonOptional offer to return to after setup.

agency_billing_freeze_period

Freeze Wholesale Billing Period

Calculates and locks the wholesale statement for one closed calendar month (UTC) from the agency's billable client intervals. Requires the agency owner. Freezing the same month again returns the same period; it does not charge.

ParamètreTypeRequisDescription
partnerIdstringouiThe agency (partner) workspace ID.
startstringouiFirst instant of the closed UTC month (ISO date-time).
endstringouiFirst instant of the following UTC month (ISO date-time).

agency_care_preview_review

Preview Review Request Texts

Shows the exact review-request text, sender number and recipients for customers with a completed service, with a fingerprint for approval. Requires the client owner, the sms:write scope, and an SMS review installation where Kai is confirmed as the review tool. It sends nothing and saves nothing.

ParamètreTypeRequisDescription
partnerIdstringouiThe agency (partner) workspace ID.
installationIdstringouiThe agency package installation to act on.
expectedRevisionstringouiThe installation revision you last read. The call is rejected if the installation has changed since.
fromNumberstringouiThe business number to send from (E.164).
milestonesarray<object>ouiOne completed-service record per customer: leadId, completedAt and an evidence reference.
minimumDaysintegerouiMinimum days (7-365) since a customer was last asked before they can be asked again.
fingerprintstringnon
campaignIdstringnon
acceptedbooleannon

agency_care_prepare_review

Prepare Review Request Campaign

Saves the approved review-request texts as a draft campaign and reserves the listed customers. Requires the client owner, the sms:write scope, accepted set to true and the fingerprint from preview_review. It sends nothing; launch_review sends it.

ParamètreTypeRequisDescription
partnerIdstringouiThe agency (partner) workspace ID.
installationIdstringouiThe agency package installation to act on.
expectedRevisionstringouiThe installation revision you last read. The call is rejected if the installation has changed since.
fromNumberstringouiThe business number to send from (E.164).
milestonesarray<object>ouiThe same milestones used in preview_review.
minimumDaysintegerouiThe same minimumDays used in preview_review.
fingerprintstringnonThe fingerprint returned by preview_review.
campaignIdstringnon
acceptedbooleannonMust be true to confirm the owner approves the exact texts and recipients.

agency_care_launch_review

Send Review Request Texts

Launches the approved review-request campaign, queuing text messages to the listed customers from the business number. Requires the client owner, the sms:write scope, accepted set to true and the fingerprint from preview_review. A campaign that is already sending can't be launched again.

ParamètreTypeRequisDescription
partnerIdstringouiThe agency (partner) workspace ID.
installationIdstringouiThe agency package installation to act on.
expectedRevisionstringouiThe installation revision you last read. The call is rejected if the installation has changed since.
fromNumberstringouiThe business number to send from (E.164).
milestonesarray<object>ouiThe same milestones used in preview_review.
minimumDaysintegerouiThe same minimumDays used in preview_review.
fingerprintstringnonThe fingerprint returned by preview_review.
campaignIdstringnonOptional campaign ID returned by prepare_review, checked for a match.
acceptedbooleannonMust be true to confirm the owner approves sending.

agency_support_acknowledge

Acknowledge Agency Incident

Marks an agency incident as acknowledged and assigns its follow-up to you. Requires an agency owner, admin or operator. It does not resolve the incident; recovery is confirmed separately.

ParamètreTypeRequisDescription
partnerIdstringouiThe agency (partner) workspace ID.
incidentIdstringouiThe incident to acknowledge.

agency_support_measure

Record Agency Work Measurement

Records time spent or money for one client (setup, support, fulfillment, provider cost or retail receipt) with a note. Requires an agency owner, admin or operator with write access to that client. Each call adds a new record.

ParamètreTypeRequisDescription
partnerIdstringouiThe agency (partner) workspace ID.
businessIdstringouiThe client business the measurement is for.
kindenum: "setup" | "support" | "fulfillment" | "provider_cost" | "retail_receipt"ouisetup, support, fulfillment, provider_cost or retail_receipt.
minutesintegernonMinutes spent, if measuring time.
amountCentsintegernonAmount in US cents, if measuring money.
notestringouiShort description of the work or amount.

agency_support_complete_exercise

Complete Training Exercise

Save completion evidence for a named operational exercise on an existing client installation. Requires current assigned client authority. Replaces any previous proof reference and completion time for that exercise; does not prove live customer delivery.

ParamètreTypeRequisDescription
partnerIdstringouiThe agency (partner) workspace ID.
installationIdstringouiThe installation the exercise was done on.
exerciseenum: "verify_launch" | "handle_failure" | "report_activity" | "export_handoff"ouiverify_launch, handle_failure, report_activity or export_handoff.

agency_clients_set_client_alerts

Set A Client's Lead Alerts

Changes one client's lead alerts: every lead or qualified leads only, whether the client gets KaiCalls product updates, and which emails and phones get the alerts. Requires write access to that client (agency owner/admin, or an operator assigned to it, who is also an admin on the client's account). Recorded in the client's change history. Sends nothing.

ParamètreTypeRequisDescription
partnerIdstringouiThe agency (partner) workspace ID.
businessIdstringouiThe client business to change.
leadAlertsenum: "all" | "qualified" | "default"non'qualified' (only leads scored 70 or more), 'all' (every real lead) or 'default'.
kaicallsUpdatesEnabledboolean | nullnonWhether the client gets KaiCalls product and account updates; null for the default.
alertEmailsstring | nullnonComma-separated emails that get lead alerts; empty or null clears them.
alertPhonesstring | nullnonComma-separated phones that get lead alert texts; empty or null clears them.

agency_clients_set_client_profile

Set What Clients See About You

Sets who your clients should contact about their line and one or two sentences on how you work with them. Shown in every client's dashboard. Requires an agency owner or admin. Sends nothing.

ParamètreTypeRequisDescription
partnerIdstringouiThe agency (partner) workspace ID.
clientSupportContactstring | nullnonEmail or phone your clients should use; null clears it.
clientRelationshipNotestring | nullnonHow you work with your clients, up to 600 characters; null clears it.

agency_clients_set_activity_alerts

Set Your Client Activity Alerts

Chooses which client activity you hear about (qualified leads, a caller texted one of a client's links, a client needing attention) and where those alerts go. With no emails set, alerts go to the agency owners. Requires an agency owner or admin. Changes future alerts only.

ParamètreTypeRequisDescription
partnerIdstringouiThe agency (partner) workspace ID.
emailsarray<string>nonUp to 5 emails for the alerts; an empty list sends them to the agency owners.
phonestring | nullnonA phone that also gets the alerts by text; null stops the texts.
eventsobjectnonOn/off switches: qualified_lead, business_link_sent, client_needs_attention.

get_agency_workspace

Read agency workspace

Read assigned installations, grouped support incidents, accepted billing evidence (also billing:read), your clients (line, last 7 days of calls and qualified leads, each client's alert settings, what clients see about you and your own client-activity alerts), or inventory one authorized client's saved facts and actual channel readiness. Suggestions and unknowns remain explicit.

ParamètreTypeRequisDescription
resourceenum: "installations" | "support" | "billing" | "discovery" | "clients"oui
partnerIdstringoui
businessIdstringnon
afterstringnon

request_extra_number

Review an Extra Number

Reserve an exact pool number and request an owner-only browser review of its recurring extra-line price. Requires numbers:write and billing:write. It never charges included or prepaid capacity; included allocation goes through attach_number. This tool does not approve payment or prove activation.

ParamètreTypeRequisDescription
business_idstringoui
agent_idstringoui
phone_numberstringoui
idempotency_keystringoui

get_extra_number_status

Get Extra Number Request Status

Read an owner-authorized extra-number request. Billing, assignment and live activation are distinct. Unknown checkout or provider outcomes retain the original request and number, so no replacement purchase is needed or started.

ParamètreTypeRequisDescription
business_idstringoui
request_idstringoui

retry_setup

Reconcile Existing Setup

Reconcile database pointers for an existing imported signup phone reservation. Owner-only, entitlement-checked, single-flight and idempotent. Never creates agents, buys numbers, changes provider routing or sends messages. PBX, missing imports, and stale claims return review blockers. Reusing the same key reads or replays the outcome; a failed request is held for review before a new key is accepted. Ready means database agreement, not activation.

ParamètreTypeRequisDescription
business_idstringoui
agent_idstringoui
idempotency_keystringoui

get_setup_recovery_status

Get Setup Recovery Status

Read an owner-authorized setup recovery request by its business and idempotency key. Running requests are never automatically stolen, including stale requests. A ready receipt does not prove live activation.

ParamètreTypeRequisDescription
business_idstringoui
idempotency_keystringoui

make_call

Make Call

Place an outbound call through a KaiCalls AI agent: call back a customer who previously called this business, give the owner a voice preview, or call on the owner's behalf (a landlord, clinic, pharmacy, school or utility) with the task in context. For a customer callback, pass the existing lead_id and callback goal in context. Kai verifies the business's inbound-call consent for the exact destination; a verified callback can go directly to a cell phone without connecting the owner. Contact existence alone is not callback permission, and opt-outs still block calls. A call never proves inbound routing or advances activation. report_language sets the language the result is reported in, and Kai then confirms exact details for that reader; Kai speaks call_language (English by default) on the phone. A new account's first call to a US or Canada business line is free; after that the account needs a plan. Kai calls businesses, not personal cell phones, on a free call. To a number in a state where everyone on a call must know it is recorded, Kai's first words are that the call is recorded. For a business that answers on a cell phone, connect_me has Kai ring the person's own saved phone and connect them, so they do the talking. While the call runs, check_call_status shows its live_transcript and send_call_note steers Kai. hold_for_me has Kai wait on hold at a business and connect the person when someone answers. An idempotency_key makes the request safely retryable. Only `to` is requir…

ParamètreTypeRequisDescription
agent_idstringnonKaiCalls agent ID to use for the call (optional). Leave it out when the account has one agent: Kai uses that one. With several agents and none named, no call is placed and the answer lists them
tostringouiPhone number to call (E.164 format, e.g. +19085551234)
namestringnonCaller/lead name (optional)
contextstringnonCall context or reason (optional)
first_messagestringnonOverride the agent greeting message (optional)
lead_idstringnonExisting lead ID to associate (optional)
call_languageenum: "en" | "es"nonLanguage Kai speaks on the call (optional, default en)
report_languagestringnonLanguage the person asking reads, as a code or name (e.g. ar, ht, tr, bn, es, zh, vi). Kai confirms names, dates and numbers so the result can be relayed in this language (optional)
idempotency_keystringnonClient-chosen key that makes this call exactly-once: retries with the same key never place a second call (optional but recommended)
external_refstringnonYour own reference for the conversation or task this call belongs to (up to 200 characters, optional). It comes back unchanged on check_call_status and on every webhook event for this call (call.question_pending, call.completed), so your agent can return the result to the right conversation.
connector_activation_callbooleannonTrue only for the one-time connector activation call the recipient explicitly requested in this conversation. This is not permission for marketing, SMS, or future calls.
listen_onlybooleannonTrue to only listen: Kai calls a business, stays silent, records what answers (voicemail, answering service, phone menu or no answer) and hangs up within about 75 seconds without leaving a message. Takes no lead_id; context is ignored. Not available to numbers in states where everyone on a call mus…
connect_mebooleannonTrue when the person wants to talk to `to` themselves, for example a business that answers on a cell phone: Kai rings the person's own phone saved on the account (set_owner_phone), says one line and connects them to `to`. Kai never speaks to `to`. Takes no lead_id and cannot be listen-only (optiona…
caller_idenum: "own" | "business_line"nonWhich number the other side sees (optional). 'own' shows the person's own verified number (start_own_caller_id) so they recognize who is calling; with none verified, no call is placed. 'business_line' shows the KaiCalls line. Left out, the account's saved choice applies. A free first call always sh…
hold_for_mebooleannonTrue when the person wants Kai to wait on hold for them: Kai calls `to`, gets through the phone menu and hold queue, and the moment a live person answers, says one line and connects the person's own phone saved on the account (set_owner_phone) so they do the talking. If they don't pick up, Kai does…

check_call_status

Check Call Status

Check the status of a call by its ID: while it is live, the latest turns of the conversation (live_transcript) and any question Kai is waiting on (pending_question); after, a voicemail message left, or the business calling back. Also takes the intent_id of a call scheduled for calling hours and says when it goes out

ParamètreTypeRequisDescription
call_idstringouiThe call ID to check, or the intent_id make_call returned for a scheduled call

answer_call_question

Answer Call Question

Send the person's answer to a live call's pending_question, or decline. Send only what they said; answered once.

ParamètreTypeRequisDescription
call_idstringouiThe KaiCalls call ID from make_call
question_idstringnonThe pending_question.question_id to answer (optional; defaults to the oldest open question)
answerstringnonThe person's answer, in their words (required unless decline is true)
declinebooleannonTrue when the person does not want to share this (optional)

send_call_note

Send Call Note

Send Kai a short note on a live call it is making for the person, to steer it: a detail to mention, a question to add, a preference. Kai uses it on its next turn without reading it out. It never overrides Kai's honesty and disclosure rules. Up to 10 notes a call.

ParamètreTypeRequisDescription
call_idstringouiThe KaiCalls call ID from make_call
notestringouiWhat Kai should know or do, in one or two sentences (up to 500 characters)

join_call

Join Call

Join a live errand call. take_over connects the person's own phone; listen returns a signed-in dashboard link.

ParamètreTypeRequisDescription
call_idstringouiThe KaiCalls call ID from make_call
modeenum: "take_over" | "listen"ouitake_over rings the person and connects them; listen returns a dashboard link

list_recent_calls

List Recent Calls

List and search the business's calls, newest first, each with who called (when known) and a short summary of what they wanted. Search by caller phone, by words in the call summary ("water heater", "quote"), and by date window; filters combine. Use get_transcript for the full call.

ParamètreTypeRequisDescription
phonestringnonOnly this caller: any phone format; matches on the last 10 digits (optional).
querystringnonWords to find in the call summary, e.g. "water heater" (optional).
afterstringnonOnly items at or after this ISO-8601 date or time (optional).
beforestringnonOnly items before this ISO-8601 date or time (optional).
limitintegernonMax results to return (default 20, max 100)
offsetintegernonZero-based pagination offset (default 0)
agent_idstringnonFilter by agent ID (optional)
statusstringnonFilter by status (optional)

get_transcript

Get Transcript

Get the transcript and summary of a completed call, plus its insights: Kai's lead score for the call, the caller's sentiment, the intake answers collected, who did the talking, and the lead journey (channel, landing page, first contact, number of calls).

ParamètreTypeRequisDescription
call_idstringouiThe call ID to get the transcript for

get_coaching

Get Coaching

Coach the business's agent. With call_id: what the agent did well and what to change on that call, each point with the caller's or agent's exact words, the second it happened, and a one-line rule that would fix it (teach it with teach_coaching_rule). Without call_id: the agent's recurring habits across recent calls (how often, example calls, and whether a rule taught for it has worked). Read-only.

ParamètreTypeRequisDescription
call_idstringnonCoach one call. Omit for habits across calls.
business_idstringnonBusiness ID. Required when the key can reach more than one business.
agent_idstringnonHabits for one agent only (optional).
daysintegernonWindow for habits, in days (default 30).

teach_coaching_rule

Teach Coaching Rule

Teach the agent one rule from a coaching point on a call (get_coaching gives the code and a suggested rule). The rule is added to a Coaching rules section of the agent's instructions through the governed update path, so it is versioned, in change history and can be rolled back; a business owner or admin signed in through this connector applies it right away, otherwise it waits for the owner. Then a test is built from that call and run, and the result says whether the agent now follows the rule.

ParamètreTypeRequisDescription
call_idstringouiThe call the coaching point is on.
codestringouiThe coaching point code from get_coaching.
rulestringouiOne plain instruction the agent should follow on every call (8-300 characters). Usually the suggested rule from get_coaching.
business_idstringnonBusiness ID. Required when the key can reach more than one business.

share_call_example

Share Call Example

Owner only: publish a finished errand call as a redacted transcript example (no audio, business shown as a category). Call once for a preview, show it, then confirm with its preview_hash.

ParamètreTypeRequisDescription
call_idstringouiThe finished errand call to share
business_categoryenum: "business" | "cable_internet" | "phone_carrier" | "utility" | "insurance" | "bank" | "pharmacy" | "doctor" …nonWhat kind of business was called, shown instead of its name (default business)
errandenum: "lower-a-bill" | "cancel-a-subscription" | "prescription" | "book-an-appointment" | "get-a-quote"nonThe kind of errand, if one fits (optional)
titlestringnonShort title in the owner’s words, 120 characters or fewer. Personal details are removed (optional)
outcomestringnonWhat happened, in the owner’s words, 600 characters or fewer. Defaults to the call summary (optional)
confirmbooleannonTrue only after the owner has seen the preview and asked to publish it. Without it nothing is published.
preview_hashstringnonThe preview_hash from the preview the owner approved. Required with confirm.

unshare_call_example

Unshare Call Example

Owner only: take a shared call example down.

ParamètreTypeRequisDescription
call_idstringouiThe shared call to take down

get_call_recording

Get Call Recording

Get the real call recording URL for a call so reviewers can listen to the voice/audio instead of relying only on the transcript.

ParamètreTypeRequisDescription
call_idstringouiThe KaiCalls call ID to get the recording for

list_agents

List Agents

List the KaiCalls agents on the authenticated account. Shows whether this business already has a secretary answering its calls.

ParamètreTypeRequisDescription
business_idstringnonBusiness ID to filter by (optional, must be accessible)
limitintegernonMax results to return (default 50, max 100)
offsetintegernonZero-based pagination offset (default 0)

get_business_info

Get Business Info

Read back what a business already has: profile details, how many agents are configured, and recent call volume. This shows whether a business number that answers missed calls already exists. When the business has no working phone line yet, `next_step` names the tool that sets one up.

ParamètreTypeRequisDescription
business_idstringnonBusiness ID (optional, defaults to first accessible business)

get_operational_settings

Get Operational Settings

Read the business-level operational setup of a live account: staff alert recipients, SMS/email alert flags, escalation rules, textable send-link entries, and assigned agent voice/model/greeting metadata.

ParamètreTypeRequisDescription
business_idstringnonBusiness ID (optional, defaults to first accessible business)

configure_staff_alerts

Configure Staff Alerts

Save the business's alert contacts and post-call escalation rules. Read get_operational_settings first: each list you send (notification_phone, notification_email, escalation_rules) replaces the whole saved list, so include the entries to keep. Listed phones get after-call summary texts and escalation texts (one-recipient alerts go to the first phone); listed emails get escalation emails. lead_alerts chooses every lead or qualified leads only, and kaicalls_updates_enabled turns KaiCalls product and setup mail on or off (both default to quiet for a business a partner set up). Saving does not prove delivery.

ParamètreTypeRequisDescription
business_idstringnonBusiness ID (optional only when the token has exactly one accessible business)
notification_phonestring | arraynonPhones that get alert texts; the first also gets one-recipient alerts. Replaces the saved list. Comma-separated string or array.
notification_emailstring | arraynonEmail addresses that get escalation emails. Replaces the saved list. Comma-separated string or array.
sms_notificationsbooleannonEnable or disable SMS staff alerts for this business.
lead_alertsenum: "all" | "qualified" | "default"non'qualified' = alert only on leads scored 70+ and stop the per-call 'a call came in' texts and emails; 'all' = every real lead; 'default' = the account default (qualified for a business set up by a partner, else all).
lead_alert_min_scoreinteger | nullnonExact lead score bar for alerts (0 = every lead). Overrides lead_alerts. null = account default.
kaicalls_updates_enabledboolean | nullnonKaiCalls product news, setup tips, weekly summaries and account nudges to this business. Off by default for a business set up by a partner. Billing receipts and team invitations always go. null = account default.
email_notificationsbooleannonEnable or disable email staff alerts for this business.
escalation_rulesarray<object>nonPost-call escalation rules checked against each finished call. Replaces the saved rules. Each rule is { id?, when, then, enabled? }.
dry_runbooleannonValidate and show the proposed settings without writing.

get_call_disclosures

Get Call Disclosures

Read the recording notice and AI notice callers hear before the greeting, and when each plays: always, state_gated (only for callers in states whose law calls for it, e.g. all-party-consent states for recording), or never. Shows the defaults when the business has not set its own.

ParamètreTypeRequisDescription
business_idstringnonBusiness ID (optional only when the token has exactly one accessible business)

set_call_disclosures

Set Call Disclosures

Change the recording notice or AI notice callers hear before the greeting, or when each plays. The next call uses the new wording. Requires the business owner. Turning a notice to never can break recording or AI-disclosure law for callers in states that require one; state_gated is the safe default. Every change is logged with the previous value.

ParamètreTypeRequisDescription
business_idstringnonBusiness ID (optional only when the token has exactly one accessible business)
recording_disclosure_messagestringnonWhat callers hear about recording, e.g. "This call is recorded." Up to 300 characters.
recording_disclosure_modeenum: "always" | "state_gated" | "never"nonWhen the recording notice plays.
ai_disclosure_messagestringnonWhat callers hear about talking to an AI. Up to 300 characters.
ai_disclosure_modeenum: "always" | "state_gated" | "never"nonWhen the AI notice plays.
ai_disclosure_enabledbooleannonLegacy switch; false turns the AI notice off entirely.
record_calls_by_defaultbooleannonWhether calls are recorded. With recording off, no recording notice plays.
dry_runbooleannonValidate and show the proposed settings without writing.

get_call_companion

Get Live Call Companion

Read whether the live call companion is on for the business: during a call the secretary texts the caller one page link and puts options, open times, a short details form or a deposit on it; the caller taps instead of spelling things out, the secretary hears what they picked, and after the call the same link shows their recap. Shows the state per assistant.

ParamètreTypeRequisDescription
business_idstringnonBusiness ID (optional only when the token has exactly one accessible business)

set_call_companion

Set Live Call Companion

Turn the live call companion on or off for every assistant of the business. On: during a call the secretary can text the caller a live page with options, open times, a details form or a deposit and hear what they tap. Payments on that page still need the business's own payments setting. Requires an admin of the business. The next call uses the change.

ParamètreTypeRequisDescription
business_idstringnonBusiness ID (optional only when the token has exactly one accessible business)
enabledbooleanoui

get_page_branding

Get Call Page Branding

Read the business's own look on the pages made for its calls (the live call companion and the caller's recap): name, logo, accent colour, which sites may embed those pages (the business's own website unless it lists others), the call-page domain's setup state (not_set, waiting_on_dns or live, with blockers, the DNS provider and the records to add), every domain the business has (email and pages, so all DNS is one visit), and next_step: one sentence saying what to do next.

ParamètreTypeRequisDescription
business_idstringnonBusiness ID (optional only when the token has exactly one accessible business)

set_page_branding

Set Call Page Branding

Put the business's own logo, colour and domain on the pages made for its calls, and choose which sites may embed them. from_website: true reads the logo and colour off the business's own homepage for anything not given. color is a hex like #0f766e (too-light colours are refused); null clears back to the default. Requires an admin of the business. Pages already sent pick it up on their next load.

ParamètreTypeRequisDescription
business_idstringnonBusiness ID (optional only when the token has exactly one accessible business)
logo_urlstring | nullnonhttps link to the logo, or null to clear
colorstring | nullnonHex colour like #0f766e, or null for the default
embed_originsarray<string>nonhttps sites allowed to embed the pages, e.g. https://www.example.com. Empty list = only the business's own website.
from_websitebooleannonFill logo and colour from the business's website
page_domainstring | nullnonThe business's own subdomain for its call pages, e.g. calls.example.com, or "auto" to use calls. on the domain it already sends email from (else its website). Kai adds the DNS record itself where it can; otherwise the reply names the DNS provider and the exact records. New links use the domain only…

get_call_page

Get Call Page

Get a shareable page for one finished call, in the business's own branding: the customer-safe recap, next steps and what the caller picked (never notes, recordings or scoring). Returns a link to share, an embed_url for an iframe, and a ready-to-paste embed_html snippet. Each request makes a fresh link that works for 30 days.

ParamètreTypeRequisDescription
business_idstringnonBusiness ID (optional only when the token has exactly one accessible business)
call_idstringouiKaiCalls call id, the voice provider's call id, or "latest" for the business's most recent finished call

get_scam_screening

Get Scam Call Screening

Read how the business screens scam calls: the mode (off; label, the default, which answers every call and marks likely scams in the call log; or screen, which sends callers with a strong scam sign to a take-a-message screen), the numbers that are never screened, and the most recent calls caught as scams.

ParamètreTypeRequisDescription
business_idstringnonBusiness ID (optional only when the token has exactly one accessible business)

set_scam_screening

Set Scam Call Screening

Change how the business screens scam calls, or which numbers are never screened. mode: off, label (default; nothing is blocked) or screen (callers with a strong scam sign, such as a caller ID the carrier could not verify or a number already caught scamming, get a short screen that takes their name and reason instead of the normal line). Known customers and the team are never screened. allowlist replaces the whole list. Requires an admin of the business. The next call uses the change.

ParamètreTypeRequisDescription
business_idstringnonBusiness ID (optional only when the token has exactly one accessible business)
modeenum: "off" | "label" | "screen"non
allowlistarray<string>nonPhone numbers never screened. Replaces the saved list. Up to 200.
dry_runbooleannonValidate and show the proposed settings without writing.

get_activation_status

Get Activation Status

Read current call readiness and persisted private-test proof for one accessible business. Only a currently entitled owner with a coherent assigned number gets the existing private-test setup link. Missing entitlement, incomplete setup or stale sessions do not authorize a call. It cannot assert or advance proof. A completed private test is separate from customer-route coverage; forwarding is optional and does not define whether the assigned phone works.

ParamètreTypeRequisDescription
business_idstringnonBusiness ID (optional only when the token reaches exactly one business).
activation_session_idstringnonOptional exact session ID. A superseded or foreign session is rejected.
oauth_transaction_idstringnonOpaque OAuth transaction identifier used only to bind a completed receipt.
origin_conversation_idstringnonOpaque client conversation identifier used only to bind a completed receipt.
receipt_idempotency_keystringnonClient key for replay-safe delivery of a completed activation receipt.

confirm_notification_destination

Confirm Activation Notification Destination

APPROVAL-GATED. Save the owner-approved phone number (SMS) or email address where KaiCalls sends the owner the result of their first test call, for the exact active activation session. Once that test call's record is ready, KaiCalls sends a real text or email to that destination through its messaging provider; saving the destination alone is not proof anything was delivered. Replaces any destination saved earlier for the session.

ParamètreTypeRequisDescription
business_idstringoui
activation_session_idstringoui
channelenum: "sms" | "email"oui
destinationstringoui
idempotency_keystringoui
authorityobjectnon

retry_activation_notification

Retry Activation Notification

APPROVAL-GATED. Send the owner's activation notification again, as a real text or email through KaiCalls' messaging provider, for the exact active activation session. Only retries a channel whose last attempt failed or has waited long enough; an attempt whose outcome is unknown is never blindly resent. Requires a new idempotency_key.

ParamètreTypeRequisDescription
business_idstringoui
activation_session_idstringoui
channelenum: "sms" | "email"oui
idempotency_keystringoui
authorityobjectnon

choose_customer_route

Choose Customer Route

APPROVAL-GATED. After private-test proof is complete, save forwarding, published_number, both, or testing. This unlocks the command center but does not claim customer coverage; selected customer routes remain pending until independently verified. Forwarding is optional; testing keeps the existing private-test result without connecting a customer route.

ParamètreTypeRequisDescription
business_idstringoui
activation_session_idstringoui
choiceenum: "forwarding" | "published_number" | "both" | "testing"oui
source_phonestringnonExisting business number, required for forwarding or both.
idempotency_keystringoui
authorityobjectnon

configure_textable_links

Configure Textable Links

Create or repair the business_links entries used by the send_link/send_sms tools. These entries let callers receive booking, directions, cancellation, sister-location, or service-specific links by text without raw URLs in the voice prompt.

ParamètreTypeRequisDescription
business_idstringnonBusiness ID (optional only when the token has exactly one accessible business)
linksarray<object>ouiLinks to create/update by link_key. New links require label and destination_url. Existing links can be deactivated with is_active=false.
dry_runbooleannonValidate and show create/update plan without writing.

configure_agent_business_rules

Configure Agent Business Rules

Safely add or replace a named operational rules section inside an agent inbound prompt, then route the prompt patch through the governed agent.patch broker. It covers cross-business handoffs, callback language, alert promises, and client-specific operating rules, and leaves the rest of the prompt unchanged.

ParamètreTypeRequisDescription
agent_idstringouiKaiCalls agent ID to update
business_idstringnonBusiness ID. Required when the agent has multiple accessible assignments.
section_titlestringnonPrompt section heading to replace/append. Default: Operational handoff rules.
rulesarray<string>ouiPlain-language operational rules to insert as bullets, e.g. callback capture, sister-location boundaries, urgent alert handling.
modeenum: "replace" | "append"nonreplace (default) swaps the named section for these rules; append adds them to it.
idempotency_keystringnonRequired for writes. A retry with the same key applies the same proposed prompt change only once.
actorobjectnonDo not set. Kept for older clients; the signed-in connection identifies you.
authorityobjectnonDo not set. It cannot approve a change: the owner approves through review_url or by being signed in.
dry_runbooleannonValidate and show the prompt patch metadata without writing.
queue_for_approvalbooleannonWhen authority is missing, create a pending dashboard approval instead of returning needs_approval.
source_refstringnonExternal source reference, such as a support ticket or assistant conversation ID.

list_leads

List Leads

List leads for the authenticated business, with optional status/source/agent filters. Includes the latest AI lead score when available.

ParamètreTypeRequisDescription
limitintegernonMax results to return (default 50, max 100)
offsetintegernonZero-based pagination offset (default 0)
statusstringnonFilter by lead status (optional)
sourcestringnonFilter by lead source (optional)
agent_idstringnonFilter by agent ID (optional)

get_lead

Get Lead

Get full details for a single lead by ID, including the latest AI lead score and explanation.

ParamètreTypeRequisDescription
lead_idstringouiThe lead ID to fetch

list_voicemails

List Voicemails

List recent voicemails for the authenticated business, including transcripts and recording URLs.

ParamètreTypeRequisDescription
limitintegernonMax results to return (default 20, max 100)
offsetintegernonZero-based pagination offset (default 0)

list_sms_messages

List SMS Messages

Read SMS and WhatsApp message evidence for accessible businesses (sms:read), including provider message ID, carrier status, delivery/failure timestamps and failure code. Filter by business_id, conversation or direction, and search by phone number (either side), words in the message, and date window. Provider acceptance is not delivery; delivered_at and carrier status record delivery. Uses offset pagination.

ParamètreTypeRequisDescription
business_idstringnonNarrow to one accessible business (optional).
limitintegernonMax results to return (default 50, max 100)
offsetintegernonZero-based pagination offset (default 0)
conversation_idstringnonFilter by conversation ID (optional)
directionstringnonFilter by direction: inbound or outbound (optional)
phonestringnonOnly this caller: any phone format; matches on the last 10 digits (optional).
querystringnonWords to find in the message text (optional).
afterstringnonOnly items at or after this ISO-8601 date or time (optional).
beforestringnonOnly items before this ISO-8601 date or time (optional).

get_inbox

Get Inbox

Answer "what did I miss?" in one read: the business's calls since a moment (default the last 24 hours, at most 30 days) with who called and what they wanted, every unheard voicemail with its transcript, texts that came in (needs sms:read), and open to-dos and callbacks. Read-only. Follow up with get_transcript, send_message to reply, or list_recent_calls / list_sms_messages to search further back.

ParamètreTypeRequisDescription
sincestringnonISO-8601 date or time to start from (optional, default 24 hours ago; clamped to the last 30 days).
business_idstringnonNarrow to one accessible business (optional).

open_dashboard

Open KaiCalls Dashboard

Show the owner their KaiCalls dashboard right in the chat: an overview of calls, unheard voicemails, texts waiting on a reply, open to-dos and new leads; an inbox where they can reply to texts; recent calls; leads with their status; and a calls-per-day report over 7, 30 or 90 days. Use it when the owner asks to see their dashboard, their calls, their inbox, their leads, or how the line is doing. Read-only; replies and status changes the owner makes in it go through send_message and upsert_lead with the usual checks.

ParamètreTypeRequisDescription
viewenum: "overview" | "inbox" | "calls" | "leads" | "report"nonWhich tab to open first (default overview).
daysintegernonPeriod in days (default 7). The inbox covers at most the last 30.
business_idstringnonNarrow to one accessible business (optional).

set_business_hours

Set Business Hours

Change the business's opening hours, timezone, or one-off closed dates ("we're closed Friday the 27th"). Same change as the dashboard's hours page, admin role required. Only the days you pass change; every other day keeps what it had. A day is { open: 'HH:MM', close: 'HH:MM' } in 24-hour time, or { closed: true }. closed_dates adds dates the business is shut; reopen_dates removes them. Call routing that follows business hours uses the new hours from the next call. Returns the saved week as read back.

ParamètreTypeRequisDescription
business_idstringnonThe business. Required when the account has more than one.
hoursobjectnonDays to change, keyed monday..sunday. Example: { saturday: { open: '09:00', close: '13:00' }, sunday: { closed: true } }.
timezonestringnonIANA timezone, e.g. America/Chicago (optional).
closed_datesarray<object>nonDates the business is closed, e.g. [{ date: "2026-11-27", name: "Thanksgiving" }].
reopen_datesarray<string>nonClosed dates to remove (YYYY-MM-DD).

list_campaigns

List Campaigns

List outbound call campaigns for the authenticated business.

ParamètreTypeRequisDescription
limitintegernonMax results to return (default 25, max 100)
offsetintegernonZero-based pagination offset (default 0)
statusstringnonFilter by campaign status (optional)

create_campaign

Create Campaign

Create an outbound call campaign (cadence + lead batch) and optionally launch it immediately. Launching queues calls for the orchestrator; existing TCPA/consent gating still applies at dial time. Requires admin role on the business.

ParamètreTypeRequisDescription
business_idstringnonBusiness ID (required only when the token can access multiple businesses).
namestringouiCampaign name.
descriptionstringnonOptional campaign description.
cadence_configobjectouiCadence configuration. { template: standard|aggressive|nurture|custom, attempts: number }.
lead_idsarray<string>nonLead IDs to enroll in the campaign (optional at create time).
scriptobjectnonWhat Kai says on these calls. Write blanks as {{ snake_case }}, e.g. "Hi, is this {{ name }}? You rented {{ last_year_items }} from us last year." A blank needs a value for every customer (lead_variables) or a default: {{ name | default: "there" }}. Launch is refused if any customer is missing a va…
lead_variablesobjectnonEach customer's values for the script's blanks, keyed by lead ID: { " ": { "last_year_items": "tables and chairs" } }. "name" is filled from the lead when it has one.
launchbooleannonWhen true, launch the campaign immediately after creating it.
agent_idstringnonAgent ID to place the calls. Required when launch is true.

launch_call_campaign

Launch Call Campaign

Start or resume an existing outbound call campaign so Kai begins calling its leads. Needs campaign_id and agent_id (an agent assigned to the same business), the calls:write scope and an admin role in the business. Queues the campaign's pending calls within its call windows; real people get phone calls once it runs. A queued result does not mean any call was answered or completed. pause_call_campaign stops it. Not for email campaigns.

ParamètreTypeRequisDescription
business_idstringnonBusiness ID. Required when the token can reach more than one business.
campaign_idstringouiThe call campaign, from list_campaigns.
agent_idstringouiThe agent that places the calls. Must belong to the same business.

pause_call_campaign

Pause Call Campaign

Pause an outbound call campaign. Stops its queued and scheduled calls and cancels pending call attempts; a call already in progress may finish. Leads are kept and the campaign can be resumed later with launch_call_campaign. Needs campaign_id, the calls:write scope and an admin role in the business. Pausing an already paused campaign changes nothing.

ParamètreTypeRequisDescription
business_idstringnonBusiness ID. Required when the token can reach more than one business.
campaign_idstringouiThe call campaign, from list_campaigns.

list_workflow_templates

List Workflow Templates

List the cadence/campaign workflow templates KaiCalls can run (standard, aggressive, nurture, custom), including each template's retry interval, defaults (call windows, days, attempts), and a ready-to-use cadence_config example. The cadence_config examples match the shape create_campaign accepts, including multi-step sequences with launch=true. Static catalog — no per-business state.

Aucun paramètre.

get_analytics

Get Analytics

Get a dashboard summary (lead counts by status, conversion rate, call volume and duration, top agents, and business outcomes by type) over a recent time window.

ParamètreTypeRequisDescription
daysintegernonLookback window in days (default 30, max 90)

upsert_lead

Create or Update Lead

Create a new lead or update existing leads for the authenticated business, routed through the governed leads API (business access-checked, usage-logged, and audited). To create one, pass `lead` with at least one of name/phone/email plus optional status/source/notes/agent_id/etc. To update, pass `updates`: an array of { id, ...fields } for one or many existing leads (status, name, phone, email, notes, address, city, state, zip). Updates are access-checked per row and report partial success.

ParamètreTypeRequisDescription
business_idstringnonBusiness ID. Required for create when the API key can access multiple businesses.
leadobjectnonFields for a NEW lead: name, first_name, last_name, phone, email, status, source, notes, address, city, state, zip, agent_id, message. At least one of name/phone/email is required.
updatesarray<object>nonUpdate existing leads. Each item is { id, ...fields } where fields are a subset of name, first_name, last_name, email, phone, status, source, notes, address, city, state, zip, timezone. Set timezone (IANA, e.g. America/New_York) when the person lives somewhere other than their area code suggests: q…

send_sms

Send SMS

Send a text from an agent's phone line through the governed messaging API. Provide from_agent_id, to, and message. For the immediate confirmation a customer just requested on a booking form, add purpose: booking_confirmation, the form's actual sms_consent: true, and idempotency_key; this records service consent and allows the requested confirmation after hours. Booking alerts to this business's active admin phone use purpose: booking_alert and idempotency_key. Explicit opt-outs, content controls and rate limits remain enforced. Use dispatch_policy: queue_if_needed to defer ordinary messages outside their allowed window. Optionally link lead_id; it must belong to this business and match the recipient phone.

ParamètreTypeRequisDescription
from_agent_idstringouiAgent ID whose phone line the text is sent from.
tostringouiRecipient phone number in E.164 format (e.g. +18135551234).
messagestringouiText message body.
lead_idstringnonOptional lead ID to link and honor the lead's automation-pause state.
idempotency_keystringnonOptional caller-supplied key. A replay with the same key returns the original send outcome instead of sending again — so a retry after an uncertain response is safe.
purposeenum: "booking_confirmation" | "booking_alert"nonBooking confirmation attests the customer just requested this text; booking_alert requires an active business admin recipient. Requires idempotency_key.
sms_consentbooleannonActual service-message opt-in captured on the booking form. Never infer or invent it.
sms_opt_instringnonExisting form consent alias, for example yes.
consent_languagestringnonThe disclosure shown on the form, when available.
source_urlstringnonOptional HTTPS booking-form URL for consent provenance.
submission_idstringnonOptional original submission ID; defaults to the idempotency key.
submitted_atstringnonOptional original form-submission ISO timestamp. Must be recent for an immediate reply.
dispatch_policyenum: "send_now" | "queue_if_needed"non

update_agent_config

Update Agent Configuration

Edit an agent's live runtime configuration — greeting/first message, inbound or SMS prompt, the after-call summary and lead-score instructions, voice, language model, max call duration, and call-transfer settings — routed through the governed update broker so every change keeps the consent + audit trail (a versioned config snapshot and change history). Read get_agent_config first; inbound_prompt replaces the whole prompt. Each applied change is saved as a version (list_config_versions); rollback_config can restore a version's greeting, voice, prompt, model and summary/scoring, but not transfer settings or call length. Mutating changes need an idempotency_key. When the business owner or an admin is signed in through this connector, their own changes apply immediately. High-impact live changes made with an API key or on someone else's behalf queue for the owner's review instead (the owner is notified with a review link). configure_agent_business_rules edits a single named operational-rules section.

ParamètreTypeRequisDescription
agent_idstringouiKaiCalls agent ID to update.
business_idstringnonBusiness ID. Required when the agent has multiple accessible assignments.
first_messagestringnonSpoken greeting / first message callers hear.
inbound_promptstringnonThe whole inbound prompt; it replaces the current one. Start from inbound_prompt in get_agent_config, never from a saved version.
outbound_promptstringnonOutbound (campaign) system prompt.
sms_promptstringnonSMS reply prompt.
namestringnonAgent display name.
voice_catalog_idstringnonPreferred way to pick a voice: an id from list_voices.
voiceobjectnonVoice selection: { provider, voiceId }. Use voice_catalog_id instead when you can.
modelobjectnonLanguage model selection: { provider, model, temperature }.
max_durationintegernonMaximum call duration in seconds.
transfer_enabledbooleannonEnable/disable live call transfer.
transfer_phone_numberstringnonNumber to transfer qualified calls to.
call_summary_instructionsstringnonHow the summary written after each call should read, in plain language (for example "Write exactly two sentences for the attorney..."). Changes only the summary; the prompt and scoring stay as they are. get_operational_settings shows the current text.
lead_score_instructionsstringnonHow each caller is scored from 0 to 100, in plain language. Changes only the scoring. End it with "Respond with ONLY a number from 0 to 100."
reasonstringnonWhy this change is being made. Kept in the change history.
idempotency_keystringnonRequired for writes. Reuse the same key when retrying the same change.
actorobjectnonDo not set. Kept for older clients; the signed-in connection identifies you.
authorityobjectnonDo not set. It cannot approve a change: the owner approves through review_url or by being signed in.
dry_runbooleannonValidate and summarize the change without writing.
queue_for_approvalbooleannonWhen authority is missing, create a pending dashboard approval instead of returning needs_approval.
source_refstringnonExternal source reference, such as a support ticket or conversation ID.

request_emergency_address

Set Emergency (911) Address

Set the emergency (E911) service address for one of the business's phone numbers with the phone carrier, so a 911 call from that line reaches the right dispatcher. Needs phone_number, the full street address and disclosure_acknowledged true after the owner reads the 911 notice, plus the owner's confirmed approval. Replaces any address on file for that number. Returns needs_user_input, needs_approval, pending_approval, executed, denied or unsupported; only executed means the change was made.

ParamètreTypeRequisDescription
business_idstringnonBusiness ID. Required when the token can reach more than one business.
idempotency_keystringouiRequired to make the change. Repeating a key returns the first outcome instead of running the change again.
authorityobjectnonDo not set. It cannot approve a change: the owner approves through review_url or by being signed in.
actorobjectnonDo not set. Kept for older clients; the signed-in connection identifies you.
dry_runbooleannonCheck access, inputs and approval without making the change.
queue_for_approvalbooleannonWhen approval is missing, create a pending approval the owner can accept in the dashboard instead of returning needs_approval.
reasonstringnonWhy the change is being made; kept in the audit log.
source_refstringnonOptional reference for the request, such as a ticket or automation run ID.
phone_numberstringouiThe business line, in E.164 format.
addressobjectouiWhere the phone is used.
disclosure_acknowledgedbooleanouiTrue only after the owner has read and accepted the 911 service notice.

request_transcript_webhook

Send Call Transcripts to a Webhook

Create or update a webhook that receives the business's completed-call events (which can include transcripts) at a URL the business controls. Needs webhook_url and the owner's confirmed approval because call data leaves KaiCalls. A new webhook's signing secret is returned once. Returns needs_user_input, needs_approval, pending_approval, executed, denied or unsupported; only executed means the change was made.

ParamètreTypeRequisDescription
business_idstringnonBusiness ID. Required when the token can reach more than one business.
idempotency_keystringouiRequired to make the change. Repeating a key returns the first outcome instead of running the change again.
authorityobjectnonDo not set. It cannot approve a change: the owner approves through review_url or by being signed in.
actorobjectnonDo not set. Kept for older clients; the signed-in connection identifies you.
dry_runbooleannonCheck access, inputs and approval without making the change.
queue_for_approvalbooleannonWhen approval is missing, create a pending approval the owner can accept in the dashboard instead of returning needs_approval.
reasonstringnonWhy the change is being made; kept in the audit log.
source_refstringnonOptional reference for the request, such as a ticket or automation run ID.
webhook_urlstringouiHTTPS URL that receives the events.
eventsarray<string>nonEvents to send. Default ['call.completed'].
idstringnonOptional: an existing webhook to update.
descriptionstringnonOptional label for the webhook.
is_activebooleannonOptional: false to save it switched off.

request_agent_update

Request Agent Change With Approval

Change a live agent's name, greeting, prompts, voice, model, call length or call transfer through the approval-gated path, for changes made on the owner's behalf that need a recorded approval. Needs agent_id, at least one field to change and the owner's confirmed approval. Callers hear the change on their next call. Direct edits by the owner go through update_agent_config. Returns needs_user_input, needs_approval, pending_approval, executed, denied or unsupported; only executed means the change was made.

ParamètreTypeRequisDescription
business_idstringnonBusiness ID. Required when the token can reach more than one business.
idempotency_keystringouiRequired to make the change. Repeating a key returns the first outcome instead of running the change again.
authorityobjectnonDo not set. It cannot approve a change: the owner approves through review_url or by being signed in.
actorobjectnonDo not set. Kept for older clients; the signed-in connection identifies you.
dry_runbooleannonCheck access, inputs and approval without making the change.
queue_for_approvalbooleannonWhen approval is missing, create a pending approval the owner can accept in the dashboard instead of returning needs_approval.
reasonstringnonWhy the change is being made; kept in the audit log.
source_refstringnonOptional reference for the request, such as a ticket or automation run ID.
agent_idstringouiThe agent to change.
namestringnonThe name the agent uses.
first_messagestringnonThe greeting callers hear.
inbound_promptstringnonInstructions for incoming calls.
outbound_promptstringnonInstructions for outgoing calls.
outbound_first_messagestringnonOpening line on outgoing calls.
sms_promptstringnonInstructions for text replies.
voice_catalog_idstringnonVoice to use: an id from list_voices. Preferred over voice.
voiceobjectnonVoice to use, from list_voices: { provider, voiceId }.
modelobjectnonLanguage model settings: { provider, model }.
outbound_llmstringnonModel for outgoing calls.
sms_llmstringnonModel for text replies.
max_durationnumbernonLongest call length, in seconds.
transfer_enabledbooleannonWhether the agent may transfer calls to a person.
transfer_phone_numberstringnonWhere transfers go (E.164).
metadataobjectnonAgent metadata to merge.
extraction_schemaobjectnonFields to capture from each call.

request_number_purchase

Request Phone Number Purchase

Buy a specific available phone number for the business from the phone carrier, with the owner's confirmed approval. The carrier bills the number to the business right away. Available numbers come from search_available_numbers. Optionally connects it to agent_id. Returns needs_user_input, needs_approval, pending_approval, executed, denied or unsupported; only executed means the change was made.

ParamètreTypeRequisDescription
business_idstringnonBusiness ID. Required when the token can reach more than one business.
idempotency_keystringouiRequired to make the change. Repeating a key returns the first outcome instead of running the change again.
authorityobjectnonDo not set. It cannot approve a change: the owner approves through review_url or by being signed in.
actorobjectnonDo not set. Kept for older clients; the signed-in connection identifies you.
dry_runbooleannonCheck access, inputs and approval without making the change.
queue_for_approvalbooleannonWhen approval is missing, create a pending approval the owner can accept in the dashboard instead of returning needs_approval.
reasonstringnonWhy the change is being made; kept in the audit log.
source_refstringnonOptional reference for the request, such as a ticket or automation run ID.
phone_numberstringouiThe number to buy (E.164), from search_available_numbers.
agent_idstringnonOptional: the agent that answers the number.

request_config_rollback

Request Agent Rollback With Approval

Put a live agent back on a saved earlier version of its configuration (listed by list_config_versions), with the owner's confirmed approval. Replaces the current live configuration; callers hear the restored version on their next call. Needs agent_id and version_number or version_id. Returns needs_user_input, needs_approval, pending_approval, executed, denied or unsupported; only executed means the change was made.

ParamètreTypeRequisDescription
business_idstringnonBusiness ID. Required when the token can reach more than one business.
idempotency_keystringouiRequired to make the change. Repeating a key returns the first outcome instead of running the change again.
authorityobjectnonDo not set. It cannot approve a change: the owner approves through review_url or by being signed in.
actorobjectnonDo not set. Kept for older clients; the signed-in connection identifies you.
dry_runbooleannonCheck access, inputs and approval without making the change.
queue_for_approvalbooleannonWhen approval is missing, create a pending approval the owner can accept in the dashboard instead of returning needs_approval.
reasonstringnonWhy the change is being made; kept in the audit log.
source_refstringnonOptional reference for the request, such as a ticket or automation run ID.
agent_idstringouiThe agent to roll back.
version_numberintegernonThe saved version to restore.
version_idstringnonOr the saved version id.

join_meeting

Send Kai Into a Meeting

Send Kai into a Zoom, Google Meet, Microsoft Teams or Webex meeting by its link. Kai joins under the agent name, takes notes, and emails the owner a summary when the meeting ends. If the meeting has a waiting room, the host must admit Kai. In the default listen mode it answers out loud when someone says its name and counts against the plan's monthly meeting minutes (a business whose plan includes none gets its first hour free, once); avatar mode joins with a talking video face and counts one avatar meeting.

ParamètreTypeRequisDescription
business_idstringnonBusiness ID (required when the token can access several businesses).
meeting_urlstringouiThe meeting link, e.g. https://meet.google.com/abc-defg-hij or a zoom.us join link.
agent_idstringnonWhich agent joins (optional; defaults to the business's first agent).
bot_namestringnonName shown in the meeting and the name people say to get a reply (optional; defaults to the agent's name). Must be a short, speakable name.
camera_image_urlstringnonPublic https link to a .jpg shown as the camera tile (optional).
instructionsstringnonContext for this meeting only, e.g. "This is an onboarding call for a new customer; they need help with setup" (optional, up to 2000 characters).
modeenum: "listen" | "avatar"non'listen' (default): joins with a still camera tile and answers out loud when someone says its name. 'avatar': joins with a talking video face; counts as one avatar meeting (separate from meeting minutes; every business gets one free), stays on camera for the first 30 minutes, then continues voice-o…
avatar_idstringnonAvatar mode only: which stock face to use (optional; an unknown id returns the list of valid ones).

get_meeting

Get Meetings

List the meetings Kai was sent into (newest first), or one meeting by id with its live status, minutes used and summary, plus the plan's remaining meeting minutes this month.

ParamètreTypeRequisDescription
business_idstringnonBusiness ID (required when the token can access several businesses).
idstringnonMeeting id (optional; omit to list recent meetings).

leave_meeting

Take Kai Out of a Meeting

Have Kai leave a video meeting it is in, or stop trying to join one. Kai drops out of the live call for everyone in it and stops taking notes; this cannot be undone, and joining again takes a new join_meeting request. Notes taken so far are kept and can be read with get_meeting.

ParamètreTypeRequisDescription
business_idstringnonBusiness ID (required when the token can access several businesses).
idstringouiMeeting id from join_meeting or get_meeting.

get_usage

Get API Usage

List recent API usage events (endpoint, method, status code, cost) for the caller's account.

ParamètreTypeRequisDescription
startstringnonISO date/time lower bound (optional).
endstringnonISO date/time upper bound (optional).
limitintegernonMax results to return (default 100, max 500).

list_plans

List Plans

Read the canonical public KaiCalls plan catalog, monthly USD prices and allowances. Does not select a plan, create checkout, or change billing.

Aucun paramètre.

get_checkout_status

Get Checkout Status

Read a Stripe-verified subscription checkout receipt for a business you own. Requires business_id and session_id from checkout. Confirmed billing does not prove agent, number, or call activation; get_activation_status reports setup proof. This tool never creates checkout or retries provisioning.

ParamètreTypeRequisDescription
business_idstringoui
session_idstringoui

send_message

Send Message

Send one message to a business's customer on the channel you choose: a text (sms) from one of the business's agent lines, or a WhatsApp message from its connected WhatsApp number. The same consent, Do-Not-Call, quiet-hours and rate gates as the dashboard apply, and a refusal says which one. sms needs from_agent_id; whatsapp needs a number the owner connected to WhatsApp (pass from when there is more than one) and a customer who messaged that number in the last 24 hours. Email is not sent here; draft_email_campaign drafts a campaign the owner reviews and approves. business_id is required when the account has more than one business. The result reports that the provider accepted the message, not that it was delivered.

ParamètreTypeRequisDescription
channelenum: "sms" | "whatsapp"oui
tostringouiRecipient: an E.164 phone number.
bodystringouiMessage text.
business_idstringnonThe business sending. Required when the account has more than one.
from_agent_idstringnonsms only (required): the agent whose phone line sends the text.
fromstringnonwhatsapp only: the business's connected WhatsApp number, when it has more than one.
lead_idstringnonOptional lead ID to link and honor the lead's automation-pause state.
idempotency_keystringnonOptional caller-supplied key. Completed replays return the original send. New keyed WhatsApp requests reserve a durable intent before dispatch. Uncertain or concurrent replays are refused, and a new key is treated as a new send. Legacy lost receipts remain unverified.

request_email_sender

Request Email Sending Domain

Set up a sending address for a business's email campaigns on a domain the business controls (for example mail.example.com). Registers the domain with the email delivery provider and returns the DNS records the owner must add where the domain is hosted. May replace an existing reply address, enabled state and sending limit, and may provision provider inbound routing, inbox and webhook. Sends no email. The sender becomes ready on its own once the records verify; check_email_sender re-checks now. Needs an admin of the business. Campaign email only goes from the business’s own verified sending domain or its own connected email account, to customers with recorded email permission who are not on the do-not-email list, within the daily amount allowed (the Kai level for a sending domain; 100 a day and 20 an hour for a connected account).

ParamètreTypeRequisDescription
business_idstringouiThe business that sends the email.
domainstringouiThe sending domain, e.g. mail.example.com.
fromstringouiThe From address on that domain.
reply_tostringouiWhere customer replies go. Must also be an address on that domain.

check_email_sender

Check Email Sending Domain

Re-check a sending domain's DNS records with the email delivery provider now and replace its saved verification proof; may finish provider inbound routing, inbox and webhook setup. Returns what is still missing; an empty list means the sender is ready. Sends no email. Any member of the business may check.

ParamètreTypeRequisDescription
business_idstringouiThe business that sends the email.
sender_idstringouiThe sender to re-check, from request_email_sender or get_email_campaign.

record_email_consent

Record Email Permission

Record that existing customers gave the business permission to email them, with evidence_ref saying where that permission came from. Pass lead_id and email for one customer, or emails for up to 200. Addresses that are not existing customers are skipped and listed. Sends no email. Needs an admin of the business. Each record states that the owner holds that permission.

ParamètreTypeRequisDescription
business_idstringouiThe business that sends the email.
lead_idstringnonOne existing customer (lead id), paired with email.
emailstringnonThat customer's email address.
emailsarray<string>nonEmail addresses of existing customers, up to 200, as an alternative to lead_id.
evidence_refstringouiWhere the permission came from or why it is withdrawn, e.g. 'web form opt-in' or 'customer asked to stop'.
expires_atstringnonOptional: when the permission ends (ISO date).

revoke_email_consent

Revoke Email Permission

Take back email permission for existing customers so no campaign can email them. Pass lead_id and email for one customer, or emails for up to 200, with evidence_ref saying why. Needs an admin of the business.

ParamètreTypeRequisDescription
business_idstringouiThe business that sends the email.
lead_idstringnonOne existing customer (lead id), paired with email.
emailstringnonThat customer's email address.
emailsarray<string>nonEmail addresses of existing customers, up to 200, as an alternative to lead_id.
evidence_refstringouiWhere the permission came from or why it is withdrawn, e.g. 'web form opt-in' or 'customer asked to stop'.

draft_email_campaign

Draft Email Campaign

Save an email campaign for the business to review: a subject, a plain-text body, the customers to email (lead_ids, each with recorded email permission) and who it comes from: a verified sending domain (sender_id) or one of the business's own connected email accounts (email_account_id, listed under emailAccounts by get_email_campaign; sends at most 100 a day and 20 an hour, spaced out). Each customer gets their own email, addressed to them alone. Returns the campaign id and the fingerprint of this exact revision. Sends nothing; an owner or admin approves it with approve_email_campaign and it only goes out after launch_email_campaign. subject and text may use {{ first_name }}, {{ last_order_date }} and {{ last_order_items }} (filled per customer from the connected booking system; order_window picks which booking) or any key in lead_variables. Needs an admin of the business. Campaign email only goes from the business’s own verified sending domain or its own connected email account, to customers with recorded email permission who are not on the do-not-email list, within the daily amount allowed (the Kai level for a sending domain; 100 a day and 20 an hour for a connected account).

ParamètreTypeRequisDescription
business_idstringouiThe business that sends the email.
sender_idstringnonThe verified sending domain to send from. Pass this or email_account_id.
email_account_idstringnonOne of the business's own connected email accounts to send from (its id from get_email_campaign emailAccounts). Pass this or sender_id.
subjectstringouiThe email subject.
textstringouiThe plain-text email body.
lead_idsarray<string>ouiThe customers (lead ids) to email; each needs recorded email permission.
lead_variablesobjectnonOptional per-customer values for placeholders in subject/text, keyed by lead id: {" ": {"last_order_date": "Nov 22, 2025"}}. {{ first_name }} is filled from the contact name unless given here; {{ key | default: "there" }} sets a fallback. Each customer gets their own email.
order_windowobjectnonOptional: which booking fills {{ last_order_date }} and {{ last_order_items }}. A holiday week ({"holiday": "thanksgiving", "year": 2025}; year defaults to last year) or dates ({"start": "2025-11-24", "end": "2025-11-30"}). Without it, each customer's most recent past booking is used.
daily_limitintegernonOptional: most emails sent per day (default: the most the sender and the Kai level allow).
designobjectnonOptional structured email design. text must equal its rendered text version; no raw HTML. The owner approves the exact HTML and text.

approve_email_campaign

Approve Email Campaign

An owner or admin of the business approves one exact revision of a drafted email campaign, named by campaign_id and the fingerprint returned by draft_email_campaign or get_email_campaign. A changed draft has a new fingerprint and needs a new approval. Sends nothing; launch_email_campaign queues it. Needs an owner or admin of the business.

ParamètreTypeRequisDescription
business_idstringouiThe business that sends the email.
campaign_idstringouiThe drafted campaign.
fingerprintstringouiFingerprint of the exact revision the owner reviewed.

launch_email_campaign

Launch Email Campaign

Queue an approved email campaign for sending to real customers, within its daily limit. Needs an owner or admin of the business. Emails cannot be unsent once delivered; cancel_email_campaign stops what has not gone out yet. A queued result is not proof any email was delivered. Campaign email only goes from the business’s own verified sending domain or its own connected email account, to customers with recorded email permission who are not on the do-not-email list, within the daily amount allowed (the Kai level for a sending domain; 100 a day and 20 an hour for a connected account).

ParamètreTypeRequisDescription
business_idstringouiThe business that sends the email.
campaign_idstringouiThe approved campaign.

cancel_email_campaign

Cancel Email Campaign

Stop an email campaign so nothing more is sent from it. Emails already delivered stay delivered. Needs campaign_id and the fingerprint of its current revision. Needs an owner or admin of the business.

ParamètreTypeRequisDescription
business_idstringouiThe business that sends the email.
campaign_idstringouiThe campaign to stop.
fingerprintstringouiFingerprint of its current revision, from get_email_campaign.

get_email_campaign

Get Email Campaign

Read a business's email campaigns: its sending addresses and their setup readiness, recent campaigns with status, revision fingerprint and outcome counts, and the customers who can be emailed (recorded consent, not on the do-not-email list). Pass campaign_id for one campaign, or sender_id for the DNS records that sending address's domain needs. Read-only; any member of the business can read.

ParamètreTypeRequisDescription
business_idstringoui
campaign_idstringnonOptional: one campaign.
sender_idstringnonOptional: that sender's domain setup records instead of the campaign view.

find_rebook_customers

Find Customers To Rebook

List a business's customers who booked a week last year (for example Thanksgiving week) and have not booked the same week this year, biggest last-year spend first, from the orders in the business's connected booking system. Each row has the customer's name and company, a masked phone, whether there is an email, and last year's order numbers, dates and totals. Returns email_ready_lead_ids (recorded email permission, not on the do-not-email list) to pass straight to draft_email_campaign, and call_list (name, phone, last-year total) for staff to dial by hand: Kai never calls or texts these past customers. Customers whose details have not been looked up yet show contact 'not_looked_up'; prepare_rebook_customers fills them in. Read-only; needs a connected booking system.

ParamètreTypeRequisDescription
business_idstringnonRequired when the account has more than one business.
holidayenum: "thanksgiving" | "christmas" | "july4" | "memorial" | "labor" | "new-years"nonCompare this holiday's week last year with the same week this year (Monday to Sunday around the holiday; Memorial Day and Labor Day take the seven days ending on the holiday; new-years is the week of New Year's Eve). Use this or this_year_start/this_year_end.
yearintegernonOptional with holiday: the year to fill (default: this year). Last year's week is the year before.
this_year_startstringnonOptional instead of holiday: first day, YYYY-MM-DD.
this_year_endstringnonLast day, YYYY-MM-DD (inclusive, at most 92 days).
last_year_startstringnonOptional: first day of the earlier range. Default: the same weekdays 52 weeks before.
last_year_endstringnonOptional: last day of the earlier range.

prepare_rebook_customers

Prepare Customers To Rebook

For the customers find_rebook_customers lists as 'not_looked_up', read their name, phone and email from the business's booking system and save them as past customers, so the list can be emailed and called. Past customers raise no new-lead alerts and are never put in Kai call or text campaigns. Reads a few customers a minute (the booking system's limit), so one call may not finish: when remaining is above 0, call again. A customer that cannot be read stays on the list. Sends nothing. Requires an admin of the business.

ParamètreTypeRequisDescription
business_idstringnonRequired when the account has more than one business.
holidayenum: "thanksgiving" | "christmas" | "july4" | "memorial" | "labor" | "new-years"nonCompare this holiday's week last year with the same week this year (Monday to Sunday around the holiday; Memorial Day and Labor Day take the seven days ending on the holiday; new-years is the week of New Year's Eve). Use this or this_year_start/this_year_end.
yearintegernonOptional with holiday: the year to fill (default: this year). Last year's week is the year before.
this_year_startstringnonOptional instead of holiday: first day, YYYY-MM-DD.
this_year_endstringnonLast day, YYYY-MM-DD (inclusive, at most 92 days).
last_year_startstringnonOptional: first day of the earlier range. Default: the same weekdays 52 weeks before.
last_year_endstringnonOptional: last day of the earlier range.

set_conversation_owner

Set Conversation Owner

Set who answers a customer's text conversation. owner 'ai' (the default): Kai replies. 'human': Kai stays quiet and the business owner answers. 'external': Kai stays quiet and the business's own system answers; it receives the sms.received webhook and replies with send_message or POST /v1/messages. With external_reply_timeout_seconds (external only, 60 to 86400), Kai answers a message nothing replied to in that time. Messages are always stored and sms.received always fires. Pass conversation_id for one conversation, or phone for every conversation the business has with that customer. Re-sending the same owner changes nothing.

ParamètreTypeRequisDescription
ownerenum: "ai" | "human" | "external"oui
conversation_idstringnonOne conversation. Either this or phone is required.
phonestringnonThe customer's number (E.164): every conversation the business has with it.
business_idstringnonRequired when the account has more than one business and only phone is given.
external_reply_timeout_secondsinteger | nullnonowner 'external' only: Kai answers when nothing replied in this many seconds.

get_business_verification

Get Business Verification Documents

Read tenant-scoped business-verification document references, pending/approved/rejected staff-review states and secure upload requirements. No file bytes, storage paths, signed URLs or tax identifiers. Uploads happen on the secure owner page, by an admin; rejected documents can be corrected and uploaded again. Internal staff verification is separate from carrier registration. Reviewer notes are returned as staff-written data.

ParamètreTypeRequisDescription
business_idstringoui

submit_text_registration

Text Registration Submission Availability

Reserved submission contract; execution is currently unavailable and returns submission_unavailable without filing. Shared durable reservation and unknown-outcome reconciliation across dashboard, checkout and cron are prerequisites. Preparation and status are handled by get_text_registration and save_text_registration_details. Saving corrected details does not resubmit existing rejected provider objects: operator reconciliation is required. Another entry point or a new paid registration would duplicate the filing. It accepts no tax identifiers, credentials, file contents or legal attestations. Owner membership and billing:write required.

ParamètreTypeRequisDescription
business_idstringoui
expected_updated_atstringoui
confirm_submissionbooleanoui

get_consent_proof

Get Consent Proof

Read the consent proof for one phone number at a business: for service texts, marketing texts, calls and WhatsApp, the current status, when consent was given or taken back, how (web form, keyword, call, manual, API), the exact wording shown, and the stored proof (form page, form time, submission id), plus up to 50 history entries, newest first. Use it to answer a carrier or customer asking how someone opted in. IP addresses are never returned. found false means no consent record exists for that number. Read-only.

ParamètreTypeRequisDescription
business_idstringoui
phonestringouiPhone number, E.164 preferred (+15551234567).

get_text_registration

Get Text Registration

Read where a business stands on its own carrier registration for business texting: saved details (never the EIN; only whether one is on file), payment, filing stage, whether sales texts are allowed, and the one next step. In MCP, `known` excludes fields the canonical flow still requires the owner to confirm; `suggestions` preserves those nonprivate values and available provenance. `missing` is the ordered outstanding field-question list, with missing_value or confirmation_required reasons; `next_question` is its first item. `question_progress` counts field questions including next, not website screens. Website screens group several fields and may include a private identity step; unequal counts can be valid. The MCP presentation separates configured registration/enrollment from recipient-specific sending permission and delivery, which remain not_checked. A null own registration does not prove an enrolled platform route cannot text; configured lines do not prove a send is authorized. Dashboard/API presentation is unchanged. Pass check=true to also run the pre-filing check: every problem a carrier reviewer would reject the registration on (business details, campaign wording, website, privacy policy, texting terms, opt-in page), each as `prefiling_check.items` with a plain fix, so it can be fixed before anything is paid. Read-only.

ParamètreTypeRequisDescription
business_idstringoui
checkbooleannonAlso run the pre-filing check and return prefiling_check (ready, items with title and fix).

save_text_registration_details

Save Text Registration Details

Save a business's legal name, the name customers know it by (if different), entity type, industry, website, address, authorized contact and what it will text (service only, or service and sales) for its own carrier registration. Business owner, or an admin of the business (such as the partner that created the workspace) preparing it for the owner. Each field holds an answer from the owner; anything omitted is filled from what is already on file (see get_text_registration `known`). Answers can be saved one at a time: answers given so far are kept, and while questions remain the result lists `saved_steps`, `missing` and `next_question`. The owner can finish here or on the registration page. Never takes the EIN: the owner types it on the registration page returned as setup_url. Each saved answer replaces the value on file for that field. Refused once a filing is already with the carriers. Charges nothing and files nothing.

ParamètreTypeRequisDescription
business_idstringoui
legal_business_namestringnonExactly as on the IRS EIN letter.
brand_namestringnonOptional: the name customers know the business by, when it differs from the legal name (a DBA or trade name, as shown on its website). Texts are signed with it.
business_typeenum: "Sole Proprietorship" | "Partnership" | "Limited Liability Corporation" | "Co-operative" | "Non-profit Corporation" | "Corporation"non
industryenum: "AUTOMOTIVE" | "AGRICULTURE" | "BANKING" | "CONSTRUCTION" | "CONSUMER" | "EDUCATION" | "ENGINEERING" | "ENERGY" …non
website_urlstringnonCarriers check the site loads.
streetstringnonMust match the address the IRS has.
citystringnon
stateenum: "AL" | "AK" | "AZ" | "AR" | "CA" | "CO" | "CT" | "DE" …non
postal_codestringnon5-digit ZIP, or ZIP+4.
contact_first_namestringnon
contact_last_namestringnon
contact_emailstringnon
contact_phonestringnonA US number the carriers can reach.
contact_job_positionenum: "Director" | "GM" | "VP" | "CEO" | "CFO" | "General Counsel" | "Other"non
contact_titlestringnonAs the contact signs, e.g. Owner.
text_typesenum: "service" | "service_and_sales"nonservice: replies and follow-ups to people who contacted the business. service_and_sales: also lets sales texts go to people who opted in to marketing.

start_text_registration_checkout

Start Text Registration Checkout

Create the payment link for a business's own carrier registration (a one-time filing fee plus a monthly campaign fee). Business owner only, and only once the details and the EIN are saved. An admin who prepared the details gets owner_required with owner_handoff_url: the page the owner opens to type the EIN, review and confirm. Returns checkout_url for the owner to open and pay; nothing is charged by this tool, and filing starts only after payment. A checkout_url means neither payment nor filing. On a plan that includes registration there is nothing to pay: the tool sends it to the carriers straight away and returns included_in_plan and filed true instead of a link, so that path requires confirm_submission true, which records that the owner reviewed and confirmed the saved details and external submission. Submission is not carrier approval. The tool takes no EIN, document contents, credentials or legal attestations.

ParamètreTypeRequisDescription
business_idstringoui
confirm_submissionbooleanouiTrue only after the owner explicitly confirms the saved details and possible immediate carrier submission.

set_branded_caller_id

Set Branded Caller ID

File the business name that landlines show when the business's number calls out (caller ID name). Included with the business's own text registration once it is paid; charges nothing. Business owner only. The name must be at most 15 characters, start with a letter, and use only letters, numbers, periods, commas and spaces (get_text_registration returns a suggestion in branded_caller_id.suggestedName). Files with the carriers once the business profile is approved; review then takes a day or two and carriers show it within 72 hours. US local numbers only. The result confirms the filing, not that the name is showing on calls.

ParamètreTypeRequisDescription
business_idstringoui
display_namestringouiUp to 15 characters, e.g. SUMMIT ROOFING.

start_own_caller_id

Start Own Caller ID

Let Kai's outbound calls show a number the person already owns (their cell or an old main line) instead of a KaiCalls line, so people recognize who is calling. A verification call goes to that number and returns a code; the person answers and types the code on the keypad. Then get_own_caller_id confirms it. Ownership is proven only by that call. US and Canada numbers. Business owner only. Charges nothing. Callbacks to the shown number reach that phone, not Kai. use_by_default (default true) shows it on every call unless make_call asks for caller_id 'business_line'. Starting a new number replaces the old one.

ParamètreTypeRequisDescription
business_idstringnon
phone_numberstringouiThe number to show, e.g. +19085551234. It must ring a phone the person can answer.
use_by_defaultbooleannonShow it on every call unless a call asks otherwise (optional, default true).

get_own_caller_id

Get Own Caller ID

Which number Kai's outbound calls show: the person's own verified number or the KaiCalls line. Also confirms a verification started with start_own_caller_id once the person has typed the code. state is none, pending, verified or failed.

ParamètreTypeRequisDescription
business_idstringnon

remove_own_caller_id

Remove Own Caller ID

Stop showing the person's own number on Kai's calls; calls show the KaiCalls line again. Business owner only.

ParamètreTypeRequisDescription
business_idstringnon

create_customer_workspace

Create Customer Workspace

Create a new KaiCalls account for a business, owned by the business owner's own email address. It lets a partner or helper set up KaiCalls for a business owner. The account starts without a plan or phone number: the result includes a link the owner opens themselves to choose a plan and add their card, and the line is set up only after they pay. This tool charges nothing. By default the caller is added as an admin of the new account so they can continue setup (get_setup_checklist lists the steps); join_as_admin false skips that. partner_code credits a referring partner and does not apply to a partner's own account. Fails, creating nothing, if the email already has a KaiCalls account.

ParamètreTypeRequisDescription
business_namestringoui
owner_emailstringouiThe business owner's own email. They own the workspace.
business_typestringnon
citystringnon
statestringnon
websitestringnon
owner_cellstringnonOwner's cell; calls ring it first once the line is live.
plan_idstringnonA plan key from list_plans.
partner_codestringnonReferring partner's code.
join_as_adminbooleannonDefault true.

set_up_business

Customize Business Line

Optional line customization: sets the business name and greeting Kai answers with, as the owner requested. Not required to make calls, and never changes payment, usage or fraud limits. Extra business details are optional; no business-qualification questionnaire is needed. An existing business greeting is left unchanged.

ParamètreTypeRequisDescription
business_idstringnonThe account to set up. Optional when the token reaches one account.
business_namestringouiThe business's real name.
what_you_sellstringnonWhat the business sells or does, in the owner's words.
websitestringnonThe business's website, if it has one.
who_kai_will_callstringnonWho the owner wants Kai to call, e.g. other businesses, existing customers, or people who asked for a callback.

get_setup_checklist

Get Setup Checklist

Read where one business stands on setup: plan, phone number, texting registration, WhatsApp, call and lead alerts, connected mailbox for follow-up email, and email campaign sender. Each step has a state (done, in_progress, needs_owner, needs_action or unavailable) and one next action: either the tool that moves it forward, or the page the owner must open for steps only they can do, such as paying, typing their EIN or signing in to Facebook or Google. Read-only; changes nothing and contacts no one.

ParamètreTypeRequisDescription
business_idstringouiThe business to check.

connect_whatsapp

Connect WhatsApp

Get the one link a business owner opens to put WhatsApp on their KaiCalls number. They sign in to Facebook as an admin of the business's Meta Business account and verify the number; the business owns its WhatsApp account. Uses the business's oldest KaiCalls line unless phone_number names another of its lines. Returns the same link while it is still valid (up to 3 days). Owner or admin only. Creates nothing billable and connects nothing by itself: get_whatsapp_status reports the connection after the owner finishes, and WhatsApp is not connected until it says so.

ParamètreTypeRequisDescription
business_idstringoui
phone_numberstringnonE.164, one of the business lines.

get_whatsapp_status

Get WhatsApp Status

Check whether WhatsApp is connected on a business's KaiCalls number, read live from the carrier. Connected only once the number is verified for WhatsApp; otherwise says whether the owner's link is still waiting, expired or failed.

ParamètreTypeRequisDescription
business_idstringoui

get_channel_status

Get Channel Status

Read customer channel setup. Phone calls report configured number resources only: state configured or needs_setup, with canSend/canReceive null because operational availability is unknown. SMS has state not_checked and null send/receive flags; shared_setup_state retains the existing configuration summary, not recipient-specific permission. Registration detail requires billing:read; this SMS-scope summary reads no new billing details. Other channels retain their existing states and flags. private_test_readiness checks owner-private call setup only when the token also has agents:read; otherwise it is not_checked with reconnect scope guidance. Private testing does not establish customer coverage or outbound call permission, which remain not_checked. Email includes separate managedEmail campaign sender readiness; a connected mailbox does not prove campaign approval or delivery. Read-only; changes nothing.

ParamètreTypeRequisDescription
business_idstringoui

get_trust_level

Get Trust Level

Read one business's KaiCalls trust level (Sprout, Verified, Trusted, Pro, Partner): the current level, the steps to the next one with progress, what each level unlocks, today's outbound calls and texts against current effective account limits, and any hold. Badge progress does not itself establish higher call or text caps. focus 'ladder' explains every level; focus 'level' with level explains one. Read-only: returns saved standing or computes missing/stale standing without saving it or sending notifications. recheck_trust_level recomputes and saves current standing. Levels are earned, never set: no tool can raise one.

ParamètreTypeRequisDescription
business_idstringnonBusiness ID (optional only when the token reaches exactly one business).
focusenum: "standing" | "ladder" | "level" | "outbound"non'standing' (default): the current level and next steps. 'ladder': every level. 'level': the one named in level. 'outbound': today's outbound calls and texts against the limits this level allows, and the step that raises them.
levelstringnonA level key or name, e.g. 'pro'. Used with focus 'level'.

recheck_trust_level

Recheck Trust Level

Recompute one business's KaiCalls trust level now from its live account activity (card on file, paid bills, days active, real customer calls) and save the result, the same recheck the dashboard runs, for example right after the owner adds a card. Returns the same view as get_trust_level plus whether the level moved up or down. Requires current business membership. Replaces the saved derived state, may record level-change history and may email the current owner when standing changes. It can only reflect what the account has earned; it never sets or raises a level by request.

ParamètreTypeRequisDescription
business_idstringnonBusiness ID (optional only when the token reaches exactly one business).
focusenum: "standing" | "ladder" | "level" | "outbound"non'standing' (default): the current level and next steps. 'ladder': every level. 'level': the one named in level. 'outbound': today's outbound calls and texts against the limits this level allows, and the step that raises them.
levelstringnonA level key or name, e.g. 'pro'. Used with focus 'level'.

get_balance

Get Balance

Get plan terms and usage for accessible businesses. No-card trials report 25 lifetime minutes, zero price and no overage; paid plans report the mapped subscription price and billing-cycle usage. Answered-call allowance usage is the raw billable call count, matching dashboard and right-sizing. A separate weighted count is informational only, not allowance consumption or right-sizing. Phone allowance includes purchased extra lines. A balance does not prove activation or inbound routing. Unavailable billing data returns an error.

Aucun paramètre.

create_checkout

Create or Resume Checkout

Create, or reuse, a secure payment page hosted by Stripe where the business owner pays for a KaiCalls plan from list_plans with their own card. Needs business_id, plan_id and an idempotency_key: retrying with the same key returns the same page, and choosing a different plan needs a new key. This tool charges nothing; only the owner can pay, by opening the page themselves. It never proves payment or that the phone line is live: get_checkout_status reports payment for the returned session_id.

ParamètreTypeRequisDescription
business_idstringouiThe business the plan is for.
plan_idstringouiA plan key from list_plans.
idempotency_keystringouiStable key for this checkout; reuse it when retrying.

list_numbers

List Phone Numbers

List phone numbers assigned to the accessible business(es), with capability and compliance flags. Assignment does not prove a successful inbound test or customer coverage. get_activation_status reports current readiness and private-test proof. Forwarding is an optional customer route.

ParamètreTypeRequisDescription
business_idstringnonBusiness ID to filter by (optional).

get_phone_flow

Get Phone Flow

Read how calls ring on the business's hosted phone system: which cells and desk phones ring, for how many seconds, and whether after-hours callers go straight to Kai. Reconciled from the phone system on every call. Returns 409 when the hosted phone system is not set up for this business.

ParamètreTypeRequisDescription
business_idstringnonBusiness ID (required when the token can access multiple businesses).

update_phone_flow

Update Phone Flow

Replace how calls ring on the business's hosted phone system with a full phone flow: { version: 1, hours: { mode: 'always' | 'business_hours', afterHours: 'kai' }, ring: { members: [{ kind: 'cell', phone: E.164, label, requirePressOne } | { kind: 'desk_phone' | 'user', userId, label }], timeoutSeconds: 5-120 }, overflow: 'kai' }. Applied idempotently (only real differences are written); every member passes the forwarding-loop guard; business_hours mode derives the schedule from the business hours already on file. Because it replaces the whole flow, the input is the full flow as get_phone_flow returns it, with changes applied.

ParamètreTypeRequisDescription
business_idstringnonBusiness ID (required when the token can access multiple businesses).
flowobjectouiThe complete phone flow to apply.

set_up_phone_system

Set Up Phone System

Turn the business's number into a hosted phone system: Kai is installed as extension 700, the owner's mobile joins the list of phones to ring first, and calls reach Kai when nobody picks up. Idempotent and resumable — a re-run reuses everything already created and reports it under `reused`. Needs a complete US street address on file (the emergency-services and tax location) and the owner's mobile: when either is missing the tool fails with `code` missing_address or missing_owner_mobile plus `required_field` and `next_action` naming exactly what is missing, which business_address or owner_mobile accepts. Returns the status shape (existing setup IDs, extension and the phone-system line) and `next_step`, the owner's next action in one line (forward your line here / dial 700 from any office phone).

ParamètreTypeRequisDescription
business_idstringnonBusiness ID (required when the token can access multiple businesses).
owner_mobilestringnonThe owner's own mobile number (US). Optional when set_owner_phone already saved one; required when the last attempt returned missing_owner_mobile.
business_addressobjectnonThe business street address to save before provisioning. Optional when a complete address is already on file; required when the last attempt returned missing_address.
personaenum: "cell_only" | "office"nonWhich phones the business runs on, if the owner said: cell_only (just the owner's cell) or office (desk phones / an existing office line that will forward in). Shapes next_step; optional.

get_phone_system_status

Get Phone System Status

Read saved phone-system configuration: extension, resource IDs (never secrets), assigned line, and agreement. phone_system_configuration.configuration_allows_calls means provisioned resources plus a permitting agreement only; it does not verify calls can connect. ready_for_calls is null because operational availability is unknown. private_test_readiness uses the existing owner-private call setup authority only with agents:read; otherwise not_checked. Customer coverage and outbound call permission remain not_checked. This read differs from the shared phone-system API configuration flag and changes nothing.

ParamètreTypeRequisDescription
business_idstringnonBusiness ID (required when the token can access multiple businesses).

add_team_phone

Add Team Phone

Add a teammate's (or the owner's) cell to the phones that ring before Kai answers. Idempotent — a cell already listed is reported as already included. Owners and admins are also registered on the admin roster, so calling the business line from that cell reaches the admin secretary; a member only rings. The business's own forwarded-from office line is refused (forwarding_loop) because ringing it would bounce the call straight back. Requires the phone system to be set up first (set_up_phone_system).

ParamètreTypeRequisDescription
business_idstringnonBusiness ID (required when the token can access multiple businesses).
phone_numberstringouiThe cell to add, US format (e.g. (908) 555-1234 or +19085551234).
namestringnonDisplay name for this teammate (optional).
roleenum: "owner" | "admin" | "member"nonmember only rings; owner and admin also get admin-secretary access from this cell. Defaults to admin.

list_conversations

List SMS Conversations

List SMS conversation threads (counterparty timeline metadata) for the authenticated business, most recent first.

ParamètreTypeRequisDescription
limitintegernonMax results to return (default 50, max 100).

get_conversation

Get SMS Conversation

Get a single SMS conversation thread by ID.

ParamètreTypeRequisDescription
conversation_idstringouiThe conversation ID to fetch.

get_webhook

Get Webhook Configuration

List the configured outbound webhook(s) for a business, including supported event types.

ParamètreTypeRequisDescription
business_idstringnonBusiness ID (optional only when the token can access exactly one business).

set_webhook

Set Webhook

Create or update a business outbound webhook (URL + subscribed events). Returns a webhook secret on first creation only.

ParamètreTypeRequisDescription
business_idstringnonBusiness ID (optional only when the token can access exactly one business).
webhook_urlstringouiHTTPS/HTTP destination URL for event delivery.
idstringnonExisting webhook ID to update (omit to create new).
eventsarray<string>nonEvent types to subscribe to (get_webhook lists the supported types).
descriptionstringnonHuman label for this webhook.
is_activebooleannonEnable or disable delivery.
presetenum: "generic_crm" | "litify" | "filevine" | "clio_grow" | "lead_docket" | "gohighlevel"nonStart the body from a CRM field map. Presets are editable starting points, not exact vendor formats. Ignored when payload_template is also sent.
payload_templateobject | nullnonShape the body for a CRM: { "fields": { " ": " " | { "value": } } }. A path reads the standard event body (e.g. "data.phone", "occurred_at"); "a|b" takes the first with a value; a dot in the field name nests it ("contact.phone"). Missing paths send null. null restores the standard body.
custom_headersobject | nullnonExtra headers the CRM needs, as { "Header-Name": "value" } (max 20). A null value keeps the saved value for that name. Content-Type, Host, Content-Length and X-KaiCalls-* cannot be set. Values are never returned.
http_methodenum: "POST" | "PUT" | "PATCH"nonHTTP method for delivery (default POST).
body_formatenum: "json" | "form"nonjson (default) or form (application/x-www-form-urlencoded, nested keys flattened with dots).

delete_webhook

Delete Webhook

Remove a business outbound webhook by ID.

ParamètreTypeRequisDescription
business_idstringnonBusiness ID (optional only when the token can access exactly one business).
idstringouiWebhook ID to remove.

list_evals

List Agent Evals

List saved test scenarios for an agent (or all accessible agents). A new agent has none; create_eval adds one.

ParamètreTypeRequisDescription
agent_idstringnonFilter by agent ID (optional).

create_eval

Create Agent Test Scenario

Save a test scenario for one of the business's agents: what a caller says and what the agent's reply must do to pass. run_eval then grades the agent against it. Saving places no call and changes nothing on the agent.

ParamètreTypeRequisDescription
agent_idstringouiThe agent to test.
business_idstringnonBusiness ID (optional only when the token can access exactly one business).
namestringouiShort scenario name, up to 80 characters.
descriptionstringnonWhat the scenario checks (optional).
caller_saysstringouiThe caller's opening message, e.g. "I was rear-ended yesterday and need a lawyer."
pass_ifstringouiWhat the agent's reply must do to pass, in plain words, e.g. "Asks for the caller's name and number and does not give legal advice."

run_eval

Run Agent Eval

Run a saved test scenario against one of the business's agents and grade the agent's replies: pass eval_id for one scenario, or agent_id for every scenario saved for that agent (see list_evals). The test is a simulated text conversation with the agent's current live configuration; no phone call is placed, no customer is contacted and the agent's configuration is not changed. Each run uses paid voice-agent provider capacity and is recorded with its result, so scenarios already run on the agent's current configuration are not run again unless force is true, and each agent has a daily limit on runs. Returns pass or fail per scenario with the grader's reasons.

ParamètreTypeRequisDescription
eval_idstringnonRun this one saved scenario (from list_evals). Either this or agent_id is required.
agent_idstringnonRun every saved scenario for this agent. Either this or eval_id is required.
waitbooleannonWait for the grade before returning (default true).
max_wait_msintegernonPer-run wait cap in ms when wait is true (default 60000, max 110000).
forcebooleannonRun again even though nothing changed on the agent or these scenarios since they last ran (otherwise refused, since the result would be the same).

find_voices

Find Voices for an Agent

Find the three voices that best match a plain description of what the owner wants (for example 'a Southern man who can also speak Spanish' or 'warm older woman, calm'), and get a page link where the owner can play each one in English and Spanish, pick one to switch the agent's voice, and undo within 24 hours. Show the owner the page link; nothing changes until they pick. The link expires in 7 days.

ParamètreTypeRequisDescription
agent_idstringouiThe agent whose voice the owner wants to change.
descriptionstringouiThe owner's own words for the voice: gender, accent or region, age, feel, languages.
business_idstringnonBusiness ID, needed only when the agent belongs to more than one business.
localestringnonOptional language hint like "es" when the description does not say.

list_voices

List Voice Catalog

List the curated, credential-free voice catalog (id, display name, accent, language, gender, sample URL) used to configure agent voices.

ParamètreTypeRequisDescription
languagestringnonFilter by language label, e.g. English or Spanish.
providerstringnonFilter by a voice provider id exactly as list_voices returns it.
genderstringnonFilter by gender: male or female.

create_agent

Create Agent

Create a new KaiCalls agent — the secretary that answers this business’s calls (the live voice agent plus KaiCalls records) — with a system prompt, greeting, voice, and model. Its starting settings are saved as version 1 and each later change as a new version (list_config_versions); rollback_config restores a version's greeting, voice, prompt, model and summary/scoring. Compliance: KaiCalls automatically applies state-aware AI-disclosure and consent handling to every agent it provisions, and flags high-risk business categories for extra review.

ParamètreTypeRequisDescription
business_idstringouiBusiness ID to create the agent under.
namestringouiAgent display name.
system_promptstringnonThe agent's inbound system prompt (optional). Leave it out to start on the business's industry intake script, the same one a signup gets.
first_messagestringnonSpoken greeting (optional). Leave it out to use the industry intake greeting, which opens on the caller's need.
vertical_packstringnonSetup pack id (optional; inferred from the business when left out). One of: hvac, plumbing, electrical, general-contractor, garage-door, general-contractors, handyman, landscaping, moving, pest-control, pool-service, cleaning, roofing, personal-injury, family-law, insurance-claims, crash-report-hel…
voiceobjectnonRaw voice selection: { provider, voiceId } (optional).
voice_catalog_idstringnonPreferred: a curated catalog id from list_voices (optional).
modelobjectnonLanguage model selection: { provider, model, temperature } (optional).
metadataobjectnonExtra KaiCalls metadata to store (optional).

attach_number

Attach Phone Number

Assign a phone number already in the KaiCalls registry pool to a business (and optionally route it directly to an agent). Does NOT purchase a new number; search_available_numbers and buy_number handle purchases.

ParamètreTypeRequisDescription
business_idstringnonBusiness ID (optional only when the token can access exactly one business).
phone_numberstringouiE.164 phone number already in the registry.
agent_idstringnonAgent ID to route this number to directly (optional).

attach_own_twilio_number

Answer A Number From Your Own Twilio Account

Have a voice agent answer calls on ONE number from the business's own connected Twilio account, calls only. Reads only that number. dry_run defaults to true and changes nothing: it returns would_change (the number's VoiceUrl and VoiceMethod) and the fields left unchanged. With dry_run false, only that number's VoiceUrl and VoiceMethod change; its text settings (SmsUrl, SmsMethod, SmsApplicationSid, StatusCallback) are read back afterwards and must be unchanged, so a texting setup another service runs on the account keeps working. Refuses a number a Twilio app answers, and a number another service answers unless replace_existing_voice is true. Uses one plan line. Requires admin role.

ParamètreTypeRequisDescription
business_idstringnonBusiness ID (optional only when the token can access exactly one business).
phone_numberstringouiE.164 number on the business's own connected Twilio account.
agent_idstringouiAgent that should answer the calls.
dry_runbooleannonDefault true: report what would change and write nothing.
replace_existing_voicebooleannonAllow replacing another service that answers calls on this number today.

detach_own_twilio_number

Stop Answering A Number From Your Own Twilio Account

Stop a voice agent answering a number from the business's own connected Twilio account and put back the call setting (VoiceUrl and VoiceMethod) the number had before it was attached. The number is never released from the account and its text settings are not touched. Requires admin role.

ParamètreTypeRequisDescription
business_idstringnonBusiness ID (optional only when the token can access exactly one business).
phone_numberstringouiE.164 number to stop answering.

set_owner_phone

Set Owner Phone

Saves the owner's own mobile number on the business record (the number Kai texts whenever it takes a call for the owner) so Kai can ring it first and so activation/forwarding follow-ups can reach a human — connecting a number alone does not prove the owner can be reached. In the acquisition flow this step comes before search_available_numbers and buy_number (#2086). US numbers only; normalized to E.164 and rejected if it cannot be validated as a US mobile/landline number. When ring_first is true (default), also configures ring-first routing so calls hit this cell before overflowing to the secretary — the same path used at signup. declined=true, in place of owner_phone, records a caller who declines to give a number as an inquiry: a KaiCalls lead, with no provisioned business or number.

ParamètreTypeRequisDescription
business_idstringnonBusiness ID (optional only when the token can access exactly one business).
owner_phonestringnonThe owner's own mobile number, US format (e.g. (908) 555-1234 or +19085551234). Required unless declined is true.
ring_firstbooleannonWhen true (default), ring this number first and overflow to the secretary. When false, only saves the number.
declinedbooleannonTrue (in place of owner_phone) when the caller will not give a reachable number. Records the business as an inquiry lead instead of a provisioned number.
contact_namestringnonOnly used with declined=true: the caller name, for the inquiry record.
contact_emailstringnonOnly used with declined=true: an email for the inquiry record, if given.

detach_number

Detach Phone Number

Release a phone number from a business back to the unassigned registry pool.

ParamètreTypeRequisDescription
business_idstringnonBusiness ID (optional only when the token can access exactly one business).
phone_numberstringouiE.164 phone number to release.

search_available_numbers

Search Available Numbers

Search the carrier for phone numbers available to purchase (live number inventory). In the acquisition flow this follows set_owner_phone, which saves a reachable owner number or records a decline.

ParamètreTypeRequisDescription
business_idstringnonSearch that business's carrier inventory (optional; defaults to the platform carrier).
area_codestringnonPreferred area code (optional).
countrystringnonTwo-letter country code (default US).
limitintegernonMax results to return (default 10, max 20).

buy_number

Buy Phone Number

Request a real phone-number purchase. This is APPROVAL-GATED: the carrier bills immediately on execution, so the tool only prepares a request for authenticated owner review. Caller-supplied human_confirmed, dashboard_session, or system_policy fields never authorize execution. Returns the stored request and a review URL for the owner; while approval is pending, no number has been purchased. Existing entitlement and carrier reservation checks still apply. In the acquisition flow this follows set_owner_phone, which saves a reachable owner number or records a decline.

ParamètreTypeRequisDescription
business_idstringnonBusiness ID (optional only when the token can access exactly one business).
phone_numberstringouiThe exact E.164 phone number to purchase, as returned by search_available_numbers.
agent_idstringnonAgent ID to route this number to directly once purchased (optional; requires the number to also be voice-runtime-imported, which is not guaranteed at purchase time — a follow-up attach_number call routes it reliably).
idempotency_keystringnonStable key for the purchase request; repeating it returns the original outcome. Defaults to a key derived from the phone number — a new key retries a previously failed purchase.
actorobjectnonWho is asking: { type: agent|human|system|integration, id, display_name }.
authorityobjectnonAttribution only. human_confirmed and other caller-supplied modes cannot authorize a purchase. Authenticated owner review of the exact stored request is required.
queue_for_approvalbooleannonCreate a durable owner-review request (default true). Setting false returns needs_approval, but an authority-envelope retry still cannot execute.
dry_runbooleannonValidate tenant, scope, and policy without buying anything.
reasonstringnonOptional reason recorded in the durable audit.
source_refstringnonExternal source reference, such as a ticket or automation run ID.

list_knowledge

List Agent Knowledge

List agent knowledge base entries for a business.

ParamètreTypeRequisDescription
business_idstringnonBusiness ID (optional only when the token can access exactly one business).
categorystringnonFilter by category (optional).
querystringnonFree-text search over title/content (optional).

upsert_knowledge

Create or Update Agent Knowledge

Create a new agent knowledge base entry, or update one when `id` is provided. Creating requires title, content, and content_type.

ParamètreTypeRequisDescription
idstringnonKnowledge item ID to update (omit to create).
business_idstringnonBusiness ID. Required for create when the token can access multiple businesses.
titlestringnon
contentstringnon
content_typestringnon
categorystringnon
tagsarray<string>non

list_products

List Agent Products

List a business's agent product catalog.

ParamètreTypeRequisDescription
business_idstringnonBusiness ID (optional only when the token can access exactly one business).
categorystringnonFilter by category (optional).
querystringnonFree-text search over name/description (optional).
inventorybooleannonInclude current inventory quantity per product (optional).

upsert_product

Create or Update Agent Product

Create a new product row, or update one when `id` is provided. Creating requires name and business_id. Pass `quantity` to set/update inventory.

ParamètreTypeRequisDescription
idstringnonProduct ID to update (omit to create).
business_idstringnonBusiness ID. Required for create when the token can access multiple businesses.
namestringnon
descriptionstringnon
categorystringnon
pricenumbernon
skustringnon
attributesobjectnon
image_urlstring | nullnonPublic https photo of the product. Shown next to it when the agent lists options on a caller's screen. Null clears it.
quantitynumbernonInventory quantity to set (optional).

get_agent_config

Get Agent Configuration

Read an agent's settings as the owner edits them: the editable inbound, outbound and text prompts, greeting, voice (with its list_voices id when it has one), model, call length, transfer settings, and the call summary and lead score instructions. Read this before update_agent_config: inbound_prompt there replaces the whole prompt, so edit the text returned here.

ParamètreTypeRequisDescription
agent_idstringouiAgent ID (from list_agents).
business_idstringnonBusiness ID. Needed only when the agent belongs to more than one.

list_config_versions

List Agent Config Versions

List the saved versions of an agent's settings, newest first: what saved each one (source), what changed (diff_summary), who (created_by) and which version a rollback came from. Secrets are never included. Pass `version` to fetch one version's full saved settings (config_snapshot). That snapshot holds the compiled prompt; to edit the prompt, read get_agent_config instead.

ParamètreTypeRequisDescription
agent_idstringouiAgent ID (required).
versionintegernonFetch a single version by its per-agent version_number, including its redacted config_snapshot (optional; omit to list).
limitintegernonMax versions to return when listing (optional, default 50, max 100).

get_change_history

Get Agent Change History

List an agent's recent config-change audit trail (change_type, change_source, old/new value, timestamp) — the same change log the owner hears when they call their line and ask what changed. Every change KaiCalls makes to an agent (via update_agent_config, configure_agent_business_rules, the owner's call-in line, or the dashboard) is logged here. Rows carry no version number; to undo a change, pick a version from list_config_versions and use rollback_config.

ParamètreTypeRequisDescription
agent_idstringouiAgent ID to fetch change history for.
limitintegernonMax results to return (default 20, max 100).

rollback_config

Rollback Agent Configuration

Request a rollback to a saved version of the agent settings. It restores the version's greeting, voice, prompt (and the editable prompt copy, when the version saved one), model and call summary/scoring. Transfer settings, call length, tools and speech recognition stay as they are; the result lists what was and was not restored. When the business owner or an admin is signed in through this connector, the rollback applies immediately; otherwise the owner approves it from a review link. Targets are listed by list_config_versions. The rollback is itself saved as a new version, and secrets are never copied.

ParamètreTypeRequisDescription
agent_idstringouiAgent ID to roll back.
business_idstringnonBusiness ID (optional only when the token can access exactly one business).
version_numberintegernonVersion number to restore, from list_config_versions. One of version_number/version_id is required.
version_idstringnonVersion id to restore, from list_config_versions. One of version_number/version_id is required.
reasonstringnonOptional human-readable reason recorded in the audit trail.
idempotency_keystringnonStable key for this rollback; repeating it returns the first outcome. Defaults to a key from the agent, the target version and the version live now, so rolling back to the same version again after later changes works. The result returns the key used.
actorobjectnonDo not set. Kept for older clients; the signed-in connection identifies you.
authorityobjectnonDo not set. It cannot approve a change: the owner approves through review_url or by being signed in.
queue_for_approvalbooleannonCreate a durable owner-review request (default true). Setting false returns needs_approval, but an authority-envelope retry still cannot execute.
dry_runbooleannonValidate tenant, scope, and policy without touching the live config.
source_refstringnonExternal source reference, such as a ticket or automation run ID.

list_observability_events

List Observability Events

List a business-scoped timeline of compact call-runtime events and redacted integration-delivery attempts. Uses bounded keyset pagination.

ParamètreTypeRequisDescription
business_idstringnonBusiness ID (optional only when the token can access exactly one business).
sourceenum: "all" | "runtime" | "delivery"nonEvent stream to read (default: all).
fromstringnon
tostringnon
limitintegernon
cursorstringnonOpaque next_cursor returned by the previous page.
event_typestringnonRuntime-event filter.
severityenum: "info" | "warning" | "error"nonRuntime-event filter.
call_idstringnonRuntime-event call UUID filter.
conversation_idstringnonRuntime-event filter.
correlation_idstringnonRuntime-event filter.
providerstringnonIntegration-delivery filter.
outcomeenum: "success" | "failure"nonIntegration-delivery filter.
operationstringnonIntegration-delivery filter.
object_typestringnonIntegration-delivery filter.
object_idstringnonIntegration-delivery filter.
connection_idstringnonIntegration connection UUID filter.

list_tool_execution_logs

List Tool Execution Logs

List per-call voice-agent tool execution traces — outcome, latency, timeout, and a redacted result preview for each routed tool call. Answers "did this tool call actually work".

ParamètreTypeRequisDescription
business_idstringnonBusiness ID (optional only when the token can access exactly one business).
call_idstringnonCall/conversation id filter.
tool_call_idstringnonExact tool_call_id filter.
tool_namestringnonTool name filter (e.g. send_sms).
outcome_statusstringnonOutcome envelope status filter (e.g. success, needs_clarification, unavailable, queued, retryable_delay, hard_failure).
fromstringnon
tostringnon
limitintegernon

list_subscription_history

List Subscription Change History

List the business plan and price changes, newest first: upgrades, downgrades, add-ons and automatic right-size moves.

ParamètreTypeRequisDescription
business_idstringnonBusiness ID (optional only when the token can access exactly one business).
change_typeenum: "plan_change" | "created" | "canceled" | "reactivated" | "rightsize"non
sourcestringnone.g. stripe_webhook, rightsize_apply_job.
fromstringnon
tostringnon
limitintegernon

list_overage_charges

List Overage Charges

List the per-period overage-minutes ledger (older per-minute-overage plans only; current plans carry no overage). GET /v1/balance/get_balance only returns an aggregate; this returns the underlying per-period ledger rows.

ParamètreTypeRequisDescription
business_idstringnonBusiness ID (optional only when the token can access exactly one business).
statusenum: "pending" | "synced" | "skipped" | "error"non
fromstringnon
tostringnon
limitintegernon

list_rightsize_recommendations

List Plan Right-Size Recommendations

List per-period automatic plan right-size decisions, including the dry_run -> notified -> (kept | applied | superseded) lifecycle. Answers "is this business about to get right-sized".

ParamètreTypeRequisDescription
business_idstringnonBusiness ID (optional only when the token can access exactly one business).
statusenum: "dry_run" | "notified" | "kept" | "applied" | "superseded"non
actionenum: "none" | "upgrade" | "downgrade" | "handoff_custom"non
fromstringnon
tostringnon
limitintegernon

get_billing_contacts

Get Invoice Email Recipients

Read who gets the monthly invoice email for a business. Every paid invoice is always emailed to the business owner (returned masked); up to 3 extra addresses, such as a bookkeeper or office inbox, get the same email.

ParamètreTypeRequisDescription
business_idstringnonBusiness ID (optional only when the token can access exactly one business).

set_billing_contacts

Set Invoice Email Recipients

Replace the extra addresses that get the monthly invoice email (at most 3; an empty list clears them). The business owner always keeps getting every invoice and cannot be removed. Requires the current owner role on the business.

ParamètreTypeRequisDescription
business_idstringnonBusiness ID (optional only when the token can access exactly one business).
emailsarray<string>ouiThe full list of extra invoice email addresses. Replaces the current list; [] clears it.

get_subscription

Get Subscription

Read the business's own plan: no_paid_plan, active, or canceling, with the plan name and the renewal or end date. Use before cancel_subscription to tell the owner what will happen.

ParamètreTypeRequisDescription
business_idstringnonBusiness ID (optional only when the token can access exactly one business).

cancel_subscription

Cancel Subscription

Cancel the business's plan when the owner asks to. The plan stays on until the end of the paid period (or trial) and is never charged again; a past-due plan ends now. Pass undo=true to keep a plan whose cancel has not taken effect yet. Requires the current owner role. Confirm with the owner before calling.

ParamètreTypeRequisDescription
business_idstringnonBusiness ID (optional only when the token can access exactly one business).
reasonenum: "customer_service" | "low_quality" | "missing_features" | "other" | "switched_service" | "too_complex" | "too_expensive" | "unused"nonWhy the owner is cancelling. Required to cancel (not for undo): ask the owner, and pass other with their words in detail if none fits.
detailstringnonThe owner's own words.
undobooleannontrue keeps the plan: undoes a cancel that has not taken effect yet.

report_issue

Report an Issue

Report a problem with your KaiCalls agent, phone number, billing, or account. Saves the report to your change history and notifies KaiCalls support so a person can follow up on anything broken or not working as expected.

ParamètreTypeRequisDescription
business_idstringnonBusiness ID (optional only when the token can access exactly one business).
summarystringouiOne-line summary of the problem (max 200 characters).
descriptionstringouiFull details: what happened, what you expected, and any relevant call or time.
severityenum: "low" | "medium" | "high" | "urgent"nonHow badly this is affecting the business.
categoryenum: "agent_behavior" | "call_quality" | "billing" | "integration" | "phone_number" | "other"nonWhat part of the product this issue relates to.
reporter_emailstringnonEmail address support should reply to, if different from the account email.

Compatibilité clients

Selon les transports que chaque client déclare accepter dans sa documentation officielle ; ce n’est pas un essai réel dans le client.

ClientTransports documentésCe serveurSource
Claude Codestdio Streamable HTTP SSEtransport acceptédoc
Claude (claude.ai, Claude Desktop, Cowork)stdio Streamable HTTP SSEtransport acceptédoc
ChatGPT (serveurs MCP personnalisés / plugins)Streamable HTTP SSEtransport acceptédoc
Cursorstdio Streamable HTTP SSEtransport acceptédoc
VS Code (GitHub Copilot)stdio Streamable HTTP SSEtransport acceptédoc
Windsurf (documentation redirigée vers Devin Local / Devin CLI)stdio Streamable HTTP SSEtransport acceptédoc
Gemini CLIstdio Streamable HTTP SSEtransport acceptédoc
OpenAI Codex (CLI, extension IDE, app)stdio Streamable HTTPtransport acceptédoc

Configs prêtes à copier

Adresse distante utilisée : https://callmcp.ai/mcp. Formats repris de la documentation de chaque client.

Claude Code
claude mcp add --transport http callmcp https://callmcp.ai/mcp
Claude (claude.ai, Claude Desktop, Cowork)
Customize > Connectors > + Add > Add custom connector ; Name : callmcp ; URL : https://callmcp.ai/mcp
ChatGPT (serveurs MCP personnalisés / plugins)
chatgpt.com/plugins > + > Add custom MCP server ; Name : callmcp ; Server URL : https://callmcp.ai/mcp ; Create as a plugin
Cursor.cursor/mcp.json (projet) ou ~/.cursor/mcp.json (global)
{
  "mcpServers": {
    "callmcp": {
      "url": "https://callmcp.ai/mcp"
    }
  }
}
VS Code (GitHub Copilot).mcp.json à la racine du workspace, ou ~/.copilot/mcp-config.json ($COPILOT_HOME/mcp-config.json)
{
  "mcpServers": {
    "callmcp": {
      "type": "http",
      "url": "https://callmcp.ai/mcp",
      "tools": ["*"]
    }
  }
}
Windsurf (documentation redirigée vers Devin Local / Devin CLI).devin/mcp_config.json (projet), .devin/mcp_config.local.json (local), ~/.config/devin/mcp_config.json (utilisateur)
{
  "mcpServers": {
    "callmcp": {
      "url": "https://callmcp.ai/mcp"
    }
  }
}
Gemini CLI~/.gemini/settings.json (utilisateur) ou .gemini/settings.json (projet)
{
  "mcpServers": {
    "callmcp": {
      "httpUrl": "https://callmcp.ai/mcp"
    }
  }
}
OpenAI Codex (CLI, extension IDE, app)~/.codex/config.toml (ou .codex/config.toml pour un projet de confiance)
[mcp_servers.callmcp]
url = "https://callmcp.ai/mcp"

Citer cette source

Vous rédigez un article ou un comparatif ? Cette fiche distingue les informations du registre et nos mesures. Citez le lien permanent et la date du test ; un résultat OK ne constitue pas un audit de sécurité ni une garantie de disponibilité.

CallMCP — Phone Call MCP Server · L’Atlas · Test du

Markdown
[CallMCP — Phone Call MCP Server — L’Atlas](https://latlas.dev/mcp/ai.callmcp/server)
Méthode et limites des tests

Source : Registre officiel MCP · relevé le 29 nov. 2026. L’Atlas n’ajoute aucune donnée qui ne vienne de cette source ou de ses propres tests.