Developer Home

Build on Sanka APIs to automate business data, AI enrichment, workflows, logs, and approvals.

Last updated: June 18, 2026

Start here

Sanka APIs help teams automate business operations from external systems. Use them to read and write workspace data such as companies, contacts, orders, invoices, payments, inventory, and tasks, then layer in AI enrichment, company discovery, workflow execution, logs, and approval management with the same Developer API key.Public API v2 is the current public API for external developers. To reduce migration work from v1, Object API endpoints keep the existing structure where possible and move the version prefix to /v2.
i
Public API v1 is deprecated. If you still call /v1/public/..., /v1/enrich, /v1/prospect/companies, or /v1/score, move to the v2 API before June 25, 2026 00:00 UTC. v1 responses now include Deprecation and Sunset headers.
npm install sanka-sdk
import Sanka from "sanka-sdk";

const sanka = new Sanka({ apiKey: "sk_..." });

const orders = await sanka.orders.list({
  page: 1,
  limit: 20,
});

const invoices = await sanka.invoices.list({
  page: 1,
  limit: 20,
});
The API is workspace-scoped. Create a Developer API key in Sanka and send it with HTTP requests as Authorization: Bearer <api_key>.

v2 endpoints

Public API v2 is organized into these API families.
APIMain endpointsUse
AI APIPOST /v2/enrich, POST /v2/scoreEnrich company data and score companies or deals
Object API/v2/public/companies, /v2/public/orders, /v2/public/invoices, and moreCRUD for companies, contacts, orders, invoices, payments, inventory, and related records
Data APIPOST /v2/prospect/companiesDiscover matching company candidates
Workflow API/v2/public/workflows, /v2/public/workflow-runs/...Create, inspect, preview, and run workflows
Governance APIGET /v2/public/logs, /v2/public/approval-requests, /v2/public/approval-rulesReview activity logs, create approval requests, and manage approval rules
Examples:
Bash
GET  https://api.sanka.com/v2/public/orders
POST https://api.sanka.com/v2/public/invoices
POST https://api.sanka.com/v2/enrich
POST https://api.sanka.com/v2/prospect/companies
GET  https://api.sanka.com/v2/public/logs

Getting started

  1. Open Developers → API in Sanka and create an API key.
  2. Install the SDK and make your first request.
  3. Use Object API for record operations, Data API for company discovery, and AI API for enrichment and scoring.

Use with AI agents

Sanka can act as the operating system for working with AI agents. With MCP, agents can inspect orders, create invoices, check approvals, run workflows, and operate on workspace data from natural language.

MCP Server (Claude Code, ChatGPT Codex, and other agents)

The Sanka MCP server already uses Public API v2. The full setup, security, tool list, and local-run instructions live on a dedicated page:If you only need the endpoint quickly:
Text
https://mcp.sanka.com/mcp?apiKey=sk_test_xxx

What's supported

Sanka APIs are built around workspace business data.
  • Read and write business records: create, update, list, and retrieve Companies, Contacts, Orders, Invoices, Payments, Items, Inventories, Tasks, and more
  • Enrich and evaluate data with AI: enrich company records and score company or deal records
  • Discover external data: search for company candidates that match a query or structured filters
  • Run operational workflows: define, preview, start, and inspect workflow runs
  • Govern operations: review workspace activity logs, create approval requests, approve or reject them, and maintain approval rules
See the Object API overview for full record-operation coverage.

Next steps