Skip to main content

API Reference

Endpoints are grouped by resource. Every endpoint requires a Bearer JWT and is scoped to the token's project_id.

Resources​

ResourceDescriptionReference
Authentication & OnboardingLogin, registration, project selection, onboarding.View
LeadsCreate, import, and manage CRM leads; opportunities & pipelines.View
Activities (Timeline)Unified call/note/email/custom activity timeline.View
Custom Fields & MetadataCustom fields, activity types, tags, statuses, outcomes.View
Smart ViewsSaved, filtered lead segments.View
Power DialerAutomated and manual outbound dialing.View
Calls & TelephonyLive calls, phone numbers, Twilio provisioning, terminal.View
Agents & AssistantAI agents, templates, prompts, appointment tooling.View
TasksFollow-up tasks / to-dos.View
JobsSchedule background work such as calls.View
Email & SMSDomains, signatures, templates, files, SMS.View
Dashboards & ReportsDashboards, widgets, and reporting.View
WorkflowsAutomation workflows, runs, triggers, secrets.View
Team & InvitationsTeam members and project invitations.View
BillingStripe subscriptions, checkout, minute balance.View
IntegrationsClose.io, Calendly, sync & import.View
API KeysProgrammatic API keys.View
Email TrackingPublic open/click tracking endpoints.View
About this reference

Every route mounted in the backend (backend-ki-caller/src/main.rs) is listed on the resource pages above, grouped by resource with its method and path. Pages like Add Leads and Create Job add full request/response detail against the standard page template; the remaining endpoints are being expanded to that depth over time. Auto-generated schemas for a subset of routes are also available via the Swagger UI (partial coverage).

Page template​

Each endpoint page follows the same shape so the reference stays consistent:

  1. Endpoint — method + path.
  2. Authentication — always Bearer JWT unless noted.
  3. Request body — JSON schema with an example.
  4. Behavior — validation rules and side effects.
  5. Success response — example envelope.
  6. Error responses — the failure envelopes specific to the endpoint.